summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2020-12-17 21:55:55 +0800
committerIru Cai <mytbk920423@gmail.com>2020-12-17 21:55:55 +0800
commitd777d595c1935ab32235360f32e693d2ee1d4bab (patch)
tree55d16cb9dab63a037ceebe5520377408a0ce3394
parentd2833e8ab9a3876b85d98e3994abc2a225bc1f3a (diff)
downloadbroadwell-refcode-d777d595c1935ab32235360f32e693d2ee1d4bab.tar.xz
rename functions
-rw-r--r--broadwell_refcode_librem.asm1848
1 files changed, 924 insertions, 924 deletions
diff --git a/broadwell_refcode_librem.asm b/broadwell_refcode_librem.asm
index 74b681d..1bc75c7 100644
--- a/broadwell_refcode_librem.asm
+++ b/broadwell_refcode_librem.asm
@@ -42,7 +42,7 @@ pop eax
pop edx
push ebx
push 0
-call fcn_0000e020 ; call 0xe020
+call InstallPchInitPpi ; call 0xe020
mov dword [esp], ref_0002069a ; mov dword [esp], 0x2069a
call refcode_printk ; call 0x1545e
pop ecx
@@ -146,7 +146,7 @@ push 0x600
push 0xfffff9ff
lea eax, [ebx + 0x5f00]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
call fcn_00015479 ; call 0x15479
add esp, 0x10
test al, al
@@ -389,21 +389,21 @@ push edi
push edi
push 8
push eax
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
pop eax
mov eax, dword [ebp - 0x20]
pop edx
add eax, 0x20
push 8
push eax
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
mov eax, dword [ebp - 0x20]
pop ecx
pop esi
add eax, 0x29
push 0x21
push eax
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
mov eax, dword [ebp - 0x20]
add esp, 0x10
mov byte [eax + 0x28], 0
@@ -585,7 +585,7 @@ mov eax, dword [ebx + 1]
mov eax, dword [eax + 8]
add eax, 0x71c
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop edx
pop ecx
push 0x2060000
@@ -593,7 +593,7 @@ mov eax, dword [ebx + 1]
mov eax, dword [eax + 8]
add eax, 0x720
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
xor eax, eax
mov ebx, dword [ebp - 4]
leave
@@ -705,7 +705,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0x10
jne short loc_00000668 ; jne 0x668
@@ -745,7 +745,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0x10
jne short loc_000006c2 ; jne 0x6c2
@@ -1045,13 +1045,13 @@ push eax
push 7
lea eax, [ebp - 0x26]
push eax
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
pop eax
pop edx
lea eax, [ebp - 0x1f]
push 7
push eax
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
lea eax, [ebp - 0x30]
push eax
push 0
@@ -1137,7 +1137,7 @@ push 0xa
loc_00000ae4:
lea eax, [esi + 0x5da0]
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
loc_00000af3:
@@ -1146,7 +1146,7 @@ push eax
push 0x80000014
lea eax, [esi + 0x5da4]
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
call fcn_00015479 ; call 0x15479
add esp, 0x10
test al, al
@@ -1170,7 +1170,7 @@ and eax, 0x7f
or eax, 0x80000000
push eax
push esi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
loc_00000b4a:
@@ -1196,7 +1196,7 @@ push ecx
push 5
lea eax, [ebp - 0x2b]
push eax
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
mov al, byte [ebp - 0x41]
pop esi
pop edi
@@ -1223,7 +1223,7 @@ push edi
push 7
lea edi, [ebp - 0x26]
push edi
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
mov al, byte [ebp - 0x41]
mov byte [ebp - 0x20], al
pop eax
@@ -1243,7 +1243,7 @@ push esi
push 7
lea esi, [ebp - 0x1f]
push esi
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
mov al, byte [ebp - 0x41]
add esp, 0x10
cmp byte [ebp - 0x43], 0
@@ -1391,7 +1391,7 @@ call get_pci_dev_base ; call 0x16c9a
mov dword [ebp - 0x1c], eax
add eax, 0xb
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
cmp al, 6
je short loc_00000dd5 ; je 0xdd5
@@ -1401,7 +1401,7 @@ mov eax, dword [ebp - 0x1c]
sub esp, 0xc
lea ebx, [esi + eax]
push ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edi, eax
pop eax
pop edx
@@ -1414,7 +1414,7 @@ push 0xffffffffffffffff
push ebx
call fcn_00018b14 ; call 0x18b14
mov dword [esp], ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
cmp edi, eax
je short loc_00000d96 ; je 0xd96
@@ -1426,14 +1426,14 @@ push ecx
push ecx
push edi
push ebx
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
jmp short loc_00000dcd ; jmp 0xdcd
loc_00000da4:
sub esp, 0xc
push ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, dword [ebp + 0x14]
and eax, 0xfffffff0
sub dword [edx], eax
@@ -1442,7 +1442,7 @@ pop edx
push edi
and edi, 6
push ebx
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
cmp edi, 4
lea eax, [esi + 4]
@@ -1484,14 +1484,14 @@ push dword [ebp - 0x20]
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
mov ebx, eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
je loc_00000e9b ; je 0xe9b
sub esp, 0xc
lea eax, [ebx + 0xa]
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
cmp ax, 0x604
jne short loc_00000e9b ; jne 0xe9b
@@ -1503,7 +1503,7 @@ push eax
push dword [ebp - 0x20]
lea eax, [ebx + 0x18]
push eax
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
movzx edi, byte [ebp - 0x19]
lea eax, [ebx + 0x19]
pop edx
@@ -1511,12 +1511,12 @@ add ebx, 0x1a
pop ecx
push edi
push eax
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
pop eax
pop edx
push 0xff
push ebx
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
add esp, 0xc
push 0
push 0
@@ -1536,7 +1536,7 @@ mov eax, edi
movzx eax, al
push eax
push ebx
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
mov eax, edi
add esp, 0x10
mov byte [ebp - 0x19], al
@@ -1612,7 +1612,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
mov edi, eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
je short loc_00000fba ; je 0xfba
@@ -1621,17 +1621,17 @@ push eax
push esi
lea eax, [edi + 0x18]
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
lea eax, [edi + 0x19]
add edi, 0x1a
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
pop edx
pop ecx
push 0xff
push edi
mov esi, eax
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
add esp, 0xc
mov eax, esi
push 0
@@ -1653,7 +1653,7 @@ pop edx
push esi
inc esi
push edi
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
shl esi, 8
add esp, 0x10
@@ -1681,14 +1681,14 @@ push esi
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
mov edi, eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
je loc_000010a3 ; je 0x10a3
sub esp, 0xc
add edi, 0xe
push edi
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x2a], al
@@ -1703,7 +1703,7 @@ push ebx
push esi
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
je short loc_00001094 ; je 0x1094
@@ -1723,7 +1723,7 @@ push esi
call get_pci_dev_base ; call 0x16c9a
add eax, 0xa
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
cmp ax, 0x300
jne short loc_00001094 ; jne 0x1094
@@ -1769,7 +1769,7 @@ push edi
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
mov esi, eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
jne short loc_000010e9 ; jne 0x10e9
@@ -1790,7 +1790,7 @@ loc_000010e9:
sub esp, 0xc
lea eax, [esi + 0xa]
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
cmp ax, 0x604
jne short loc_000010d6 ; jne 0x10d6
@@ -1799,7 +1799,7 @@ add esi, 0x18
push eax
push 0
push esi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
jmp short loc_000010d6 ; jmp 0x10d6
@@ -1819,7 +1819,7 @@ pop ecx
push 0
add eax, 0x18
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
jmp short loc_00001110 ; jmp 0x1110
@@ -1855,13 +1855,13 @@ lea eax, [ebx + 0x19]
add ebx, 0x1a
push 1
push eax
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
pop ecx
pop esi
lea esi, [ebp - 0x1c]
push 0xff
push ebx
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
add esp, 0xc
push 0
push 0
@@ -1894,7 +1894,7 @@ push ebx
push edi
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
je short loc_00001222 ; je 0x1222
@@ -1913,7 +1913,7 @@ push edi
call get_pci_dev_base ; call 0x16c9a
add eax, 0xa
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
cmp ax, 0x300
je short loc_0000121e ; je 0x121e
@@ -1938,7 +1938,7 @@ push edi
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
mov esi, eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
jne short loc_0000125f ; jne 0x125f
@@ -1961,7 +1961,7 @@ loc_0000125f:
sub esp, 0xc
lea eax, [esi + 0xa]
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
cmp ax, 0x604
jne short loc_00001248 ; jne 0x1248
@@ -1970,7 +1970,7 @@ add esi, 0x18
push eax
push 0
push esi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
jmp short loc_00001248 ; jmp 0x1248
@@ -1985,7 +1985,7 @@ pop ecx
push 0
add eax, 0x18
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov al, byte [ebp - 0x2b]
lea esp, [ebp - 0xc]
pop ebx
@@ -2024,7 +2024,7 @@ mov dword [ebp - 0x48], eax
call get_pci_dev_base ; call 0x16c9a
add eax, 0x54
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0xc
push 0
push 2
@@ -2033,7 +2033,7 @@ mov word [ebp - 0x3c], ax
and word [ebp - 0x3c], 0xe
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
mov byte [ebp - 0x39], 0xff
inc ax
@@ -2066,7 +2066,7 @@ je loc_00001534 ; je 0x1534
sub esp, 0xc
lea eax, [eax + 0xba]
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0x40
je loc_00001534 ; je 0x1534
@@ -2076,7 +2076,7 @@ push 0xff0000ff
lea eax, [esi + 0x18]
push eax
mov dword [ebp - 0x40], eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
pop ecx
pop ebx
mov ebx, dword [ebp - 0x48]
@@ -2084,13 +2084,13 @@ push 0
push ebx
call fcn_00017e04 ; call 0x17e04
mov dword [esp], ebx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
je loc_00001534 ; je 0x1534
sub esp, 0xc
push dword [ebp - 0x54]
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov byte [ebp - 0x44], 0
mov bl, al
@@ -2106,7 +2106,7 @@ push 1
mov dword [ebp - 0x58], edx
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
je short loc_00001418 ; je 0x1418
@@ -2130,7 +2130,7 @@ mov eax, dword [ebp - 0x48]
sub esp, 0xc
add eax, 0xb
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
cmp al, 3
jne short loc_000014b0 ; jne 0x14b0
@@ -2317,7 +2317,7 @@ push edi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x24], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov ecx, eax
@@ -2330,7 +2330,7 @@ je short loc_0000162a ; je 0x162a
sub esp, 0xc
inc ebx
push edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0xc
push 0x3e8
push esi
@@ -2391,7 +2391,7 @@ mov dword [ebp - 0x44], eax
mov eax, ebx
add eax, 0x48
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [ebp - 0x54], eax
call fcn_0001c651 ; call 0x1c651
mov dword [ebp - 0x3c], eax
@@ -2466,7 +2466,7 @@ call fcn_00018927 ; call 0x18927
pop eax
push dword [ebp - 0x44]
mov dword [ebp - 0x34], 0
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
cmp byte [edi], 0x10
mov word [ebp - 0x40], ax
@@ -2553,9 +2553,9 @@ push eax
push eax
push edx
push esi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov dword [esp], esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
pop edx
pop ecx
push 6
@@ -2736,7 +2736,7 @@ push 0xe0
loc_00001a34:
push esi
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
mov eax, dword [edi + 5]
add esp, 0x10
cmp byte [eax + 6], 0
@@ -2895,7 +2895,7 @@ push 0x80000000
push 0xffffffffffffffff
add eax, 0x130040
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp byte [ebp - 0x46], 0
je short loc_00001bfd ; je 0x1bfd
@@ -2920,7 +2920,7 @@ push 0xffffffffffffffff
and esi, 0xfffffffe
lea eax, [esi + 0x5f0c]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov eax, dword [ebp - 0x24]
add esp, 0xc
push 1
@@ -3097,7 +3097,7 @@ add eax, edi
push edx
push 0xf8ffff01
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_00001dbd:
@@ -3112,7 +3112,7 @@ add edi, 4
push eax
push 0xf8
push edi
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
@@ -3173,7 +3173,7 @@ add esi, ebx
loc_00001e37:
sub esp, 0xc
push esi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test al, 2
jne short loc_00001e37 ; jne 0x1e37
@@ -3293,7 +3293,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0x10
je short loc_00001f55 ; je 0x1f55
@@ -3426,7 +3426,7 @@ add esp, 0x10
loc_000020a9:
sub esp, 0xc
push ebx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test ah, 8
jne short loc_000020a9 ; jne 0x20a9
@@ -3444,21 +3444,21 @@ push 0x20000000
push 0xdfffffff
lea eax, [ebx + 0x258]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0xc
push 0x6b5
push 0xfffff800
lea eax, [ebx + 0x208]
add ebx, 0x22c
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
mov dword [ebp + 8], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp + 0x10], 0x2020
mov dword [ebp + 0xc], 0xffff0000
leave
-jmp near fcn_00018b68 ; jmp 0x18b68
+jmp near and_or_32 ; jmp 0x18b68
fcn_0000211b:
push ebp
@@ -3593,7 +3593,7 @@ sub esp, 0xc
mov eax, dword [eax + 4]
add eax, 0x21a4
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
and eax, 0xf
dec al
@@ -3605,7 +3605,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0xe4
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test eax, 0x400000
jne short loc_0000224b ; jne 0x224b
@@ -3631,13 +3631,13 @@ push eax
push 2
push 0xfffffffffffffff0
push dword [ebp - 0x30]
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_000022ef:
sub esp, 0xc
push dword [ebp - 0x30]
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0xc
and eax, 0xf
push eax
@@ -3645,7 +3645,7 @@ mov eax, dword [ebp - 0x2c]
push 0xfffffffffffffff0
add eax, 0x98
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
pop ecx
pop eax
push edi
@@ -3661,7 +3661,7 @@ loc_0000232a:
sub esp, 0xc
xor esi, esi
push ebx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov ebx, eax
call fcn_00015479 ; call 0x15479
add esp, 0x10
@@ -3704,7 +3704,7 @@ jmp near loc_000022d7 ; jmp 0x22d7
loc_000023a3:
sub esp, 0xc
push ebx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
and eax, 0xf
cmp ax, 2
@@ -3728,7 +3728,7 @@ sub esp, 0xc
mov eax, dword [eax + 4]
add eax, 0x21aa
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
and eax, 0xf
cmp ax, 2
@@ -3776,7 +3776,7 @@ mov dword [ebp - 0x1c], eax
call get_pci_dev_base ; call 0x16c9a
add eax, 0x54
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov ebx, eax
call fcn_00015479 ; call 0x15479
shr ebx, 1
@@ -3819,10 +3819,10 @@ mov esi, eax
lea eax, [eax + 0xb2]
add esi, 0x11a
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov dword [esp], esi
mov ebx, eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov esi, eax
call fcn_00015479 ; call 0x15479
add esp, 0x10
@@ -3909,7 +3909,7 @@ mov edi, eax
call get_pci_dev_base ; call 0x16c9a
add eax, 0x54
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, 2
add esp, 0x10
sub edx, ebx
@@ -3921,7 +3921,7 @@ sub esp, 0xc
add edi, 0x11a
push edi
xor esi, esi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
mov edx, eax
shr dx, 1
@@ -3940,7 +3940,7 @@ push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [eax + 4] ; ucall
mov dword [esp], edi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
mov edx, eax
shr dx, 1
@@ -4140,7 +4140,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0x11a
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test al, 2
jne short loc_000027d9 ; jne 0x27d9
@@ -4234,7 +4234,7 @@ call get_pci_dev_base ; call 0x16c9a
mov esi, eax
lea eax, [eax + 0x34]
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
cmp al, 0xff
jne short loc_000028c8 ; jne 0x28c8
@@ -4249,14 +4249,14 @@ sub esp, 0xc
and edi, 0xfc
lea ebx, [edi + esi]
push ebx
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
cmp al, byte [ebp - 0x19]
je short loc_000028ce ; je 0x28ce
sub esp, 0xc
lea edx, [ebx + 1]
push edx
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
loc_000028c8:
@@ -4355,7 +4355,7 @@ add esi, 0x224
push edx
push 0xffffffffffffffe0
push esi
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov eax, dword [ebp - 0x1c]
add esp, 0xc
push 0x3e8
@@ -4434,7 +4434,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00017e8f ; jmp 0x17e8f
+jmp near write32 ; jmp 0x17e8f
fcn_00002a60:
push ebp
@@ -4466,7 +4466,7 @@ add eax, ebx
mov dword [esp], eax
loc_00002a99:
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, dword [ebp + 0x10]
add esp, 0x10
mov edi, dword [ebp + 0x14]
@@ -4501,9 +4501,9 @@ add ebx, eax
loc_00002aea:
push edi
push ebx
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov dword [esp], ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
@@ -4633,7 +4633,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00018b68 ; jmp 0x18b68
+jmp near and_or_32 ; jmp 0x18b68
loc_00002c2f:
lea esp, [ebp - 0xc]
@@ -4745,7 +4745,7 @@ push eax
push 0x80f080f0
push edi
add edi, 4
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp esi, 8
jne short loc_00002cf4 ; jne 0x2cf4
@@ -4781,7 +4781,7 @@ or edx, eax
push edx
push 0x80f080f0
push ecx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
add ecx, 4
@@ -4816,7 +4816,7 @@ push eax
push 0x80f080f0
push edi
add edi, 4
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp esi, 8
jne short loc_00002db9 ; jne 0x2db9
@@ -4858,7 +4858,7 @@ or eax, ecx
push eax
push 0x80f080f0
push edx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
@@ -4886,7 +4886,7 @@ push eax
push 0x80f080f0
lea eax, [edi + edx]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov edx, dword [ebp - 0x1c]
add esp, 0x10
add edx, 4
@@ -4920,7 +4920,7 @@ or eax, ecx
push eax
push 0x80f080f0
push edx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
@@ -4948,7 +4948,7 @@ push eax
push 0x80f080f0
lea eax, [edi + edx]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov edx, dword [ebp - 0x1c]
add esp, 0x10
add edx, 4
@@ -4984,7 +4984,7 @@ push eax
push 0x80f080f0
push edi
add edi, 4
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp esi, 4
mov ecx, dword [ebp - 0x28]
@@ -5024,7 +5024,7 @@ or eax, edx
push eax
push 0x80f080f0
push edi
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [ebp + 0xc]
@@ -5052,7 +5052,7 @@ push 0x80f080f0
add eax, edi
add edi, 4
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp esi, 2
je loc_000031b8 ; je 0x31b8
@@ -5089,7 +5089,7 @@ or eax, edx
push eax
push 0x80f080f0
push edi
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [ebp + 0xc]
@@ -5117,7 +5117,7 @@ push 0x80f080f0
add eax, edi
add edi, 4
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp esi, 2
jne loc_00003104 ; jne 0x3104
@@ -5248,7 +5248,7 @@ mov dword [ebp - 0xc98], eax
lea eax, [ebp - 0xc78]
push 0xc60
push eax
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
add esp, 0x10
cmp ebx, 2
je short loc_000032e9 ; je 0x32e9
@@ -5546,7 +5546,7 @@ push eax
push eax
push 0
push dword [ebp - 0xca0]
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
cmp byte [ebp - 0xc79], 0
je short loc_00003653 ; je 0x3653
@@ -5556,7 +5556,7 @@ mov eax, dword [ebp - 0xc88]
push 0
add eax, 0xc20
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
loc_00003653:
@@ -5568,7 +5568,7 @@ mov eax, dword [ebp - 0xc8c]
push 0
add eax, 0xc20
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
loc_00003674:
@@ -5647,14 +5647,14 @@ push 0
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
mov edi, eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
je short loc_0000377f ; je 0x377f
sub esp, 0xc
add edi, 0x214
push edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test ax, ax
je short loc_0000377f ; je 0x377f
@@ -5743,21 +5743,21 @@ push eax
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
mov esi, eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
je short loc_0000389d ; je 0x389d
sub esp, 0xc
lea eax, [esi + 0x11a]
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test al, 2
je short loc_0000389d ; je 0x389d
sub esp, 0xc
lea eax, [esi + 0xba]
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test al, 0x40
je short loc_0000389d ; je 0x389d
@@ -5959,7 +5959,7 @@ push eax
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
mov esi, eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
je loc_00003b0b ; je 0x3b0b
@@ -5982,7 +5982,7 @@ loc_00003a54:
sub esp, 0xc
lea eax, [esi + 0xac]
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov ebx, eax
and ebx, 0xf
jmp short loc_00003a90 ; jmp 0x3a90
@@ -6039,7 +6039,7 @@ push 0xfffffc00
lea eax, [esi + 0xac]
add esi, 0xd0
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
mov dword [ebp + 0x10], ebx
mov dword [ebp + 8], esi
@@ -6077,16 +6077,16 @@ push 0xffff0000
mov ebx, eax
lea eax, [eax + 0x22c]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0xc
push 0x20000000
push 0xdfffffff
lea eax, [ebx + 0x258]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
lea eax, [ebx + 0x11a]
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test al, 2
jne short loc_00003ba1 ; jne 0x3ba1
@@ -6102,7 +6102,7 @@ add esp, 0x10
loc_00003b90:
sub esp, 0xc
push ebx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test ah, 8
jne short loc_00003b90 ; jne 0x3b90
@@ -6130,20 +6130,20 @@ mov ebx, eax
and ebx, 0xfffffffe
lea eax, [ebx + 0x7400]
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x7404]
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edi, eax
lea eax, [ebx + 0x7408]
add ebx, 0x740c
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [esp], ebx
xor ebx, ebx
mov esi, eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
xor ecx, ecx
@@ -6271,17 +6271,17 @@ and ebx, 0xfffffffe
lea eax, [ebx + 0x7410]
mov dword [esp], eax
mov dword [ebp - 0x48], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edi, eax
lea eax, [ebx + 0x7418]
mov dword [esp], eax
mov dword [ebp - 0x5c], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov esi, eax
lea eax, [ebx + 0x7454]
mov dword [esp], eax
mov dword [ebp - 0x60], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov ebx, eax
call fcn_00015479 ; call 0x15479
add esp, 0x10
@@ -6307,7 +6307,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0xb2
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
and eax, 0x3f0
shr eax, 4
@@ -6324,7 +6324,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0xb2
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
and eax, 0x3f0
shr eax, 4
@@ -6341,7 +6341,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0xb2
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
and eax, 0x3f0
shr eax, 4
@@ -6474,12 +6474,12 @@ push eax
push edi
push 0xfe000000
push dword [ebp - 0x48]
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0xc
push esi
push 0xfe000000
push dword [ebp - 0x5c]
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov eax, dword [ebp - 0x60]
add esp, 0x10
mov dword [ebp + 0x10], ebx
@@ -6490,7 +6490,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00018b68 ; jmp 0x18b68
+jmp near and_or_32 ; jmp 0x18b68
fcn_00003fc6:
push ebp
@@ -6520,7 +6520,7 @@ push 0xfffffeff
mov ebx, eax
lea eax, [eax + 0x224]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov eax, esi
add esp, 0x10
test al, al
@@ -6541,7 +6541,7 @@ push 0
push 0xefffffff
lea eax, [ebx + 0x490]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
lea eax, [ebx + 0xa18]
add esp, 0x10
lea esi, [ebx + 0x918]
@@ -6553,7 +6553,7 @@ push 0
push 0xfffffffffffffff3
push esi
add esi, 0x20
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp esi, dword [ebp - 0x1c]
jne short loc_00004056 ; jne 0x4056
@@ -6565,38 +6565,38 @@ push 0x10
push 0xffffffffffffffef
lea eax, [ebx + 0xd14]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_00004082:
sub esp, 0xc
lea esi, [ebx + 0x308]
push esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
pop edx
pop ecx
push eax
push esi
lea esi, [ebx + 0x314]
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov dword [esp], esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
pop edi
pop edx
push eax
push esi
lea esi, [ebx + 0x32c]
add ebx, 0x330
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov dword [esp], esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
pop ecx
pop edi
push eax
push esi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov dword [esp], ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], eax
@@ -6605,7 +6605,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00017e8f ; jmp 0x17e8f
+jmp near write32 ; jmp 0x17e8f
fcn_000040eb:
push ebp
@@ -6630,12 +6630,12 @@ push ecx
push ecx
push dword [ebp + 0x14]
push dword [ebp - 0x20]
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
pop edx
push ebx
push edi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
mov edx, 0x64
@@ -6643,7 +6643,7 @@ loc_0000413e:
sub esp, 0xc
push edi
mov dword [ebp - 0x24], edx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test eax, eax
jns short loc_0000417a ; jns 0x417a
@@ -6667,7 +6667,7 @@ add esp, 0x20
loc_0000417a:
sub esp, 0xc
push edi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
mov edx, eax
cmp ax, 0x40
@@ -6748,7 +6748,7 @@ push edi
call fcn_000040eb ; call 0x40eb
lea eax, [edi + 0x6c04]
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
push ebx
push 0
push 3
@@ -6814,7 +6814,7 @@ push edx
loc_000042c8:
inc esi
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp esi, edi
jb short loc_00004294 ; jb 0x4294
@@ -6840,7 +6840,7 @@ shl edx, 5
push 0xffffffffffffffe0
lea eax, [eax + edx + 0x904]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp esi, dword [ebp - 0x1c]
jb short loc_000042f0 ; jb 0x42f0
@@ -6865,7 +6865,7 @@ shl edx, 5
push 0xfffffc1f
lea eax, [eax + edx + 0x904]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp esi, dword [ebp - 0x1c]
jb short loc_00004334 ; jb 0x4334
@@ -6901,7 +6901,7 @@ lea eax, [eax + edx + 0x90c]
loc_000043ab:
push eax
inc esi
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp esi, dword [ebp - 0x1c]
jb short loc_0000436d ; jb 0x436d
@@ -6923,7 +6923,7 @@ shl edx, 5
push 0xfe1fffff
lea eax, [eax + edx + 0x90c]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp esi, dword [ebp - 0x1c]
jb short loc_000043c4 ; jb 0x43c4
@@ -6952,7 +6952,7 @@ shl edx, 5
push 0xfffffc3f
lea eax, [eax + edx + 0x910]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp esi, dword [ebp - 0x1c]
jb short loc_000043fb ; jb 0x43fb
@@ -6978,7 +6978,7 @@ lea eax, [eax + edx + 0x910]
loc_00004471:
push eax
inc esi
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp esi, dword [ebp - 0x1c]
jae short loc_00004495 ; jae 0x4495
@@ -7033,7 +7033,7 @@ lea eax, [eax + edx + 0x80c]
loc_000044ef:
push eax
inc esi
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp esi, dword [ebp - 0x1c]
jb short loc_000044b7 ; jb 0x44b7
@@ -7049,7 +7049,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0x10
je short loc_00004565 ; je 0x4565
@@ -7066,7 +7066,7 @@ push eax
push 0xc1ffffff
lea eax, [ebx + 0xc00]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp byte [ebp - 0x24], 0
je short loc_0000456d ; je 0x456d
@@ -7084,7 +7084,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0x10
je short loc_000045a8 ; je 0x45a8
@@ -7095,7 +7095,7 @@ push 0x40
push 0xfffffc0f
lea eax, [ebx + 0xc08]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp byte [ebp - 0x24], 0
jne short loc_000045c6 ; jne 0x45c6
@@ -7108,7 +7108,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0x10
je short loc_000045f4 ; je 0x45f4
@@ -7119,7 +7119,7 @@ push 0
push 0xe07fffff
lea eax, [ebx + 0xc0c]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
loc_000045da:
add esp, 0x10
@@ -7157,7 +7157,7 @@ push 0x13
push 0xffffffffffffffe0
lea eax, [ebx + 0xc28]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
jmp near loc_0000473e ; jmp 0x473e
@@ -7172,7 +7172,7 @@ push 0x13
push 0xffffffffffffffe0
add eax, 0xc28
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
jmp short loc_0000466c ; jmp 0x466c
@@ -7255,13 +7255,13 @@ push 0
push 0xffffffffffffffbf
lea eax, [ebx + 0xc38]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0xc
push 2
push 0xfffffffffffffffc
lea eax, [ebx + 0x260]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
loc_00004762:
add esp, 0x10
@@ -7295,7 +7295,7 @@ add edx, eax
push edx
loc_000047a3:
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
inc esi
add esp, 0x10
cmp esi, dword [ebp - 0x1c]
@@ -7330,7 +7330,7 @@ lea eax, [eax + edx + 0x904]
loc_000047f7:
push eax
inc esi
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp esi, dword [ebp - 0x1c]
jb short loc_000047b9 ; jb 0x47b9
@@ -7351,7 +7351,7 @@ shl edx, 5
push 0xc1ffffff
lea eax, [eax + edx + 0x90c]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp ebx, dword [ebp - 0x1c]
jb short loc_0000480e ; jb 0x480e
@@ -7366,7 +7366,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0x10
jne short loc_00004877 ; jne 0x4877
@@ -7400,7 +7400,7 @@ push esi
push dword [ebp - 0x20]
push ebx
add ebx, 0x20
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp edi, dword [ebp - 0x1c]
jb short loc_000048a7 ; jb 0x48a7
@@ -7548,7 +7548,7 @@ loc_00004a02:
sub esp, 0xc
lea eax, [esi + 0xd0c]
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
xor ecx, ecx
test eax, 0x100000
@@ -7727,7 +7727,7 @@ mov eax, dword [eax + 0xd]
mov cl, byte [eax + 0x40]
mov dword [esp], ebx
mov byte [ebp - 0x4a], cl
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
jne short loc_00004bcd ; jne 0x4bcd
@@ -7749,7 +7749,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0x504
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
shr eax, 0x10
and eax, 3
mov byte [ebp - 0x48], al
@@ -7823,7 +7823,7 @@ mov dword [ebp - 0x44], eax
call get_pci_dev_base ; call 0x16c9a
add eax, 0xe8
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test eax, 0x100000
je short loc_00004cd6 ; je 0x4cd6
@@ -8016,19 +8016,19 @@ sub esp, 0xc
lea edx, [eax + 0xd0]
push edx
mov dword [ebp - 0x60], edx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov word [ebp - 0x4a], ax
mov eax, dword [ebp - 0x50]
and word [ebp - 0x4a], 0xf
lea edi, [eax + 0xd0]
mov dword [esp], edi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x54]
and word [ebp - 0x4c], 0xf
lea esi, [eax + 0xd0]
mov dword [esp], esi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov edx, dword [ebp - 0x60]
add esp, 0xc
push 1
@@ -8087,13 +8087,13 @@ add eax, 0xdd8
push eax
mov edi, eax
mov dword [ebp - 0x60], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
pop ecx
pop ebx
or eax, 0x8002
push eax
push edi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop edi
pop eax
mov eax, esi
@@ -8159,7 +8159,7 @@ mov eax, edi
push 0xfff0ffff
add eax, 0xd0c
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
lea esi, [edi + 0xa00]
add esp, 0x10
@@ -8194,7 +8194,7 @@ loc_00005076:
sub esp, 0xc
lea eax, [edi + 0xba]
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test al, 0x40
jne short loc_000050c1 ; jne 0x50c1
@@ -8216,7 +8216,7 @@ push eax
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
mov edi, eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
jne short loc_00005076 ; jne 0x5076
@@ -8229,7 +8229,7 @@ push ecx
push 0x10100
push 0xff0000ff
push edi
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
pop eax
pop edx
push 0
@@ -8246,7 +8246,7 @@ je short loc_00005115 ; je 0x5115
add eax, dword [ebp - 0x70]
sub esp, 0xc
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
and eax, 0xf
cmp al, 3
@@ -8335,7 +8335,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0x10
jne short loc_000051ab ; jne 0x51ab
@@ -8412,13 +8412,13 @@ jne short loc_00005283 ; jne 0x5283
mov edi, dword [ebp - 0x60]
sub esp, 0xc
push edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
pop edx
pop ecx
and ah, 0x7f
push eax
push edi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
loc_00005283:
@@ -8615,7 +8615,7 @@ push eax
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
mov esi, eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
mov eax, dword [ebp + 0xc]
@@ -8637,7 +8637,7 @@ push 0x10100
push 0xff0000ff
lea ebx, [esi + 0x18]
push ebx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
pop eax
pop edx
push 0
@@ -8645,7 +8645,7 @@ push dword [ebp - 0x64]
call fcn_00017e04 ; call 0x17e04
lea eax, [esi + 0x11a]
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test al, 2
jne loc_0000578e ; jne 0x578e
@@ -8667,7 +8667,7 @@ je short loc_0000553d ; je 0x553d
sub esp, 0xc
lea eax, [esi + 0xb2]
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov ecx, dword [ebp + 0xc]
add esp, 0x10
mov edx, dword [ecx + 0xd]
@@ -8699,7 +8699,7 @@ loc_00005559:
sub esp, 0xc
lea eax, [esi + 0xac]
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0xc
push 0x10100
push 0xff0000ff
@@ -8708,7 +8708,7 @@ push ebx
shr eax, 4
and eax, 0x3f
mov byte [ebp - 0x79], al
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
pop edx
pop ecx
push 0
@@ -8716,14 +8716,14 @@ push dword [ebp - 0x64]
call fcn_00017e04 ; call 0x17e04
pop eax
push dword [ebp - 0x64]
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
inc eax
jne short loc_000055ec ; jne 0x55ec
sub esp, 0xc
add esi, 0xb2
push esi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov esi, eax
and esi, 0x3f0
sar esi, 4
@@ -8757,7 +8757,7 @@ je short loc_00005618 ; je 0x5618
add eax, dword [ebp - 0x80]
sub esp, 0xc
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
shr eax, 4
and eax, 0x3f
@@ -8839,7 +8839,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0x10
jne short loc_000056b2 ; jne 0x56b2
@@ -8984,7 +8984,7 @@ loc_00005806:
sub esp, 0xc
mov esi, 1
push dword [ebp - 0x40]
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
jne short loc_00005839 ; jne 0x5839
@@ -9027,7 +9027,7 @@ add esp, 0x10
loc_00005882:
sub esp, 0xc
push esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
and eax, 0x3f
cmp eax, 2
@@ -9050,7 +9050,7 @@ push 0x20
push 0xcf
add eax, 0xc20
push eax
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
mov eax, dword [ebp - 0x58]
add esp, 0x10
cmp eax, 0x40660
@@ -9084,7 +9084,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0x10
jne short loc_000058d6 ; jne 0x58d6
@@ -9121,7 +9121,7 @@ loc_00005968:
sub esp, 0xc
mov bl, 1
push dword [ebp - 0x50]
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
jne short loc_00005998 ; jne 0x5998
@@ -9162,7 +9162,7 @@ lea esi, [eax + 0x464]
loc_000059da:
sub esp, 0xc
push esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
shr eax, 8
and eax, 0x3f
@@ -9186,7 +9186,7 @@ push 0x20
push 0xcf
add eax, 0xc20
push eax
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
mov eax, dword [ebp - 0x58]
add esp, 0x10
cmp eax, 0x40660
@@ -9220,7 +9220,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0x10
jne short loc_00005a31 ; jne 0x5a31
@@ -9255,7 +9255,7 @@ loc_00005abd:
sub esp, 0xc
mov bl, 1
push dword [ebp - 0x54]
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
jne short loc_00005aed ; jne 0x5aed
@@ -9296,7 +9296,7 @@ lea esi, [eax + 0x464]
loc_00005b2f:
sub esp, 0xc
push esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
shr eax, 0x10
and eax, 0x3f
@@ -9320,7 +9320,7 @@ push 0x20
push 0xcf
add eax, 0xc20
push eax
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
mov eax, dword [ebp - 0x58]
add esp, 0x10
cmp eax, 0x40660
@@ -9354,7 +9354,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0x10
jne short loc_00005b86 ; jne 0x5b86
@@ -9418,7 +9418,7 @@ mov eax, dword [ebp - 0x40]
sub esp, 0xc
add eax, 0x11a
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
shr ax, 1
xor eax, 1
mov bl, al
@@ -9426,7 +9426,7 @@ mov eax, dword [ebp - 0x50]
and ebx, 1
add eax, 0x11a
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov dl, bl
or edx, 2
test al, 2
@@ -9434,7 +9434,7 @@ mov eax, dword [ebp - 0x54]
cmove ebx, edx
add eax, 0x11a
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov dl, bl
add esp, 0x10
or edx, 4
@@ -9558,7 +9558,7 @@ push eax
call get_pci_dev_base ; call 0x16c9a
add eax, 0xd2
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test al, 2
jne short loc_00005de3 ; jne 0x5de3
@@ -9647,7 +9647,7 @@ push eax
call get_pci_dev_base ; call 0x16c9a
add eax, 0x214
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
shr eax, 0x10
and eax, 0xf
@@ -9678,7 +9678,7 @@ call get_pci_dev_base ; call 0x16c9a
mov esi, eax
lea eax, [eax + 2]
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
mov edx, eax
and eax, 0xfffffffd
@@ -9718,7 +9718,7 @@ loc_00005f1c:
sub esp, 0xc
add esi, 0x48
push esi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
and ax, 0xfffc
mov word [ebp - 0x20], ax
@@ -10328,7 +10328,7 @@ push eax
call get_pci_dev_base ; call 0x16c9a
add eax, 0xb2
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
leave
shr ax, 4
and eax, 0x3f
@@ -10380,7 +10380,7 @@ lea edx, [edi + 0x224]
add edi, 0xb0
push edx
mov dword [ebp - 0x1c], edx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
pop eax
pop edx
push 0x10
@@ -10470,7 +10470,7 @@ push eax
call get_pci_dev_base ; call 0x16c9a
add eax, 0xb2
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
leave
and eax, 0xf
ret
@@ -10564,7 +10564,7 @@ mov dword [ebp - 0x34], edx
call get_pci_dev_base ; call 0x16c9a
add eax, 0xd2
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
@@ -11010,10 +11010,10 @@ mov esi, eax
lea eax, [eax + 0x504]
add esi, 0xd0c
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [esp], esi
mov ebx, eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0xc
push 0
push 0
@@ -11059,7 +11059,7 @@ push 1
push 0
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
je short loc_00006b76 ; je 0x6b76
@@ -11198,7 +11198,7 @@ call get_pci_dev_base ; call 0x16c9a
mov esi, eax
lea eax, [eax + 0xac]
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov edx, eax
and edx, 0xf
@@ -11247,7 +11247,7 @@ lea eax, [esi + 0x18]
add esi, 0x11a
push eax
mov dword [ebp - 0x30], eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
pop eax
pop edx
push 0
@@ -11255,10 +11255,10 @@ push dword [ebp - 0x34]
call fcn_00017e04 ; call 0x17e04
pop ecx
push dword [ebp - 0x34]
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [ebx + 7], eax
mov dword [esp], esi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test al, 2
je short loc_00006d85 ; je 0x6d85
@@ -11312,7 +11312,7 @@ loc_00006db7:
add eax, dword [ebp - 0x38]
sub esp, 0xc
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov dl, al
and eax, 0xf
@@ -12806,7 +12806,7 @@ shl eax, 4
lea eax, [edx + eax + 0xc]
mov dword [ebp + 8], eax
pop ebp
-jmp near fcn_00017e4e ; jmp 0x17e4e
+jmp near read32 ; jmp 0x17e4e
fcn_00007c21:
push ebp
@@ -12840,44 +12840,44 @@ pop edx
lea eax, [ebx + 0x6430]
push 3
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop ecx
pop eax
lea eax, [ebx + 0x6434]
add ebx, 0x6438
push 0x76543210
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
pop edx
lea eax, [esi + 0x630]
push 0xb
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop ecx
pop eax
lea eax, [esi + 0x600]
add esi, 0x604
push 0x60b
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
pop edx
push 0x76543980
push esi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
lea eax, [edi + 0x600]
add edi, 0x604
pop ecx
pop esi
push 0x60b
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
pop edx
push 0x76543280
push edi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov edi, dword [ebp - 0x1c]
pop ecx
pop esi
@@ -12885,19 +12885,19 @@ mov eax, edi
push 0xb
add eax, 0x600
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
mov eax, edi
pop edx
add eax, 0x604
push 0x76543210
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop ecx
pop esi
push 0x680000
push ebx
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov eax, dword [ebp - 0x20]
add esp, 0x10
mov dword [ebp + 0xc], 0xa
@@ -12908,7 +12908,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00017e8f ; jmp 0x17e8f
+jmp near write32 ; jmp 0x17e8f
fcn_00007d3c:
push ebp
@@ -12942,44 +12942,44 @@ pop edx
lea eax, [ebx + 0x6430]
push 0
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop ecx
pop eax
lea eax, [ebx + 0x6434]
add ebx, 0x6438
push 0
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
pop edx
lea eax, [esi + 0x630]
push 0
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop ecx
pop eax
lea eax, [esi + 0x600]
add esi, 0x604
push 0
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
pop edx
push 0
push esi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
lea eax, [edi + 0x600]
add edi, 0x604
pop ecx
pop esi
push 0
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
pop edx
push 0
push edi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov edi, dword [ebp - 0x1c]
pop ecx
pop esi
@@ -12987,19 +12987,19 @@ mov eax, edi
push 0
add eax, 0x600
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
mov eax, edi
pop edx
add eax, 0x604
push 0
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop ecx
pop esi
push 0
push ebx
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov eax, dword [ebp - 0x20]
add esp, 0x10
mov dword [ebp + 0xc], 0
@@ -13010,7 +13010,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00017e8f ; jmp 0x17e8f
+jmp near write32 ; jmp 0x17e8f
fcn_00007e42:
push ebp
@@ -13023,7 +13023,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0x60
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
pop edx
pop ecx
push 0x4000
@@ -13060,7 +13060,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0x60
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
pop edx
pop ecx
push 0xfffd
@@ -13094,73 +13094,73 @@ sub esp, 0xc
mov ebx, dword [ebp + 8]
push 0x40000
push ebx
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
pop edx
lea eax, [ebx + 4]
push 0
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop ecx
pop eax
lea eax, [ebx + 0x10]
push 0x40000
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
pop edx
lea eax, [ebx + 0x14]
push 0
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop ecx
pop eax
lea eax, [ebx + 0x20]
push 0x40000
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
pop edx
lea eax, [ebx + 0x24]
push 0
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop ecx
pop eax
lea eax, [ebx + 8]
push 0xff000000
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
pop edx
lea eax, [ebx + 0x18]
push 0xff000000
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop ecx
pop eax
lea eax, [ebx + 0x28]
push 0xff000000
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
pop edx
lea eax, [ebx + 0xc]
push 0
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop ecx
pop eax
lea eax, [ebx + 0x1c]
add ebx, 0x2c
push 0
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
pop edx
push 0
push ebx
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
mov ebx, dword [ebp - 4]
leave
@@ -13198,24 +13198,24 @@ mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
lea eax, [ebx + 4]
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
pop edx
lea eax, [ebx + 0x14]
push 0xa101
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop ecx
pop eax
lea eax, [ebx + 0x24]
push 0xa102
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
pop edx
push 0x110000
push ebx
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0xc
push 0x3e8
push esi
@@ -13225,14 +13225,14 @@ pop ecx
pop esi
push 0x22100
push ebx
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop edi
pop eax
lea eax, [ebx + 0x10]
add ebx, 0x20
push 0x22101
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], 0x22102
@@ -13241,7 +13241,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00017e8f ; jmp 0x17e8f
+jmp near write32 ; jmp 0x17e8f
fcn_00008087:
push ebp
@@ -13543,7 +13543,7 @@ call get_pci_dev_base ; call 0x16c9a
mov dword [ebp - 0x3f8], eax
add eax, 0xd0c
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov byte [ebp - 0x3ee], 3
mov ebx, eax
@@ -13763,7 +13763,7 @@ push eax
call get_pci_dev_base ; call 0x16c9a
add eax, 0xb2
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
and eax, 0xf
cmp ax, 3
@@ -14514,7 +14514,7 @@ mov dword [ebp - 0x400], edx
call get_pci_dev_base ; call 0x16c9a
add eax, 0xd2
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
mov edx, dword [ebp - 0x400]
mov ecx, dword [ebp - 0x408]
@@ -14707,7 +14707,7 @@ call fcn_00006437 ; call 0x6437
mov eax, dword [ebp - 0x404]
lea esi, [eax + 0xb2]
mov dword [esp], esi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
and eax, 0xf
cmp ax, 3
@@ -14727,7 +14727,7 @@ push dword [ebp + 8]
call fcn_0000661e ; call 0x661e
add esp, 0x14
push esi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
and eax, 0xf
cmp ax, 3
@@ -14946,16 +14946,16 @@ shl edx, 0x13
or edx, 0x2840000
push edx
push ebx
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov dword [esp], ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov esi, eax
pop eax
pop edx
shr esi, 6
push 0
push ebx
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov eax, dword [ebp + 0xc]
mov edx, esi
and edx, 0x3f
@@ -15112,7 +15112,7 @@ pop ecx
push ebx
lea esi, [eax + 0x814]
push esi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], 0
@@ -15120,7 +15120,7 @@ lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
-jmp near fcn_00017e8f ; jmp 0x17e8f
+jmp near write32 ; jmp 0x17e8f
fcn_00009521:
push ebp
@@ -15146,7 +15146,7 @@ shl ebx, 5
push 0xfffffffffffffff9
lea eax, [eax + ebx + 0x900]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
lea esp, [ebp - 8]
pop ebx
@@ -15195,7 +15195,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0x10
je short loc_000095a9 ; je 0x95a9
@@ -15218,7 +15218,7 @@ shl ebx, 5
push 0x3fffffff
lea eax, [eax + ebx + 0x80c]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
jmp short loc_0000965e ; jmp 0x965e
loc_0000961a:
@@ -15882,14 +15882,14 @@ push 0xeffc03ff
lea eax, [ecx + 0x900]
push eax
mov dword [ebp - 0x34], ecx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov ecx, dword [ebp - 0x34]
add esp, 0xc
push edi
push 0xfffe07ff
add ecx, 0x90c
push ecx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov edx, dword [ebp - 0x38]
add esp, 0x10
inc edx
@@ -16001,7 +16001,7 @@ lea ebx, [esi + 0x2338]
loc_00009c83:
sub esp, 0xc
push ebx
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 1
jne short loc_00009c83 ; jne 0x9c83
@@ -16010,7 +16010,7 @@ push eax
push dword [ebp + 0xc]
lea eax, [esi + 0x2330]
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0xc
push 0x700
push 0xff
@@ -16022,7 +16022,7 @@ pop edx
pop ecx
push dword [ebp + 0x10]
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
pop edx
push 0xf000
@@ -16038,13 +16038,13 @@ add esp, 0x10
loc_00009ce8:
sub esp, 0xc
push ebx
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 1
jne short loc_00009ce8 ; jne 0x9ce8
sub esp, 0xc
push ebx
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
and eax, 6
cmp al, 1
@@ -16068,7 +16068,7 @@ lea ebx, [esi + 0x2338]
loc_00009d27:
sub esp, 0xc
push ebx
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 1
jne short loc_00009d27 ; jne 0x9d27
@@ -16077,7 +16077,7 @@ push eax
push dword [ebp + 0xc]
lea eax, [esi + 0x2330]
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0xc
push 0x600
push 0xff
@@ -16099,13 +16099,13 @@ add esp, 0x10
loc_00009d7b:
sub esp, 0xc
push ebx
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 1
jne short loc_00009d7b ; jne 0x9d7b
sub esp, 0xc
push ebx
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov edx, 0x80000007
test al, 6
@@ -16113,7 +16113,7 @@ jne short loc_00009db9 ; jne 0x9db9
sub esp, 0xc
add esi, 0x2334
push esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, dword [ebp + 0x10]
add esp, 0x10
mov dword [edx], eax
@@ -16254,7 +16254,7 @@ lea esi, [ebx + 0x2338]
loc_00009ee2: ; not directly referenced
sub esp, 0xc
push esi
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 1
jne short loc_00009ee2 ; jne 0x9ee2
@@ -16263,7 +16263,7 @@ push ecx
push dword [ebp + 0xc]
lea eax, [ebx + 0x2330]
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov eax, dword [ebp + 0x10]
add esp, 0xc
shl eax, 8
@@ -16296,7 +16296,7 @@ push edx
push dword [eax]
lea eax, [ebx + 0x2334]
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
loc_00009f64: ; not directly referenced
@@ -16310,14 +16310,14 @@ add esp, 0x10
loc_00009f71: ; not directly referenced
sub esp, 0xc
push esi
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 1
jne short loc_00009f71 ; jne 0x9f71
sub esp, 0xc
push esi
mov esi, 0x80000007
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
mov edx, dword [ebp + 0x1c]
add esp, 0x10
and eax, 6
@@ -16335,7 +16335,7 @@ je short loc_00009fcb ; je 0x9fcb
sub esp, 0xc
add ebx, 0x2334
push ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, dword [ebp + 0x18]
add esp, 0x10
mov dword [edx], eax
@@ -16368,7 +16368,7 @@ call get_pci_dev_base ; call 0x16c9a
mov esi, eax
lea eax, [eax + 0xe]
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
mov edx, 0x14
and eax, 0x7f
cmp al, 2
@@ -16376,7 +16376,7 @@ mov eax, 0x34
cmovne edx, eax
add edx, esi
mov dword [esp], edx
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
xor ecx, ecx
mov bl, al
@@ -16391,7 +16391,7 @@ movzx edi, bl
sub esp, 0xc
add edi, esi
push edi
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
cmp al, byte [ebp - 0x19]
mov cl, al
@@ -16400,7 +16400,7 @@ je short loc_0000a069 ; je 0xa069
sub esp, 0xc
inc edi
push edi
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov ecx, dword [ebp - 0x20]
mov bl, al
@@ -16453,7 +16453,7 @@ movzx ecx, bx
sub esp, 0xc
lea edi, [ecx + eax]
push edi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
mov esi, eax
cmp ax, word [ebp - 0x1e]
@@ -16461,7 +16461,7 @@ je short loc_0000a0e8 ; je 0xa0e8
sub esp, 0xc
lea ecx, [edi + 2]
push ecx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
mov ebx, eax
shr bx, 4
@@ -16523,7 +16523,7 @@ push eax
push 1
push 0xf0
push esi
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
mov cl, byte [ebp - 0x20]
mov eax, 1
pop edx
@@ -16534,7 +16534,7 @@ mov dword [ebp - 0x20], eax
push eax
push esi
movzx esi, bl
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
movzx edi, byte [ebp - 0x1c]
add esp, 0xc
push 0
@@ -16543,7 +16543,7 @@ push edi
call get_pci_dev_base ; call 0x16c9a
add eax, 0xe
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov byte [ebp - 0x1c], 0
mov bl, al
@@ -16580,13 +16580,13 @@ push 1
push 0xf0
push edx
mov dword [ebp - 0x2c], edx
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
pop edx
mov edx, dword [ebp - 0x2c]
pop ecx
push dword [ebp - 0x20]
push edx
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
add esp, 0x10
loc_0000a20c: ; not directly referenced
@@ -16649,7 +16649,7 @@ add eax, dword [ebp - 0x20]
lea esi, [eax + 0x12]
push esi
mov dword [ebp - 0x28], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test ah, 0x10
je short loc_0000a26d ; je 0xa26d
@@ -16665,7 +16665,7 @@ call get_pci_dev_base ; call 0x16c9a
mov ebx, eax
lea eax, [eax + 0xe]
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov byte [ebp - 0x1c], al
sar byte [ebp - 0x1c], 7
@@ -16674,14 +16674,14 @@ cmp byte [ebp - 0x2c], 0
jne short loc_0000a306 ; jne 0xa306
sub esp, 0xc
push ebx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
cmp ax, 0x8086
jne short loc_0000a306 ; jne 0xa306
sub esp, 0xc
add ebx, 2
push ebx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
cmp ax, 0x93c
jne short loc_0000a306 ; jne 0xa306
@@ -16724,7 +16724,7 @@ sub esp, 0xc
add edi, eax
lea eax, [edi + 0x12]
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test ah, 0x10
je short loc_0000a388 ; je 0xa388
@@ -16781,7 +16781,7 @@ add esp, 0x10
loc_0000a3cf: ; not directly referenced
sub esp, 0xc
push esi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test ah, 8
jne short loc_0000a3cf ; jne 0xa3cf
@@ -16824,7 +16824,7 @@ push esi
call get_pci_dev_base ; call 0x16c9a
add eax, 0xe
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov byte [ebp - 0x1c], al
movzx eax, byte [ebp - 0x20]
@@ -16845,10 +16845,10 @@ mov edi, eax
lea eax, [eax + 0xf0]
add edi, 0x48
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [esp], edi
mov esi, eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov edi, eax
pop eax
and edi, 0xfffc
@@ -16900,7 +16900,7 @@ mov edx, dword [ebp - 0x28]
movzx edx, dl
lea eax, [eax + edx + 0xc]
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test eax, 0x40000
jne short loc_0000a4d5 ; jne 0xa4d5
@@ -16970,7 +16970,7 @@ mov dword [ebp - 0x20], edx
call get_pci_dev_base ; call 0x16c9a
add eax, 0xe
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x28], edi
@@ -16990,7 +16990,7 @@ push edi
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
mov esi, eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
je short loc_0000a631 ; je 0xa631
@@ -17023,7 +17023,7 @@ loc_0000a613: ; not directly referenced
sub esp, 0xc
lea eax, [esi + eax + 4]
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov esi, dword [ebp + 0x10]
add esp, 0x10
and eax, 7
@@ -17070,7 +17070,7 @@ push edi
call get_pci_dev_base ; call 0x16c9a
add eax, 0xe
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
xor ecx, ecx
mov byte [ebp - 0x19], 0
@@ -17090,15 +17090,15 @@ call get_pci_dev_base ; call 0x16c9a
mov ebx, eax
lea eax, [eax + 0xb]
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
mov byte [ebp - 0x1a], al
lea eax, [ebx + 0xa]
add ebx, 9
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
mov dword [esp], ebx
mov byte [ebp - 0x1b], al
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov ecx, dword [ebp - 0x24]
cmp byte [ebp - 0x1b], 0
@@ -17243,7 +17243,7 @@ push dword [ebp - 0x54]
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
mov ebx, eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
jne short loc_0000a858 ; jne 0xa858
@@ -17259,7 +17259,7 @@ loc_0000a858: ; not directly referenced
sub esp, 0xc
add ebx, 0xe
push ebx
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov byte [ebp - 0x57], 0
mov byte [ebp - 0x55], al
@@ -17276,7 +17276,7 @@ push esi
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
mov edi, eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
je loc_0000aff2 ; je 0xaff2
@@ -17291,15 +17291,15 @@ test al, al
je loc_0000b006 ; je 0xb006
sub esp, 0xc
push edi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov word [ebp - 0x46], ax
lea eax, [edi + 2]
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov word [ebp - 0x48], ax
lea eax, [edi + 8]
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
cmp dword [ebp - 0x5c], 2
mov byte [ebp - 0x56], al
@@ -17312,7 +17312,7 @@ jne short loc_0000a92d ; jne 0xa92d
sub esp, 0xc
lea eax, [edi + 0xa]
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
cmp ax, 0x280
jne short loc_0000a92d ; jne 0xa92d
@@ -17373,7 +17373,7 @@ movzx eax, word [esi + 0xa]
sub esp, 0xc
add eax, edi
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov ecx, dword [ebp - 0x44]
cmp ax, 0xcafe
@@ -17404,12 +17404,12 @@ mov eax, dword [ebp - 0x74]
sub esp, 0xc
add eax, dword [ebp + 8]
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [ebp - 0x4c], eax
movzx eax, word [ebp - 0x40]
lea eax, [edi + eax + 4]
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov dword [ebp - 0x44], eax
jmp short loc_0000aa27 ; jmp 0xaa27
@@ -17426,7 +17426,7 @@ sub esp, 0xc
add esi, edi
lea eax, [esi + 0x24]
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
and eax, 0x800
mov dword [ebp - 0x60], eax
@@ -17446,7 +17446,7 @@ lea eax, [esi + 0xc]
sub esp, 0xc
push eax
mov dword [ebp - 0x60], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test eax, 0x40000
jne short loc_0000aa7e ; jne 0xaa7e
@@ -17456,7 +17456,7 @@ mov byte [eax], 0
loc_0000aa7e: ; not directly referenced
sub esp, 0xc
push dword [ebp - 0x60]
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov ebx, eax
call fcn_00015479 ; call 0x15479
shr bx, 0xa
@@ -17479,7 +17479,7 @@ lea eax, [esi + 4]
sub esp, 0xc
push eax
mov dword [ebp - 0x68], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test ax, ax
js short loc_0000aaf5 ; js 0xaaf5
@@ -17502,11 +17502,11 @@ sub esp, 0xc
xor esi, esi
lea eax, [edi + 0xb]
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
mov byte [ebp - 0x6b], al
lea eax, [edi + 0xa]
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
loc_0000ab14: ; not directly referenced
@@ -17570,18 +17570,18 @@ sub esp, 0xc
mov eax, dword [ebp + 8]
lea eax, [eax + ecx + 0xc]
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
pop ecx
push dword [ebp - 0x60]
mov esi, eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
and esi, 0x38000
pop edx
push dword [ebp - 0x68]
and eax, 0x38000
cmp eax, esi
cmovae esi, eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
shr esi, 6
mov edx, ebx
and edx, 0xfffffffd
@@ -17598,18 +17598,18 @@ sub esp, 0xc
mov eax, dword [ebp + 8]
lea eax, [eax + ecx + 0xc]
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov esi, eax
pop eax
and esi, 0x7000
push dword [ebp - 0x60]
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
pop edx
push dword [ebp - 0x68]
and eax, 0x7000
cmp eax, esi
cmovae esi, eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
shr esi, 6
mov edx, ebx
and edx, 0xfffffffe
@@ -17788,14 +17788,14 @@ push eax
push 0xffffff07
push ecx
mov dword [ebp - 0x40], ecx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov eax, dword [ebp + 0x38]
add esp, 0xc
mov ecx, dword [ebp - 0x40]
push dword [eax]
push 0xfffffffffffffffc
push ecx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov edx, dword [ebp - 0x44]
add esp, 0xc
push 0x40a00000
@@ -17803,7 +17803,7 @@ push 0x1c00ffff
add edx, 8
push edx
mov dword [ebp - 0x40], edx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov eax, dword [ebp + 0x3c]
add esp, 0x10
mov edx, dword [ebp - 0x40]
@@ -17824,7 +17824,7 @@ push ecx
push eax
push 0xffffffffffffffe0
push edx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_0000ae28: ; not directly referenced
@@ -17916,7 +17916,7 @@ loc_0000af08: ; not directly referenced
sub esp, 0xc
lea eax, [edi + 0xb]
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
cmp al, 6
jne loc_0000aff2 ; jne 0xaff2
@@ -17924,7 +17924,7 @@ sub esp, 0xc
mov bl, 1
lea eax, [edi + 0x19]
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, al
jne short loc_0000af72 ; jne 0xaf72
@@ -17932,7 +17932,7 @@ mov eax, dword [ebp + 8]
sub esp, 0xc
add eax, 0x1a
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
mov bl, byte [ebp - 0x58]
add esp, 0x10
cmp al, bl
@@ -17945,7 +17945,7 @@ push eax
push 0xff000000
lea eax, [edi + 0x18]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov al, bl
add esp, 0x10
inc eax
@@ -18063,7 +18063,7 @@ call get_pci_dev_base ; call 0x16c9a
mov edi, eax
lea eax, [esi + 0xf0]
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x34]
mov dword [ebp - 0x24], 0
@@ -18074,7 +18074,7 @@ mov dword [ebp - 0x40], eax
mov dword [esp], edi
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x29], 0
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
je loc_0000b2d9 ; je 0xb2d9
@@ -18083,7 +18083,7 @@ jne short loc_0000b113 ; jne 0xb113
sub esp, 0xc
lea eax, [esi + 0x48]
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov esi, dword [ebp - 0x40]
and esi, 0xffffc000
mov ebx, eax
@@ -18131,10 +18131,10 @@ sub esp, 0xc
lea esi, [eax + edi]
lea eax, [esi + 0x24]
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
lea eax, [esi + 0xc]
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov ecx, dword [ebp + 0x30]
add esp, 0x10
mov edx, dword [ebp + 0x24]
@@ -18156,7 +18156,7 @@ loc_0000b1a9: ; not directly referenced
sub esp, 0xc
lea eax, [edi + 0x19]
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov byte [ebp - 0x41], 1
mov bl, al
@@ -18173,7 +18173,7 @@ push eax
push 0xff0000ff
lea eax, [edi + 0x18]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
mov byte [ebp - 0x41], 0
@@ -18182,7 +18182,7 @@ sub esp, 0xc
add esi, 0x1a
push esi
xor esi, esi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
cmp dword [ebp - 0x48], 2
mov dword [ebp - 0x28], 0
@@ -18202,18 +18202,18 @@ sub esp, 0xc
lea edx, [edi + eax + 4]
push edx
mov dword [ebp - 0x3c], edx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, dword [ebp - 0x3c]
mov dword [esp], edx
movzx eax, ah
mov dword [ebp - 0x24], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, dword [ebp - 0x3c]
mov dword [esp], edx
shr eax, 0x10
and eax, 3
mov dword [ebp - 0x1c], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
shr eax, 0x13
and eax, 0x1f
@@ -18324,7 +18324,7 @@ call get_pci_dev_base ; call 0x16c9a
mov esi, eax
lea eax, [ebx + 0xf0]
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
@@ -18335,7 +18335,7 @@ mov eax, dword [ebp + 0x28]
and dword [ebp - 0x48], 0xffffc000
mov byte [eax], 0
mov dword [esp], esi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
jne short loc_0000b3bb ; jne 0xb3bb
@@ -18354,7 +18354,7 @@ jne short loc_0000b3fd ; jne 0xb3fd
sub esp, 0xc
add ebx, 0x48
push ebx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov ebx, eax
pop eax
and ebx, 0xfffc
@@ -18403,7 +18403,7 @@ add eax, esi
mov dword [ebp - 0x4c], eax
add eax, 0x24
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test ah, 8
je short loc_0000b482 ; je 0xb482
@@ -18424,7 +18424,7 @@ mov eax, dword [ebp - 0x4c]
sub esp, 0xc
add eax, 0xc
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov ecx, dword [ebp + 0x24]
add esp, 0x10
mov dl, byte [ecx + 0x10]
@@ -18445,7 +18445,7 @@ loc_0000b4b9: ; not directly referenced
sub esp, 0xc
lea eax, [esi + 0x19]
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov byte [ebp - 0x51], 1
mov byte [ebp - 0x3c], al
@@ -18461,7 +18461,7 @@ push eax
push 0xff0000ff
lea eax, [esi + 0x18]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov al, byte [ebp - 0x40]
add esp, 0x10
mov byte [ebp - 0x51], 0
@@ -18472,7 +18472,7 @@ mov eax, dword [ebp - 0x4c]
sub esp, 0xc
add eax, 0x1a
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
cmp dword [ebp - 0x44], 2
mov dword [ebp - 0x2c], 0
@@ -18492,16 +18492,16 @@ movzx eax, ax
sub esp, 0xc
lea edi, [esi + eax + 4]
push edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [esp], edi
movzx eax, ah
mov dword [ebp - 0x28], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [esp], edi
shr eax, 0x10
and eax, 3
mov dword [ebp - 0x20], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
shr eax, 0x13
and eax, 0x1f
@@ -18586,7 +18586,7 @@ push edx
push eax
lea eax, [esi + 0x400]
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov eax, dword [ebp + 0x24]
pop ecx
mov ecx, dword [ebp + 0x24]
@@ -18605,7 +18605,7 @@ cmove eax, edx
push eax
lea eax, [esi + 0x404]
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
loc_0000b689: ; not directly referenced
@@ -18624,7 +18624,7 @@ lea ebx, [edx + 8]
push 0xffff00ff
push ebx
mov dword [ebp - 0x60], edx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov edx, dword [ebp - 0x60]
@@ -18634,12 +18634,12 @@ add edx, 0xc
push eax
push 0xffffff04
push edx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0xc
push 0x40a00000
push 0x1c00ffff
push ebx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
test byte [ebp - 0x2e], 2
je short loc_0000b711 ; je 0xb711
@@ -18672,7 +18672,7 @@ push edx
push eax
push 0xffffffffffffffe0
push ebx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_0000b73b: ; not directly referenced
@@ -18814,7 +18814,7 @@ push 0x18
push 0xe3
lea eax, [esi + 0xd4]
push eax
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
add esp, 0x10
loc_0000b8bf: ; not directly referenced
@@ -18880,7 +18880,7 @@ push edx
push 8
push 0xf3
push ebx
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
add esp, 0x10
loc_0000b95a: ; not directly referenced
@@ -18928,7 +18928,7 @@ call get_pci_dev_base ; call 0x16c9a
mov edi, eax
lea eax, [eax + 0x19]
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov byte [ebp - 0x1e], al
test al, al
@@ -18945,7 +18945,7 @@ push eax
push 0xff000000
lea eax, [edi + 0x18]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
jmp short loc_0000ba03 ; jmp 0xba03
@@ -18953,7 +18953,7 @@ loc_0000b9eb: ; not directly referenced
sub esp, 0xc
lea eax, [edi + 0x1a]
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov byte [ebp - 0x1f], al
mov al, byte [ebp - 0x1e]
@@ -18968,7 +18968,7 @@ call fcn_00009fd5 ; call 0x9fd5
movzx eax, al
lea eax, [edi + eax + 2]
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
and eax, 0xf0
sar eax, 4
@@ -18977,7 +18977,7 @@ jne short loc_0000ba55 ; jne 0xba55
sub esp, 0xc
lea eax, [edi + 0xe]
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0x7f
je short loc_0000ba55 ; je 0xba55
@@ -19003,13 +19003,13 @@ pop eax
pop edx
push 0
push esi
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
add esp, 0x10
loc_0000ba78: ; not directly referenced
sub esp, 0xc
push esi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
jne short loc_0000ba44 ; jne 0xba44
@@ -19052,12 +19052,12 @@ mov dword [ebp - 0x4c], ecx
lea eax, [edx + 2]
mov dword [ebp - 0x38], edx
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x2c]
add eax, 0xb
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x4c]
@@ -19107,7 +19107,7 @@ push esi
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
mov dword [ebp - 0x2c], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
jne loc_0000ba9d ; jne 0xba9d
@@ -19123,7 +19123,7 @@ push edx
and ecx, 0xf0
sar ecx, 4
mov dword [ebp - 0x2c], ecx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
cmp cl, 5
@@ -19219,7 +19219,7 @@ call get_pci_dev_base ; call 0x16c9a
mov dword [ebp - 0x2c], eax
add eax, 0x5a
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
mov edx, 0x8000000e
test al, 0x40
@@ -19253,7 +19253,7 @@ add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
add eax, 4
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
and eax, 7
mov word [ebp - 0x1a], ax
pop eax
@@ -19315,7 +19315,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0xf0
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov ebx, eax
and ebx, 0xffffc000
@@ -19332,7 +19332,7 @@ loc_0000bd90: ; not directly referenced
sub esp, 0xc
lea eax, [ebx + 0x38f4]
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 1
jne short loc_0000bdad ; jne 0xbdad
@@ -19343,7 +19343,7 @@ loc_0000bdad: ; not directly referenced
sub esp, 0xc
add ebx, 0x38f8
push ebx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov word [esi], ax
jmp short loc_0000bdf3 ; jmp 0xbdf3
@@ -19406,7 +19406,7 @@ add esp, 0x10
mov dword [ebp + 8], ebx
mov ebx, dword [ebp - 4]
leave
-jmp near fcn_00017e4e ; jmp 0x17e4e
+jmp near read32 ; jmp 0x17e4e
fcn_0000be41: ; not directly referenced
push ebp
@@ -19547,12 +19547,12 @@ push eax
call get_pci_dev_base ; call 0x16c9a
add eax, 0xf0
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov esi, eax
and esi, 0xffffc000
lea eax, [esi + 0x3418]
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [ebp - 0x24], eax
pop eax
pop edx
@@ -19677,7 +19677,7 @@ mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
add eax, 0x410
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov byte [ebp - 0x19], al
mov eax, edi
@@ -20838,11 +20838,11 @@ mov ebx, eax
lea eax, [eax + 0xf0]
add ebx, 2
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [esp], ebx
mov dword [ebp - 0x30], eax
and dword [ebp - 0x30], 0xffffc000
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0xc
push 2
push 0x1f
@@ -20858,7 +20858,7 @@ call get_pci_dev_base ; call 0x16c9a
lea edi, [esi + 0x92]
mov dword [esp], edi
mov dword [ebp - 0x34], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0xf
setne byte [ebp - 0x35]
@@ -20866,7 +20866,7 @@ cmp dword [ebp - 0x2c], 1
jne loc_0000cedf ; jne 0xcedf
sub esp, 0xc
push edi
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0x30
je short loc_0000cd14 ; je 0xcd14
@@ -20914,7 +20914,7 @@ loc_0000cd1d:
push 0x3f
lea eax, [esi + 0x90]
push eax
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
add esp, 0x10
loc_0000cd2e:
@@ -20925,7 +20925,7 @@ lea eax, [esi + 0x94]
push eax
lea esi, [esi + 0x98]
mov dword [ebp - 0x1c], 0xfffffe00
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
pop eax
pop edx
push 0x8000
@@ -20975,7 +20975,7 @@ push 0x200
push 0xffffe27f
push esi
mov dword [ebp - 0x1c], 0xffffe27f
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
pop eax
pop edx
push 0x100000
@@ -20985,7 +20985,7 @@ add esp, 0xc
push 0x20
push 0xffffffffffffff9f
push esi
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
pop ecx
pop ebx
push 0x40000
@@ -20994,7 +20994,7 @@ call fcn_00018b14 ; call 0x18b14
mov eax, dword [ebp - 0x34]
add eax, 0x410
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
cmp dword [ebp - 0x2c], 1
jne short loc_0000ceb3 ; jne 0xceb3
@@ -21092,7 +21092,7 @@ mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
add eax, 0x3414
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
mov esi, eax
pop eax
push dword [ebx + 4]
@@ -21142,7 +21142,7 @@ mov eax, dword [ebx + 4]
sub esp, 0xc
add eax, 0x3420
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, al
jns short loc_0000cfdf ; jns 0xcfdf
@@ -21193,17 +21193,17 @@ call get_pci_dev_base ; call 0x16c9a
lea edi, [eax + 0x10]
mov esi, eax
mov dword [esp], edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [ebp - 0x34], eax
pop eax
pop edx
push dword [ebx + 0x1a]
push edi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
lea eax, [esi + 4]
mov dword [esp], eax
mov esi, eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
pop ecx
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x2e], ax
@@ -21212,11 +21212,11 @@ push 2
push esi
call fcn_00018927 ; call 0x18927
mov dword [esp], edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
and eax, 0xffff8000
lea edx, [eax + 0x5b54]
mov dword [esp], edx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov ecx, eax
pop eax
movzx eax, word [ebp - 0x2e]
@@ -21231,7 +21231,7 @@ mov ecx, dword [ebp - 0x34]
pop eax
push ecx
push edi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
loc_0000d0a7:
@@ -21249,7 +21249,7 @@ mov eax, dword [ebx + 4]
sub esp, 0xc
add eax, 0x3414
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
mov eax, esi
add esp, 0x10
test al, al
@@ -21269,7 +21269,7 @@ mov eax, dword [ebx + 4]
sub esp, 0xc
add eax, 0x3428
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov edx, 3
test al, 2
@@ -21348,7 +21348,7 @@ mov esi, eax
mov eax, dword [ebp - 0x38]
add eax, 0xf0
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [ebp - 0x40], eax
pop eax
mov eax, dword [ebp - 0x38]
@@ -21375,7 +21375,7 @@ push eax
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
mov dword [ebp - 0x44], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
je short loc_0000d256 ; je 0xd256
@@ -21391,7 +21391,7 @@ inc edx
push ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], ecx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov edx, dword [ebp - 0x48]
add esp, 0x10
movzx edx, dx
@@ -21425,7 +21425,7 @@ push 0x80
push 0x9f
lea eax, [esi + 0xf4]
push eax
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
add esp, 0x10
mov byte [ebp - 0x29], 0
@@ -21445,7 +21445,7 @@ call get_pci_dev_base ; call 0x16c9a
lea edx, [eax + 0x88]
mov dword [esp], edx
mov dword [ebp - 0x3c], edx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
pop edx
mov edx, dword [ebp - 0x3c]
pop ecx
@@ -21453,7 +21453,7 @@ and eax, 0xfffffffb
push eax
push edx
mov dword [ebp - 0x20], eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
inc byte [ebp - 0x29]
jmp short loc_0000d292 ; jmp 0xd292
@@ -21471,11 +21471,11 @@ push 0xfffffffffffffffc
mov eax, dword [ebx + 4]
add eax, 0x3404
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov eax, dword [ebx + 4]
add eax, 0x3404
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
pop eax
pop edx
push 1
@@ -21511,7 +21511,7 @@ add esp, 0x10
sub esp, 0xc
add eax, 0x3410
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
cmp dword [ebp - 0x34], 1
jne loc_0000d445 ; jne 0xd445
@@ -21523,7 +21523,7 @@ push 0x70
push 0xffffff00
lea eax, [edi + 0x34]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
pop eax
pop edx
lea eax, [edi + 0x70]
@@ -21537,14 +21537,14 @@ push 0x1f
push eax
call fcn_0001875d ; call 0x1875d
mov dword [esp], esi
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
and eax, 0x30
cmp al, 0x30
je short loc_0000d41e ; je 0xd41e
sub esp, 0xc
push esi
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0x10
jne short loc_0000d3f6 ; jne 0xd3f6
@@ -21560,7 +21560,7 @@ add esp, 0x10
loc_0000d3f6:
sub esp, 0xc
push esi
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0x20
jne loc_0000d490 ; jne 0xd490
@@ -21584,7 +21584,7 @@ call fcn_00018b14 ; call 0x18b14
mov eax, dword [ebx + 4]
add eax, 0x3418
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
jmp short loc_0000d48d ; jmp 0xd48d
loc_0000d445:
@@ -21603,13 +21603,13 @@ pop edx
lea eax, [edi + 0xa0]
push 0
push eax
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
add esp, 0xc
push 0x8000
push 0xffff7fff
lea eax, [edi + 0xa4]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
loc_0000d48d:
add esp, 0x10
@@ -21621,13 +21621,13 @@ mov eax, dword [ebp - 0x38]
sub esp, 0xc
add eax, 2
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0xc
push 0x80
push 0x3f
lea eax, [edi + 0x90]
push eax
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
add esp, 0x10
loc_0000d4c1:
@@ -21770,14 +21770,14 @@ mov dword [ebp - 0x1c], edi
lea edi, [edi + 0x40]
push esi
push edi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
mov eax, dword [ebp - 0x1c]
pop edx
add eax, 0x44
push 0
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop ecx
pop eax
push 1
@@ -21807,36 +21807,36 @@ push eax
push 0xff
lea eax, [esi + 6]
push eax
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
pop eax
pop edx
lea eax, [esi + 0x80]
push 0xff
push eax
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
pop ecx
pop eax
lea eax, [esi + 0x84]
push 0
push eax
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
pop eax
pop edx
lea eax, [esi + 0x82]
push 0
push eax
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
add esp, 0xc
push 0x403c
push 0xffff8003
mov eax, dword [ebx + 4]
add eax, 0x38b0
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov eax, dword [ebx + 4]
add eax, 0x38b4
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test ah, 0x40
je short loc_0000d6ce ; je 0xd6ce
@@ -21845,7 +21845,7 @@ add esi, 0xa
push eax
push 1
push esi
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
add esp, 0x10
loc_0000d6ce:
@@ -21858,7 +21858,7 @@ pop esi
pop eax
push 0
push edi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
test byte [ebx + 0x426], 1
je loc_0000d77b ; je 0xd77b
@@ -21885,7 +21885,7 @@ push 0xfff0fff
mov eax, dword [ebx + 4]
add eax, 0x33d4
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov al, byte [ebx + 0x432]
add esp, 0xc
shl eax, 8
@@ -21899,7 +21899,7 @@ push 0xfffff0ff
mov eax, dword [ebx + 4]
add eax, 0x33c8
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_0000d77b:
@@ -21923,7 +21923,7 @@ mov eax, dword [edi + 4]
mov bl, byte [edi + 0x361]
lea esi, [eax + 0x31fe]
push esi
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
cmp bl, al
je short loc_0000d7d3 ; je 0xd7d3
@@ -21947,9 +21947,9 @@ push 0x100
push esi
call fcn_00018927 ; call 0x18927
mov dword [esp], esi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov dword [esp], esi
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
pop edx
pop ecx
push 0
@@ -21960,9 +21960,9 @@ or ebx, 0xfec00010
or eax, 0xfec00000
push eax
mov dword [ebp - 0x1c], eax
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
mov dword [esp], ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dl, byte [edi + 0x360]
add esp, 0x10
movzx ecx, dl
@@ -21975,14 +21975,14 @@ push edx
push edx
push 0
push dword [ebp - 0x1c]
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
pop ecx
pop eax
movzx eax, byte [edi + 0x360]
shl eax, 0x18
push eax
push ebx
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
loc_0000d852:
@@ -22033,7 +22033,7 @@ call get_pci_dev_base ; call 0x16c9a
lea esi, [eax + 0xf0]
mov ebx, eax
mov dword [esp], esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
lea eax, [ebp - 0x20]
push eax
push 0
@@ -22087,7 +22087,7 @@ or eax, 1
push eax
push 0x3fff
push esi
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
lea esi, [ebx + 0x40]
pop eax
mov eax, dword [ebp - 0x20]
@@ -22095,14 +22095,14 @@ pop edx
movzx eax, word [eax + 8]
push eax
push esi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
call fcn_00015480 ; call 0x15480
add esp, 0x10
test al, al
je short loc_0000d9ac ; je 0xd9ac
sub esp, 0xc
push esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, dword [ebp - 0x20]
add esp, 0x10
movzx edx, word [edx + 8]
@@ -22150,14 +22150,14 @@ pop edx
movzx eax, word [eax + 0xa]
push eax
push esi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
call fcn_00015480 ; call 0x15480
add esp, 0x10
test al, al
je short loc_0000da38 ; je 0xda38
sub esp, 0xc
push esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, dword [ebp - 0x20]
add esp, 0x10
movzx edx, word [edx + 0xa]
@@ -22209,7 +22209,7 @@ and edx, 0x22
push edx
push eax
push ebx
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
pop ebx
push dword [ebp - 0x20]
call fcn_0000cbfc ; call 0xcbfc
@@ -22516,7 +22516,7 @@ push dword [eax + 0x4e2]
add esi, dword [eax + 0x4de]
mov dword [ebp - 0x1c], edx
push esi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov edx, dword [ebp - 0x1c]
add esp, 0x10
inc edx
@@ -22586,7 +22586,7 @@ push dword [eax + 4]
add ecx, dword [eax]
mov dword [ebp - 0x1c], edx
push ecx
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov edx, dword [ebp - 0x1c]
add esp, 0x10
mov ecx, dword [ebp - 0x20]
@@ -22623,7 +22623,7 @@ pop edi
pop ebp
ret
-fcn_0000ded1:
+pch_early_init:
push ebp
mov ebp, esp
push edi
@@ -22649,7 +22649,7 @@ call get_pci_dev_base ; call 0x16c9a
mov edi, eax
lea eax, [eax + 0xa4]
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test al, 4
je loc_0000dfd2 ; je 0xdfd2
@@ -22657,16 +22657,16 @@ push ecx
push ecx
push 1
push dword [ebp + 8]
-call fcn_0001be4f ; call 0x1be4f
+call enable_alt_access_mode ; call 0x1be4f
mov dword [esp], 0x70
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
pop esi
mov bl, al
pop eax
and ebx, 0xffffff80
push 0
push dword [ebp + 8]
-call fcn_0001be4f ; call 0x1be4f
+call enable_alt_access_mode ; call 0x1be4f
mov dl, bl
or ebx, 0xb
or edx, 0xa
@@ -22678,7 +22678,7 @@ push esi
push 0x70
call outb ; call 0x18eea
mov dword [esp], 0x71
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
pop ecx
pop edx
and eax, 0x8f
@@ -22702,7 +22702,7 @@ push esi
push 0x70
call outb ; call 0x18eea
mov dword [esp], 0x71
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
pop edx
pop ecx
and eax, 0x8f
@@ -22730,12 +22730,12 @@ push edx
push 0x10
lea esi, [eax + 0x3310]
push esi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0xc
push 8
push 0xf3
push edi
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
call fcn_00015479 ; call 0x15479
add esp, 0x10
test al, al
@@ -22755,7 +22755,7 @@ pop edi
pop ebp
ret
-fcn_0000e020:
+InstallPchInitPpi:
push ebp
mov ebp, esp
push esi
@@ -22771,7 +22771,7 @@ call efi_console_out ; call 0x15487
add esp, 0x10
loc_0000e03f:
-call fcn_0001bd75 ; call 0x1bd75
+call pch_get_type ; call 0x1bd75
test al, al
jne short loc_0000e086 ; jne 0xe086
call fcn_00015479 ; call 0x15479
@@ -22803,7 +22803,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0xf0
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov ebx, eax
call fcn_00015479 ; call 0x15479
and ebx, 0xffffc000
@@ -22821,9 +22821,9 @@ loc_0000e0c4:
call fcn_00015480 ; call 0x15480
sub esp, 0xc
push ebx
-call fcn_0000ded1 ; call 0xded1
+call pch_early_init ; call 0xded1
mov dword [esp], 0xc
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
add esp, 0x10
mov ebx, eax
test eax, eax
@@ -22847,7 +22847,7 @@ jmp near loc_0000e262 ; jmp 0xe262
loc_0000e10e:
sub esp, 0xc
push 0x28
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
add esp, 0x10
mov esi, eax
test eax, eax
@@ -27257,7 +27257,7 @@ push eax
push 0xf0ffff01
push ebx
mov dword [ebp - 0xc], ecx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov ecx, dword [ebp - 0xc]
add esp, 0x10
dec ecx
@@ -27265,7 +27265,7 @@ cmp cl, 1
ja short loc_00010b62 ; ja 0x10b62
sub esp, 0xc
push ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
jmp short loc_00010b62 ; jmp 0x10b62
@@ -27311,7 +27311,7 @@ add ebx, 0x2036
loc_00010ba2: ; not directly referenced
sub esp, 0xc
push ebx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test al, 2
jne short loc_00010ba2 ; jne 0x10ba2
@@ -27376,7 +27376,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0xf0
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0xc
push 0x200000
push 0xff0fffff
@@ -27384,7 +27384,7 @@ mov esi, eax
and esi, 0xffffc000
lea edi, [esi + 0x50]
push edi
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov eax, dword [ebp - 0x20]
add esp, 0x10
cmp byte [eax + 0x24], 1
@@ -27400,7 +27400,7 @@ loc_00010c7e: ; not directly referenced
sub esp, 0xc
xor ebx, ebx
push edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
loc_00010c8c: ; not directly referenced
@@ -27471,7 +27471,7 @@ push 0x80000000
push edi
call fcn_00018b14 ; call 0x18b14
mov dword [esp], edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
loc_00010d38: ; not directly referenced
@@ -27523,12 +27523,12 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0xf0
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov ebx, eax
and ebx, 0xffffc000
lea eax, [ebx + 0x21a4]
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
and eax, 0xf
cmp eax, 2
@@ -27538,7 +27538,7 @@ add ebx, 0x21b0
push 2
push 0xf0
push ebx
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
add esp, 0x10
loc_00010dda: ; not directly referenced
@@ -27568,7 +27568,7 @@ mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
add eax, 0x410
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov byte [ebp - 0x1b], al
cmp ebx, 0x22
@@ -28018,10 +28018,10 @@ lea eax, [esi + 0x410]
add esi, 0xfc
push eax
mov dword [ebp - 0x1c], ecx
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
mov dword [esp], esi
mov edi, eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
cmp ecx, 0x22
@@ -28241,7 +28241,7 @@ mov dword [ebp - 0x20], eax
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], edi
mov dword [ebp - 0x24], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
call fcn_0001bbfd ; call 0x1bbfd
movzx eax, al
mov dword [ebp - 0x1c], eax
@@ -28250,7 +28250,7 @@ pop edx
lea eax, [ebx + 0x2088]
push 0x109000
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
lea eax, [ebx + 0x20ac]
pop ecx
pop edi
@@ -28265,18 +28265,18 @@ push eax
push 0x1b
lea edi, [ebx + 0x2340]
push edi
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
add esp, 0xc
push 0x3a0000
push 0xff00ffff
push edi
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
lea eax, [ebx + 0x2324]
pop edx
pop ecx
push 0x854c74
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
loc_00011532:
@@ -28390,7 +28390,7 @@ loc_0001164b:
sub esp, 0xc
lea eax, [ebx + 0x2320]
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov edx, 0x20000
test al, 2
@@ -28399,7 +28399,7 @@ mov eax, dword [ebp - 0x20]
sub esp, 0xc
add eax, 0xf5
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
and eax, 1
cmp al, 1
@@ -28414,7 +28414,7 @@ push edx
push 0xfffc0fff
lea eax, [ebx + 0x21a4]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_000116a3:
@@ -28430,7 +28430,7 @@ push 0x10000
push 0xffffff7f
add eax, 0xb0
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
call fcn_0001bfbb ; call 0x1bfbb
add esp, 0x10
cmp eax, 2
@@ -28555,12 +28555,12 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0xf0
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edi, eax
and edi, 0xffffc000
lea esi, [edi + 0x3418]
mov dword [esp], esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0xc
push ebx
mov dword [ebp - 0x1c], eax
@@ -28602,9 +28602,9 @@ push edx
push edx
push dword [ebp - 0x1c]
push esi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov dword [esp], esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
loc_0001189f:
@@ -28743,7 +28743,7 @@ movzx esi, al
push edx
imul esi, esi, 0x2c
mov dword [ebp - 0x24], edx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edi, dword [ebp + 0x10]
pop edx
pop ecx
@@ -28757,11 +28757,11 @@ cmovne ecx, eax
and ecx, 0xfff3ffff
push ecx
push edx
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
lea eax, [ebx + 0x68]
mov dword [esp], eax
mov dword [ebp - 0x24], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
pop edx
pop ecx
mov edx, eax
@@ -28778,11 +28778,11 @@ push 0x14140000
push 0xffff
lea eax, [ebx + 0x318]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov eax, dword [ebp - 0x20]
add eax, 0xf5
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0xc
mov edi, dword [ebp + 0x10]
lea ecx, [ebx + 0x4c]
@@ -28797,36 +28797,36 @@ add eax, 0x20000
push eax
push 0xfffc7fff
push ecx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0xc
push 0x743a361b
push 0
lea eax, [ebx + 0x314]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0xc
push 0x18000
lea eax, [ebx + 0xd8]
push 0xfffc7fff
push eax
mov dword [ebp - 0x20], eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0xc
push 0x854c74
push 0xff000000
lea eax, [ebx + 0x33c]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0xc
push 0x2000000
push 0xfdffffff
push dword [ebp - 0x20]
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0xc
push 0x8000008
push 0xf7fffff7
push dword [ebp - 0x20]
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
pop eax
pop edx
lea eax, [ebx + 0xf5]
@@ -28846,7 +28846,7 @@ cmove eax, edx
push eax
lea eax, [ebx + 0x100]
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov dl, byte [edi + 6]
add esp, 0xc
and edx, 0x20
@@ -28873,7 +28873,7 @@ push 0x1000c0
push 0xffcffe3f
lea eax, [ebx + 0x320]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_00011b8f: ; not directly referenced
@@ -28907,7 +28907,7 @@ shl edx, 0x1c
sar edx, 0x1f
and edx, 0x60
mov dword [ebp - 0x24], edx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov edx, dword [ebp - 0x24]
and eax, 0x3f0
@@ -28920,7 +28920,7 @@ loc_00011bf8: ; not directly referenced
sub esp, 0xc
push dword [ebp - 0x30]
mov dword [ebp - 0x24], edx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, dword [ebp - 0x24]
add esp, 0x10
mov ecx, edx
@@ -28938,7 +28938,7 @@ push eax
push 0x6001f
lea eax, [ebx + 0x54]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_00011c38: ; not directly referenced
@@ -28987,7 +28987,7 @@ push edx
push eax
lea eax, [ebx + 0xe0]
push eax
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
mov dl, byte [esi + 4]
add esp, 0xc
mov al, dl
@@ -29052,7 +29052,7 @@ add esp, 0xc
push 0x80000000
push 0xfffffffffffffffe
push dword [ebp - 0x20]
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp dword [ebp - 0x1c], 2
jne short loc_00011d76 ; jne 0x11d76
@@ -29085,7 +29085,7 @@ mov esi, dword [ebp - 0x38]
sub esp, 0xc
add esi, 0xa0
push esi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test ah, 4
jne short loc_00011dce ; jne 0x11dce
@@ -29117,7 +29117,7 @@ add esp, 0xc
push 0x40000000
push 0xfffffffffffffffd
push dword [ebp - 0x20]
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp dword [ebp - 0x1c], 2
jne short loc_00011e23 ; jne 0x11e23
@@ -29204,7 +29204,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0x48
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
and eax, 0xfffc
lea eax, [eax + ebx*8 + 0x190]
mov dword [esp], eax
@@ -29255,7 +29255,7 @@ push 8
push 0xf3
lea eax, [esi + 0xe8]
push eax
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
add esp, 0x10
loc_00011f69: ; not directly referenced
@@ -29507,7 +29507,7 @@ mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push ebx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
jne short loc_000121e1 ; jne 0x121e1
@@ -29525,7 +29525,7 @@ loc_000121e1: ; not directly referenced
sub esp, 0xc
add ebx, 0xfc
push ebx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
and ax, 0xc000
cmp ax, 0x8000
@@ -29555,7 +29555,7 @@ push eax
call get_pci_dev_base ; call 0x16c9a
add eax, 0xfc
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
and ax, 0xc000
cmp ax, 0x8000
@@ -29618,11 +29618,11 @@ mov ebx, eax
lea eax, [eax + 0xf0]
add ebx, 0x40
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [esp], ebx
mov dword [ebp - 0x30], eax
and dword [ebp - 0x30], 0xffffc000
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov edi, dword [ebp - 0x30]
mov word [ebp - 0x3e], ax
pop eax
@@ -29663,7 +29663,7 @@ mov byte [ebp - 0x39], al
mov eax, esi
add eax, 0xf5
push eax
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
add esp, 0xc
push dword [ebp + 8]
push esi
@@ -29672,7 +29672,7 @@ call fcn_000121a5 ; call 0x121a5
mov eax, esi
add eax, 0xfc
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov esi, eax
and eax, 0xc000
@@ -29700,7 +29700,7 @@ jne short loc_000123ec ; jne 0x123ec
sub esp, 0xc
add ebx, 0xfc
push ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
and eax, 0xc000
cmp eax, 0x8000
@@ -29726,7 +29726,7 @@ sub esp, 0xc
mov bl, 0xff
add eax, 0x3414
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test esi, 0x80000
je short loc_00012419 ; je 0x12419
@@ -29743,7 +29743,7 @@ mov eax, dword [ebp - 0x34]
sub esp, 0xc
add eax, 0x410
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 0x11
je short loc_0001243f ; je 0x1243f
@@ -29763,7 +29763,7 @@ mov eax, dword [ebp - 0x34]
sub esp, 0xc
lea esi, [eax + 0x410]
push esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test al, 3
jne short loc_0001246b ; jne 0x1246b
@@ -29775,7 +29775,7 @@ jmp near loc_00012c21 ; jmp 0x12c21
loc_0001246b: ; not directly referenced
sub esp, 0xc
push esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
and eax, 3
cmp eax, 2
@@ -29865,7 +29865,7 @@ mov eax, dword [ebp - 0x34]
sub esp, 0xc
add eax, 0x410
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, edi
add esp, 0x10
or edx, 0x20
@@ -29895,7 +29895,7 @@ sub esp, 0xc
add eax, 0x1030
push eax
mov dword [ebp - 0x4c], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov dword [ebp - 0x48], 0xff
test eax, 0x400000
@@ -30082,7 +30082,7 @@ push esi
push eax
lea eax, [ebx + 0x418]
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
loc_00012774: ; not directly referenced
@@ -30195,7 +30195,7 @@ call fcn_00018927 ; call 0x18927
lea edx, [ebx + 0x5a]
mov dword [esp], edx
mov dword [ebp - 0x54], edx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
mov edx, dword [ebp - 0x54]
test al, 0x40
@@ -30221,7 +30221,7 @@ mov dword [ebp - 0x54], eax
loc_000128e6: ; not directly referenced
sub esp, 0xc
push dword [ebp - 0x54]
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
and eax, 0xff000000
cmp eax, 0x1000000
@@ -30255,7 +30255,7 @@ test dword [ebp - 0x34], esi
jne short loc_00012972 ; jne 0x12972
sub esp, 0xc
push edx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test al, 0x40
je short loc_0001295e ; je 0x1295e
@@ -30279,7 +30279,7 @@ loc_00012972: ; not directly referenced
sub esp, 0xc
lea eax, [ebx + 0xe0]
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
cmp dword [ebp - 0x20], 0x11
jne short loc_0001298e ; jne 0x1298e
@@ -30295,7 +30295,7 @@ cmp dword [ebp - 0x44], eax
jae short loc_000129bc ; jae 0x129bc
sub esp, 0xc
push esi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test ah, 0x20
jne short loc_000129bc ; jne 0x129bc
@@ -30338,7 +30338,7 @@ je short loc_00012a58 ; je 0x12a58
sub esp, 0xc
lea eax, [ebx + 0x328]
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
and eax, 0x780000
cmp eax, 0x380000
@@ -30367,7 +30367,7 @@ add esp, 0x10
loc_00012a58: ; not directly referenced
sub esp, 0xc
push ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
inc eax
je short loc_00012ab8 ; je 0x12ab8
@@ -30439,7 +30439,7 @@ mov dword [edx], eax
loc_00012afe: ; not directly referenced
sub esp, 0xc
push dword [ebp - 0x4c]
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test eax, 0x400000
je short loc_00012b66 ; je 0x12b66
@@ -30506,7 +30506,7 @@ push eax
call get_pci_dev_base ; call 0x16c9a
mov dword [esp], eax
mov esi, eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
inc ax
je short loc_00012bd4 ; je 0x12bd4
@@ -30553,13 +30553,13 @@ jmp short loc_00012c60 ; jmp 0x12c60
loc_00012c21: ; not directly referenced
sub esp, 0xc
push esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test al, 0xc
je loc_00012492 ; je 0x12492
sub esp, 0xc
push esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
and eax, 0xc
cmp eax, 8
@@ -30596,7 +30596,7 @@ mov esi, dword [ebp + 0x10]
loc_00012c7e: ; not directly referenced
sub esp, 0xc
push dword [ebp + 8]
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
and eax, edi
cmp ax, si
@@ -30654,7 +30654,7 @@ push ecx
push dword [eax]
lea eax, [esi + 0x60]
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop edi
pop eax
push 3
@@ -30682,14 +30682,14 @@ cmp byte [ebp - 0x1c], 1
jne short loc_00012d7f ; jne 0x12d7f
sub esp, 0xc
push ebx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test al, 2
je short loc_00012d5d ; je 0x12d5d
sub esp, 0xc
add esi, 0x64
push esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
@@ -30810,7 +30810,7 @@ push eax
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
lea edx, [eax + 0x63bf]
cmp dx, 6
@@ -30846,7 +30846,7 @@ add ebx, 0x42
push esi
push 0x3f
push ebx
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
add esp, 0x10
loc_00012ea9: ; not directly referenced
@@ -30898,22 +30898,22 @@ push eax
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov dword [esp], edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test eax, eax
jns short loc_00012f6f ; jns 0x12f6f
sub esp, 0xc
push edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0xc
and eax, 0xfe
or eax, 0x2000000
push eax
push 0xf8ffff01
push esi
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp dword [ebp - 0x2c], 1
jne short loc_00012f6f ; jne 0x12f6f
@@ -30928,7 +30928,7 @@ add esp, 0x10
loc_00012f6f: ; not directly referenced
sub esp, 0xc
push esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test eax, 0x7000000
je short loc_00012fc3 ; je 0x12fc3
@@ -30970,14 +30970,14 @@ push edx
push eax
push ecx
mov dword [ebp - 0x34], eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
lea eax, [ebx + 0x14]
pop ecx
pop esi
mov dword [ebp - 0x44], eax
push 0
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
lea eax, [ebx + 4]
pop edi
pop edx
@@ -31054,7 +31054,7 @@ je short loc_000130c6 ; je 0x130c6
sub esp, 0xc
lea eax, [ebx + 0x4d]
push eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
test al, 1
jne short loc_000130c6 ; jne 0x130c6
@@ -31106,7 +31106,7 @@ push 1
push esi
call fcn_00012c6a ; call 0x12c6a
mov dword [esp], edi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
pop edx
pop ecx
movzx eax, ax
@@ -31191,7 +31191,7 @@ loc_000131f4: ; not directly referenced
sub esp, 0xc
push dword [ebp - 0x3c]
mov dword [ebp - 0x4c], edx
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
mov edx, dword [ebp - 0x4c]
add esp, 0x10
mov byte [ebp - 0x2d], al
@@ -31460,12 +31460,12 @@ pop ecx
pop ebx
push 0
push dword [ebp - 0x40]
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop esi
pop eax
push 0
push dword [ebp - 0x44]
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
call fcn_00015479 ; call 0x15479
add esp, 0x10
test al, al
@@ -31500,7 +31500,7 @@ lea edi, [esi + 0x20]
loc_000134f9:
sub esp, 0xc
push edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test al, 2
je short loc_00013519 ; je 0x13519
@@ -31514,7 +31514,7 @@ jne short loc_000134f9 ; jne 0x134f9
loc_00013519:
sub esp, 0xc
push edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test al, 2
jne short loc_00013542 ; jne 0x13542
@@ -31526,7 +31526,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00017e8f ; jmp 0x17e8f
+jmp near write32 ; jmp 0x17e8f
loc_00013542:
lea esp, [ebp - 0xc]
@@ -31546,7 +31546,7 @@ sub esp, 0x18
mov ebx, dword [ebp + 0x14]
lea esi, [ebx + 0x84]
push esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test al, 1
je short loc_00013592 ; je 0x13592
@@ -31554,7 +31554,7 @@ je short loc_00013592 ; je 0x13592
loc_00013569:
sub esp, 0xc
push esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test al, 1
je short loc_000135d7 ; je 0x135d7
@@ -31572,20 +31572,20 @@ loc_00013592:
sub esp, 0xc
lea edi, [ebx + 0x80]
push edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
pop edx
pop ecx
and eax, 0xfffffffe
push eax
push edi
mov edi, 0xc8
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
loc_000135b5:
sub esp, 0xc
push esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test al, 1
jne short loc_00013569 ; jne 0x13569
@@ -31642,7 +31642,7 @@ push 0
lea eax, [ebx + 0x10]
add ebx, 4
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
pop edx
push 0
@@ -31665,14 +31665,14 @@ loc_0001366c:
sub esp, 0xc
lea edi, [ebx + 0x10]
push edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test eax, eax
jne short loc_000136af ; jne 0x136af
sub esp, 0xc
lea eax, [ebx + 4]
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test al, 2
jne short loc_000136af ; jne 0x136af
@@ -31680,7 +31680,7 @@ push ecx
push ecx
push dword [ebp + 0xc]
push edi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
mov esi, dword [ebp + 0xc]
mov byte [ebp - 0x1a], 0
@@ -31690,11 +31690,11 @@ jmp short loc_000136d0 ; jmp 0x136d0
loc_000136af:
sub esp, 0xc
push edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov esi, eax
lea eax, [ebx + 4]
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
mov byte [ebp - 0x1a], 1
mov word [ebp - 0x1c], ax
@@ -31754,14 +31754,14 @@ call fcn_00018954 ; call 0x18954
lea edx, [ebx + 0x78]
mov dword [esp], edx
mov dword [ebp - 0x24], edx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
pop ecx
pop edx
mov edx, dword [ebp - 0x24]
or eax, 4
push eax
push edx
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop ecx
pop eax
lea eax, [ebx + 0x7c]
@@ -31770,14 +31770,14 @@ push 0x4080
push eax
call fcn_00018b14 ; call 0x18b14
mov dword [esp], ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
pop edx
pop ecx
and eax, 0xfbfff4ff
or eax, 0x20400
push eax
push ebx
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
cmp byte [ebp - 0x1a], 0
je short loc_000137b6 ; je 0x137b6
@@ -31812,7 +31812,7 @@ pop edx
pop ecx
push 0
push edi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
loc_000137e9:
add esp, 0x10
@@ -31854,7 +31854,7 @@ jne short loc_0001386c ; jne 0x1386c
sub esp, 0xc
lea eax, [edi + 0xe0]
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov edx, 0x15000000
and eax, 0x18
@@ -31878,7 +31878,7 @@ loc_00013878:
push 0xffffff
lea eax, [ebx + 4]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_00013889:
@@ -31906,19 +31906,19 @@ push edx
push eax
lea eax, [edi + 0x50]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0xc
push 0x200000a
push 0xff00
lea eax, [ebx + 0xc]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0xc
push 0x600
push 0xffffffffffffffdf
lea eax, [ebx + 0x10]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
cmp esi, 2
jne short loc_00013946 ; jne 0x13946
@@ -31929,7 +31929,7 @@ add edi, 0xb0
push 0x20000
push 0xffff9fff
push edi
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
jmp short loc_0001393e ; jmp 0x1393e
loc_00013921:
@@ -31962,7 +31962,7 @@ loc_00013966:
push 0xfffffeff
lea eax, [ebx + 0x8058]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_0001397a:
@@ -31989,13 +31989,13 @@ push 0x40
push 0xfffeffff
lea eax, [ebx + 0x80e0]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0xc
push 0xc00
push 0xffff8dff
lea eax, [ebx + 0x80ec]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
lea eax, [ebx + 0x80f0]
pop ecx
pop edi
@@ -32016,13 +32016,13 @@ push 0x100800
push 0xfffffefb
lea eax, [ebx + 0x8110]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0xc
push 0xff00f03c
push 0
lea eax, [ebx + 0x8140]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
pop eax
pop edx
lea eax, [ebx + 0x8144]
@@ -32046,19 +32046,19 @@ push 0x100800
push 0xfffffffffffffffb
lea eax, [ebx + 0x8110]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0xc
push 0xff03c132
push 0
lea eax, [ebx + 0x8140]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0xc
push 0x100
push 0xffffff3f
lea eax, [ebx + 0x8144]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
mov eax, 0x202000
@@ -32070,7 +32070,7 @@ push eax
lea edx, [ebx + 0x8154]
push edx
mov dword [ebp - 0x28], edx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
pop eax
pop edx
mov edx, dword [ebp - 0x28]
@@ -32104,31 +32104,31 @@ push edi
push 0xfff00000
lea eax, [ebx + 0x816c]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
pop eax
pop edx
lea eax, [ebx + 0x8174]
push 0x1400c0a
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0xc
push 0x33200a3
push 0
lea eax, [ebx + 0x817c]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0xc
push 0xcb0028
push 0
lea eax, [ebx + 0x8180]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0xc
push 0x64001e
push 0
lea eax, [ebx + 0x8184]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_00013b80:
@@ -32167,7 +32167,7 @@ push 2
push 0xfffffffffffffff9
lea eax, [ebx + 0x8098]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov ecx, dword [ebp - 0x20]
add esp, 0xc
mov edx, 0x1737d
@@ -32179,7 +32179,7 @@ push 0xfffd8000
lea eax, [ebx + 0x8198]
add ebx, 0x819c
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], 0xfffffff0
@@ -32232,7 +32232,7 @@ add esp, 0x14
lea edx, [ebx + 0x40]
push edx
mov dword [ebp - 0x20], edx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
pop edx
mov edx, dword [ebp - 0x20]
mov ecx, eax
@@ -32253,7 +32253,7 @@ movzx eax, al
push eax
lea eax, [ebx + 0x42]
push eax
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
pop ecx
pop eax
lea eax, [ebx + 0x44]
@@ -32298,7 +32298,7 @@ add ebx, 0xa4
push eax
push 0xffffdfff
push ebx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
@@ -32332,7 +32332,7 @@ mov eax, dword [ebp + 8]
sub esp, 0xc
lea edi, [eax + 0xe0]
push edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov edx, dword [ebp - 0x1c]
and eax, 6
@@ -32364,7 +32364,7 @@ loc_00013dd1:
or dword [ebx], 0xf0
sub esp, 0xc
push edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
and eax, 0x18
cmp eax, 0x10
@@ -32402,7 +32402,7 @@ mov dword [eax], 0x3f
loc_00013e37:
sub esp, 0xc
push edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
and eax, 0x20
je short loc_00013e5f ; je 0x13e5f
@@ -32432,7 +32432,7 @@ mov dword [eax], 0xf
mov eax, dword [ebp + 8]
lea edi, [eax + 0xe0]
push edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
and eax, 0x20
je short loc_00013ebc ; je 0x13ebc
@@ -32455,7 +32455,7 @@ sub esp, 0xc
mov dword [ebp - 0x1c], edx
lea edi, [eax + 0xe0]
push edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov edx, dword [ebp - 0x1c]
test al, 2
@@ -32470,7 +32470,7 @@ sub esp, 0xc
mov byte [edx], 0xa
mov dword [ebx], 0xff
push edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test al, 0x20
jne short loc_00013f1d ; jne 0x13f1d
@@ -32575,12 +32575,12 @@ mov eax, dword [ebp + 0xc]
add esp, 0x14
add eax, 0x10
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov ecx, dword [ebp + 0xc]
shr eax, 0x10
lea ebx, [ecx + eax*4]
mov dword [esp], ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov esi, eax
call fcn_00015479 ; call 0x15479
add esp, 0x10
@@ -32602,14 +32602,14 @@ jne short loc_000140c3 ; jne 0x140c3
sub esp, 0xc
lea eax, [ebx + 0x20]
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test al, 1
je loc_000140df ; je 0x140df
sub esp, 0xc
add ebx, 0x24
push ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
movzx edx, byte [ebp - 0x25]
add esp, 0x10
mov dword [ebp - 0x2c], 0
@@ -32652,7 +32652,7 @@ je short loc_000140df ; je 0x140df
lea ebx, [ebx + esi*4]
sub esp, 0xc
push ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov esi, eax
jmp near loc_0001403c ; jmp 0x1403c
@@ -32668,7 +32668,7 @@ add eax, 0xd4
mov dword [ebp - 0x38], eax
push 0xffff8000
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0xc
mov eax, dword [ebp + 0x18]
push dword [ebp - 0x20]
@@ -32676,7 +32676,7 @@ add eax, 0xdc
push 0xffffffffffffffc0
push eax
mov dword [ebp - 0x3c], eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
lea eax, [ebp - 0x1c]
mov dword [esp], eax
call fcn_00019797 ; call 0x19797
@@ -32688,7 +32688,7 @@ sub esp, 0xc
add eax, 0xa2
push eax
mov dword [ebp - 0x40], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test al, 0x20
je short loc_000141c8 ; je 0x141c8
@@ -32696,13 +32696,13 @@ mov eax, dword [ebp + 0x1c]
sub esp, 0xc
add eax, 0xac
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test eax, 0x10000
je short loc_000141c8 ; je 0x141c8
sub esp, 0xc
push dword [ebp - 0x3c]
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
and eax, 0x3f
cmp byte [ebp - 0x2d], 0
@@ -32719,10 +32719,10 @@ mov eax, dword [ebp + 0x18]
push 0xffffffffffffffc0
add eax, 0xd8
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
pop ecx
push dword [ebp - 0x38]
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0xc
and eax, 0x7fff
push eax
@@ -32730,7 +32730,7 @@ mov eax, dword [ebp + 0x18]
push 0xffff8000
add eax, 0xd0
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_000141c8:
@@ -32764,7 +32764,7 @@ mov esi, ecx
jne loc_000142d0 ; jne 0x142d0
sub esp, 0xc
push dword [ebp - 0x40]
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test al, 0x20
jne short loc_0001423a ; jne 0x1423a
@@ -32794,7 +32794,7 @@ push 0x80000000
push 0xfffffffffffffffd
add eax, dword [edi + esi*4]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_0001426a:
@@ -32826,7 +32826,7 @@ sub esp, 0xc
add eax, dword [edi + edx*4]
mov dword [ebp - 0x44], edx
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, dword [ebp - 0x44]
add esp, 0x10
or esi, eax
@@ -32856,7 +32856,7 @@ mov eax, dword [ebp + 0x18]
sub esp, 0xc
lea ebx, [eax + 0xd0]
push ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test eax, eax
je short loc_00014301 ; je 0x14301
@@ -32870,7 +32870,7 @@ mov eax, dword [ebp + 0x18]
sub esp, 0xc
add eax, 0xd8
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test eax, eax
jne short loc_000142fd ; jne 0x142fd
@@ -32882,7 +32882,7 @@ sub esp, 0xc
mov eax, dword [ebp + 0xc]
add eax, dword [ecx + esi*4]
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test al, 1
je short loc_0001434e ; je 0x1434e
@@ -32893,7 +32893,7 @@ push 0x10
push 0xfffffffffffffffd
add eax, dword [ecx + esi*4]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_0001434e:
@@ -32919,7 +32919,7 @@ mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], edx
add eax, dword [ecx + edx*4]
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, dword [ebp - 0x3c]
add esp, 0x10
inc edx
@@ -32957,7 +32957,7 @@ push 0xfffffffffffffffd
add eax, dword [ecx + ebx*4]
inc ebx
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
jmp short loc_000143b6 ; jmp 0x143b6
@@ -32971,7 +32971,7 @@ mov ecx, dword [ebp + 0xc]
push 0xfffffffffffffffd
add ecx, dword [edx + eax*4]
push ecx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_000143fb:
@@ -32995,7 +32995,7 @@ push 0x80000000
push 0xfffffffffffffffd
add eax, dword [edi + esi*4]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_0001442b:
@@ -33044,7 +33044,7 @@ sub esp, 0xc
add eax, dword [edi + edx*4]
mov dword [ebp - 0x3c], edx
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, dword [ebp - 0x3c]
add esp, 0x10
or esi, eax
@@ -33084,7 +33084,7 @@ push 0xfe0000
push 0xfffffffffffffffd
add eax, dword [edi + esi*4]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_000144e4:
@@ -33114,7 +33114,7 @@ cmp al, 2
jne short loc_00014578 ; jne 0x14578
sub esp, 0xc
push dword [ebp - 0x3c]
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
and eax, 0x3f
cmp byte [ebp - 0x2d], 0
@@ -33131,10 +33131,10 @@ mov eax, dword [ebp + 0x18]
push 0xffffffffffffffc0
add eax, 0xd8
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
pop ecx
push dword [ebp - 0x38]
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0xc
and eax, 0x7fff
push eax
@@ -33142,7 +33142,7 @@ mov eax, dword [ebp + 0x18]
push 0xffff8000
add eax, 0xd0
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
loc_00014570:
add esp, 0x10
@@ -33151,7 +33151,7 @@ jmp near loc_0001461f ; jmp 0x1461f
loc_00014578:
sub esp, 0xc
push dword [ebp - 0x40]
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
test al, 0x20
je loc_0001461f ; je 0x1461f
@@ -33175,7 +33175,7 @@ push 0x80000000
push 0xfffffffffffffffd
add eax, dword [edi + esi*4]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_000145be:
@@ -33208,7 +33208,7 @@ sub esp, 0xc
add eax, dword [edi + esi*4]
inc esi
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
or ebx, eax
jmp short loc_000145e2 ; jmp 0x145e2
@@ -33241,7 +33241,7 @@ sub esp, 0xc
mov eax, dword [ebp + 0xc]
add eax, dword [ecx + ebx*4]
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test al, 1
je short loc_00014666 ; je 0x14666
@@ -33252,7 +33252,7 @@ mov eax, dword [ebp + 0xc]
push 0xfffffffffffffffd
add eax, dword [ecx + ebx*4]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_00014666:
@@ -33276,7 +33276,7 @@ mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], edx
add eax, dword [ecx + edx*4]
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, dword [ebp - 0x38]
add esp, 0x10
inc edx
@@ -33321,7 +33321,7 @@ mov eax, dword [ebp + 0x18]
push 0xffff8000
add eax, 0xd0
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_000146f0:
@@ -33336,7 +33336,7 @@ push 0xfffffffffffffffd
add eax, dword [ecx + ebx*4]
inc ebx
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
jmp short loc_000146f0 ; jmp 0x146f0
@@ -33350,7 +33350,7 @@ push 0xfe0000
push 0xfffffffffffffffd
add ecx, dword [edx + eax*4]
push ecx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_00014735:
@@ -33374,7 +33374,7 @@ push 0x80000000
push 0xfffffffffffffffd
add eax, dword [edi + esi*4]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_00014765:
@@ -33416,7 +33416,7 @@ mov eax, dword [ebp + 0x18]
push 0xffffffffffffffc0
add eax, 0xd8
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov al, byte [ebp - 0x2d]
add esp, 0x10
and eax, 1
@@ -33441,7 +33441,7 @@ sub esp, 0xc
add eax, dword [edi + edx*4]
mov dword [ebp - 0x3c], edx
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, dword [ebp - 0x3c]
add esp, 0x10
or esi, eax
@@ -33481,7 +33481,7 @@ push 0xfe0000
push 0xfffffffffffffffd
add eax, dword [edi + esi*4]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
loc_00014839:
@@ -33545,13 +33545,13 @@ sub esp, 0x44
push 0x10
lea eax, [ebp - 0x38]
push eax
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
pop eax
pop edx
lea eax, [ebp - 0x28]
push 0x10
push eax
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
call fcn_0001bfbb ; call 0x1bfbb
mov dword [ebp - 0x40], eax
call fcn_0001c0bd ; call 0x1c0bd
@@ -33661,14 +33661,14 @@ push ecx
push edi
add eax, 0xc0
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop edi
pop eax
mov eax, dword [ebp + 0xc]
push esi
add eax, 0xc8
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
cmp dword [ebp - 0x40], 1
jne loc_00014b50 ; jne 0x14b50
@@ -33678,14 +33678,14 @@ mov eax, dword [ebp + 0xc]
push dword [ebp - 0x3c]
add eax, 0xc4
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
pop eax
mov eax, dword [ebp + 0xc]
pop edx
add eax, 0xcc
push ebx
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
jmp near loc_00014b4d ; jmp 0x14b4d
loc_00014a1b:
@@ -33743,7 +33743,7 @@ push eax
push dword [ebx + esi - 0xc0]
push esi
add esi, 4
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
cmp esi, dword [ebp - 0x3c]
jne short loc_00014a9a ; jne 0x14a9a
@@ -33792,7 +33792,7 @@ push edx
push dword [esi + ebx - 0xb0]
push ebx
add ebx, 4
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
cmp ebx, dword [ebp - 0x40]
jne short loc_00014b13 ; jne 0x14b13
@@ -33902,7 +33902,7 @@ mov eax, dword [ebp - 0x24]
push edi
add eax, 0x74
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
loc_00014c20:
@@ -33920,7 +33920,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00017e8f ; jmp 0x17e8f
+jmp near write32 ; jmp 0x17e8f
loc_00014c47:
lea esp, [ebp - 0xc]
@@ -34046,7 +34046,7 @@ lea eax, [edi + 0xe4]
sub esp, 0xc
push eax
mov dword [ebp - 0x20], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
xor edx, edx
mov ebx, eax
@@ -34086,7 +34086,7 @@ lea eax, [edi + 0xe8]
sub esp, 0xc
push eax
mov dword [ebp - 0x1c], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
xor ecx, ecx
mov edi, eax
@@ -34120,7 +34120,7 @@ push eax
push eax
push ebx
push dword [ebp - 0x20]
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov eax, dword [ebp - 0x1c]
add esp, 0x10
mov dword [ebp + 0xc], edi
@@ -34130,7 +34130,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00017e8f ; jmp 0x17e8f
+jmp near write32 ; jmp 0x17e8f
loc_00014e0a:
lea esp, [ebp - 0xc]
@@ -34169,7 +34169,7 @@ push eax
lea eax, [ebx + 0x10]
add ebx, 4
push eax
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
add esp, 0x10
mov dword [ebp + 8], ebx
mov ebx, dword [ebp - 4]
@@ -34203,7 +34203,7 @@ mov dword [ebp + 8], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp + 0xc], 0
leave
-jmp near fcn_00017e8f ; jmp 0x17e8f
+jmp near write32 ; jmp 0x17e8f
loc_00014ea6:
mov ebx, dword [ebp - 4]
@@ -34579,12 +34579,12 @@ mov eax, dword [ebp - 0x2c]
sub esp, 0xc
add eax, 0x40
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x2c]
add eax, 2
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
cmp byte [ebx], 0
jne short loc_00015284 ; jne 0x15284
@@ -36399,7 +36399,7 @@ push ecx
push 0x270
push ref_00029b3c ; push 0x29b3c
mov dword [ref_00029dac], eax ; mov dword [0x29dac], eax
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
add esp, 0x10
mov dword [pei_data], ebx ; mov dword [0x29bbc], ebx
cmp dword [ebx + 8], 3
@@ -36419,7 +36419,7 @@ mov dword [bootmode], 6 ; mov dword [0x29bb8], 6
loc_000164bf:
sub esp, 0xc
-push ref_00029b38 ; push 0x29b38
+push g_pei_services_ptr ; push 0x29b38
mov dword [ref_00029bc4], ref_0002909c ; mov dword [0x29bc4], 0x2909c
mov dword [ref_00029cb0], 1 ; mov dword [0x29cb0], 1
mov dword [ref_00029b60], CbLocatePpi ; mov dword [0x29b60], 0x16306
@@ -36432,39 +36432,39 @@ mov dword [ref_00029b58], CbInstallPpi ; mov dword [0x29b58], 0x1620a
mov dword [ref_00029b8c], CbAllocatePool ; mov dword [0x29b8c], 0x1d415
mov dword [ref_00029b90], CbCopyMem ; mov dword [0x29b90], 0x161a6
mov dword [ref_00029bb4], CbRegisterForShadow ; mov dword [0x29bb4], 0x1619f
-mov dword [ref_00029b38], g_pei_services ; mov dword [0x29b38], 0x29b40
-call fcn_00019afc ; call 0x19afc
+mov dword [g_pei_services_ptr], g_pei_services ; mov dword [0x29b38], 0x29b40
+call set_pei_services_table_ptr ; call 0x19afc
pop eax
pop edx
-push ref_00029b38 ; push 0x29b38
+push g_pei_services_ptr ; push 0x29b38
push 0
call install_cpuio_ppi ; call 0x1ae82
mov dword [esp], ref_00025542 ; mov dword [esp], 0x25542
call refcode_printk ; call 0x1545e
pop ecx
pop ebx
-push ref_00029b38 ; push 0x29b38
+push g_pei_services_ptr ; push 0x29b38
push 0
call init_platform_policy ; call 0x16cfa
mov dword [esp], ref_00025557 ; mov dword [esp], 0x25557
call refcode_printk ; call 0x1545e
pop eax
pop edx
-push ref_00029b38 ; push 0x29b38
+push g_pei_services_ptr ; push 0x29b38
push 0
call fcn_000165cb ; call 0x165cb
pop ecx
pop ebx
-push ref_00029b38 ; push 0x29b38
+push g_pei_services_ptr ; push 0x29b38
push 0
call install_pch_reset ; call 0x1b96b
pop eax
pop edx
-push ref_00029b38 ; push 0x29b38
+push g_pei_services_ptr ; push 0x29b38
push 0
call init_pch_smbus_peim ; call 0x1b0c6
add esp, 0x10
-mov eax, ref_00029b38 ; mov eax, 0x29b38
+mov eax, g_pei_services_ptr ; mov eax, 0x29b38
loc_000165b4:
mov ebx, dword [ebp - 4]
@@ -36779,7 +36779,7 @@ movzx ebx, bl
mov dword [ebp + 8], ebx
mov ebx, dword [ebp - 4]
leave
-jmp near fcn_00018ee1 ; jmp 0x18ee1
+jmp near inb ; jmp 0x18ee1
fcn_00016861: ; not directly referenced
push ebp
@@ -36801,7 +36801,7 @@ push 0x70
mov dword [ebp - 0x1c], edx
call outb ; call 0x18eea
mov dword [esp], 0x71
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
add esp, 0x10
mov edx, dword [ebp - 0x1c]
test al, al
@@ -36841,14 +36841,14 @@ push 0xc
push 0x70
call outb ; call 0x18eea
mov dword [esp], 0x71
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
pop eax
pop edx
push 0xd
push 0x70
call outb ; call 0x18eea
mov dword [esp], 0x71
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
pop ecx
pop eax
push 0xb
@@ -36868,7 +36868,7 @@ push 0
push 0x70
call outb ; call 0x18eea
mov dword [esp], 0x71
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
mov byte [edi], al
pop edx
pop ecx
@@ -36876,7 +36876,7 @@ push 2
push 0x70
call outb ; call 0x18eea
mov dword [esp], 0x71
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
mov byte [esi], al
pop eax
pop edx
@@ -36884,7 +36884,7 @@ push 4
push 0x70
call outb ; call 0x18eea
mov dword [esp], 0x71
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
mov byte [ebx], al
pop ecx
pop eax
@@ -36892,7 +36892,7 @@ push 7
push 0x70
call outb ; call 0x18eea
mov dword [esp], 0x71
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
mov edx, dword [ebp + 0x14]
mov byte [edx], al
pop eax
@@ -36901,7 +36901,7 @@ push 8
push 0x70
call outb ; call 0x18eea
mov dword [esp], 0x71
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
mov edx, dword [ebp + 0x18]
mov byte [edx], al
pop ecx
@@ -36910,7 +36910,7 @@ push 9
push 0x70
call outb ; call 0x18eea
mov dword [esp], 0x71
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
mov edx, dword [ebp + 0x1c]
movzx eax, al
mov word [edx], ax
@@ -37620,7 +37620,7 @@ pop esi
pop ebp
ret
-fcn_00016fff:
+zeromem:
push ebp
mov ebp, esp
push esi
@@ -39441,7 +39441,7 @@ xor edx, edx
leave
ret
-fcn_00017d8b:
+read8:
push ebp
mov ebp, esp
push ebx
@@ -39456,7 +39456,7 @@ pop ebx
pop ebp
ret
-fcn_00017da5:
+write8:
push ebp
mov ebp, esp
push ebx
@@ -39472,7 +39472,7 @@ pop ebx
pop ebp
ret
-fcn_00017dc2:
+read16:
push ebp
mov ebp, esp
push ebx
@@ -39529,7 +39529,7 @@ pop esi
pop ebp
ret
-fcn_00017e4e:
+read32:
push ebp
mov ebp, esp
push ebx
@@ -39556,7 +39556,7 @@ mov ebx, dword [ebp - 4]
leave
ret
-fcn_00017e8f:
+write32:
push ebp
mov ebp, esp
push esi
@@ -39664,7 +39664,7 @@ push ebx
mov ebx, dword [ebp + 8]
sub esp, 0xc
push ebx
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
add esp, 0x10
mov dword [ebp + 8], ebx
or eax, esi
@@ -39685,7 +39685,7 @@ push ebx
mov ebx, dword [ebp + 8]
sub esp, 0xc
push ebx
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
add esp, 0x10
mov dword [ebp + 8], ebx
and eax, esi
@@ -39708,7 +39708,7 @@ mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push edi
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
add esp, 0x10
mov dword [ebp + 8], edi
and eax, esi
@@ -39731,7 +39731,7 @@ push ebx
mov ebx, dword [ebp + 0xc]
sub esp, 0xc
push dword [ebp + 8]
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
add esp, 0x10
mov dword [ebp + 0x10], esi
mov dword [ebp + 0xc], ebx
@@ -39756,7 +39756,7 @@ mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x1c], edx
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
mov edx, dword [ebp - 0x1c]
mov ecx, esi
movzx esi, cl
@@ -39790,7 +39790,7 @@ mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x1c], edx
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
mov edx, dword [ebp - 0x1c]
mov ecx, esi
movzx esi, cl
@@ -39824,7 +39824,7 @@ mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x1c], edx
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
mov edx, dword [ebp - 0x1c]
mov ecx, esi
movzx esi, cl
@@ -39860,7 +39860,7 @@ mov edi, dword [ebp + 0x18]
push ebx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
mov ecx, esi
mov edx, edi
movzx esi, cl
@@ -40574,7 +40574,7 @@ push ebx
mov ebx, dword [ebp + 8]
sub esp, 0xc
push ebx
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov dword [ebp + 8], ebx
or eax, esi
@@ -40584,7 +40584,7 @@ lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
-jmp near fcn_00017da5 ; jmp 0x17da5
+jmp near write8 ; jmp 0x17da5
fcn_0001875d:
push ebp
@@ -40595,7 +40595,7 @@ push ebx
mov ebx, dword [ebp + 8]
sub esp, 0xc
push ebx
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov dword [ebp + 8], ebx
and eax, esi
@@ -40605,9 +40605,9 @@ lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
-jmp near fcn_00017da5 ; jmp 0x17da5
+jmp near write8 ; jmp 0x17da5
-fcn_0001878a:
+and_or_8:
push ebp
mov ebp, esp
push edi
@@ -40618,7 +40618,7 @@ mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push edi
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov dword [ebp + 8], edi
and eax, esi
@@ -40630,7 +40630,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00017da5 ; jmp 0x17da5
+jmp near write8 ; jmp 0x17da5
fcn_000187be: ; not directly referenced
push ebp
@@ -40641,7 +40641,7 @@ push ebx
mov ebx, dword [ebp + 0xc]
sub esp, 0xc
push dword [ebp + 8]
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
add esp, 0x10
mov dword [ebp + 0x10], esi
mov dword [ebp + 0xc], ebx
@@ -40666,7 +40666,7 @@ mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x1c], edx
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
mov edx, dword [ebp - 0x1c]
mov ecx, esi
movzx esi, cl
@@ -40685,7 +40685,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00017da5 ; jmp 0x17da5
+jmp near write8 ; jmp 0x17da5
fcn_00018838: ; not directly referenced
push ebp
@@ -40700,7 +40700,7 @@ mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x1c], edx
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
mov edx, dword [ebp - 0x1c]
mov ecx, esi
movzx esi, cl
@@ -40719,7 +40719,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00017da5 ; jmp 0x17da5
+jmp near write8 ; jmp 0x17da5
fcn_00018882: ; not directly referenced
push ebp
@@ -40734,7 +40734,7 @@ mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x1c], edx
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
mov edx, dword [ebp - 0x1c]
mov ecx, esi
movzx esi, cl
@@ -40753,7 +40753,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00017da5 ; jmp 0x17da5
+jmp near write8 ; jmp 0x17da5
fcn_000188cc: ; not directly referenced
push ebp
@@ -40770,7 +40770,7 @@ mov edi, dword [ebp + 0x18]
push ebx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
mov ecx, esi
mov edx, edi
movzx esi, cl
@@ -40793,7 +40793,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00017da5 ; jmp 0x17da5
+jmp near write8 ; jmp 0x17da5
fcn_00018927:
push ebp
@@ -40804,7 +40804,7 @@ push ebx
mov ebx, dword [ebp + 8]
sub esp, 0xc
push ebx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
mov dword [ebp + 8], ebx
or eax, esi
@@ -40825,7 +40825,7 @@ push ebx
mov ebx, dword [ebp + 8]
sub esp, 0xc
push ebx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
mov dword [ebp + 8], ebx
and eax, esi
@@ -40848,7 +40848,7 @@ mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push edi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
mov dword [ebp + 8], edi
and eax, esi
@@ -40871,7 +40871,7 @@ push ebx
mov ebx, dword [ebp + 0xc]
sub esp, 0xc
push dword [ebp + 8]
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
mov dword [ebp + 0x10], esi
mov dword [ebp + 0xc], ebx
@@ -40897,7 +40897,7 @@ mov edi, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x1c], edx
movzx esi, si
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov edx, dword [ebp - 0x1c]
push esi
push edx
@@ -40930,7 +40930,7 @@ mov edi, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x1c], edx
movzx esi, si
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov edx, dword [ebp - 0x1c]
push esi
push edx
@@ -40963,7 +40963,7 @@ mov edi, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x1c], edx
movzx esi, si
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov edx, dword [ebp - 0x1c]
push esi
push edx
@@ -40998,7 +40998,7 @@ mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
movzx esi, si
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov ecx, dword [ebp - 0x1c]
movzx edi, di
mov edx, dword [ebp - 0x20]
@@ -41029,7 +41029,7 @@ push ebx
mov ebx, dword [ebp + 8]
sub esp, 0xc
push ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov dword [ebp + 8], ebx
or eax, esi
@@ -41038,7 +41038,7 @@ lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
-jmp near fcn_00017e8f ; jmp 0x17e8f
+jmp near write32 ; jmp 0x17e8f
fcn_00018b3e:
push ebp
@@ -41049,7 +41049,7 @@ push ebx
mov ebx, dword [ebp + 8]
sub esp, 0xc
push ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov dword [ebp + 8], ebx
and eax, esi
@@ -41058,9 +41058,9 @@ lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
-jmp near fcn_00017e8f ; jmp 0x17e8f
+jmp near write32 ; jmp 0x17e8f
-fcn_00018b68:
+and_or_32:
push ebp
mov ebp, esp
push edi
@@ -41071,7 +41071,7 @@ mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov dword [ebp + 8], edi
and eax, esi
@@ -41082,7 +41082,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00017e8f ; jmp 0x17e8f
+jmp near write32 ; jmp 0x17e8f
fcn_00018b99: ; not directly referenced
push ebp
@@ -41093,7 +41093,7 @@ push ebx
mov ebx, dword [ebp + 0xc]
sub esp, 0xc
push dword [ebp + 8]
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov dword [ebp + 0x10], esi
mov dword [ebp + 0xc], ebx
@@ -41117,7 +41117,7 @@ mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x1c], edx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, dword [ebp - 0x1c]
push edx
push edi
@@ -41132,7 +41132,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00017e8f ; jmp 0x17e8f
+jmp near write32 ; jmp 0x17e8f
fcn_00018c05: ; not directly referenced
push ebp
@@ -41147,7 +41147,7 @@ mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x1c], edx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, dword [ebp - 0x1c]
push edx
push edi
@@ -41162,7 +41162,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00017e8f ; jmp 0x17e8f
+jmp near write32 ; jmp 0x17e8f
fcn_00018c44: ; not directly referenced
push ebp
@@ -41177,7 +41177,7 @@ mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x1c], edx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, dword [ebp - 0x1c]
push edx
push edi
@@ -41192,7 +41192,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00017e8f ; jmp 0x17e8f
+jmp near write32 ; jmp 0x17e8f
fcn_00018c83: ; not directly referenced
push ebp
@@ -41209,7 +41209,7 @@ push ebx
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov dword [esp], ecx
@@ -41226,7 +41226,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00017e8f ; jmp 0x17e8f
+jmp near write32 ; jmp 0x17e8f
fcn_00018cce: ; not directly referenced
push ebp
@@ -41475,7 +41475,7 @@ pop edi
pop ebp
jmp near fcn_00017f28 ; jmp 0x17f28
-fcn_00018ee1:
+inb:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
@@ -41882,7 +41882,7 @@ pop edx
pop ecx
push 4
push eax
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
lea eax, [edi + 0x30]
pop ebx
pop esi
@@ -42201,7 +42201,7 @@ lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
-jmp near fcn_00016fff ; jmp 0x16fff
+jmp near zeromem ; jmp 0x16fff
loc_00019516: ; not directly referenced
lea esp, [ebp - 8]
@@ -42271,7 +42271,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00016fff ; jmp 0x16fff
+jmp near zeromem ; jmp 0x16fff
loc_000195c2: ; not directly referenced
lea esp, [ebp - 0xc]
@@ -42345,7 +42345,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00016fff ; jmp 0x16fff
+jmp near zeromem ; jmp 0x16fff
loc_00019674: ; not directly referenced
lea esp, [ebp - 0xc]
@@ -42401,7 +42401,7 @@ push 0x10
lea eax, [edx + 8]
push eax
mov dword [ebp - 0x24], edx
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
mov edx, dword [ebp - 0x24]
add esp, 0x10
mov eax, dword [ebp - 0x20]
@@ -42419,7 +42419,7 @@ pop ebx
pop esi
pop edi
pop ebp
-jmp near fcn_00016fff ; jmp 0x16fff
+jmp near zeromem ; jmp 0x16fff
loc_00019723: ; not directly referenced
lea esp, [ebp - 0xc]
@@ -42433,7 +42433,7 @@ fcn_0001972b:
push ebp
mov ebp, esp
sub esp, 8
-call fcn_00019b31 ; call 0x19b31
+call get_pei_services_ptr ; call 0x19b31
push edx
push edx
mov edx, dword [eax]
@@ -42447,7 +42447,7 @@ fcn_00019743: ; not directly referenced
push ebp
mov ebp, esp
sub esp, 8
-call fcn_00019b31 ; call 0x19b31
+call get_pei_services_ptr ; call 0x19b31
push edx
mov edx, dword [eax]
push dword [ebp + 0xc]
@@ -42461,7 +42461,7 @@ fcn_0001975d:
push ebp
mov ebp, esp
sub esp, 8
-call fcn_00019b31 ; call 0x19b31
+call get_pei_services_ptr ; call 0x19b31
sub esp, 0xc
mov edx, dword [eax]
push dword [ebp + 0x14]
@@ -42477,7 +42477,7 @@ fcn_0001977f:
push ebp
mov ebp, esp
sub esp, 8
-call fcn_00019b31 ; call 0x19b31
+call get_pei_services_ptr ; call 0x19b31
push edx
push edx
mov edx, dword [eax]
@@ -42491,7 +42491,7 @@ fcn_00019797:
push ebp
mov ebp, esp
sub esp, 8
-call fcn_00019b31 ; call 0x19b31
+call get_pei_services_ptr ; call 0x19b31
push edx
push edx
mov edx, dword [eax]
@@ -42505,7 +42505,7 @@ fcn_000197af: ; not directly referenced
push ebp
mov ebp, esp
sub esp, 8
-call fcn_00019b31 ; call 0x19b31
+call get_pei_services_ptr ; call 0x19b31
push edx
push edx
mov edx, dword [eax]
@@ -42519,7 +42519,7 @@ fcn_000197c7:
push ebp
mov ebp, esp
sub esp, 8
-call fcn_00019b31 ; call 0x19b31
+call get_pei_services_ptr ; call 0x19b31
push edx
push edx
mov edx, dword [eax]
@@ -42536,7 +42536,7 @@ push esi
mov esi, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
-call fcn_00019b31 ; call 0x19b31
+call get_pei_services_ptr ; call 0x19b31
movzx esi, si
movzx ebx, bx
mov edx, dword [eax]
@@ -42555,7 +42555,7 @@ fcn_00019807: ; not directly referenced
push ebp
mov ebp, esp
sub esp, 8
-call fcn_00019b31 ; call 0x19b31
+call get_pei_services_ptr ; call 0x19b31
push edx
mov edx, dword [eax]
push dword [ebp + 0xc]
@@ -42571,7 +42571,7 @@ mov ebp, esp
push ebx
push eax
mov ebx, dword [ebp + 8]
-call fcn_00019b31 ; call 0x19b31
+call get_pei_services_ptr ; call 0x19b31
movzx ebx, bl
mov edx, dword [eax]
push dword [ebp + 0x10]
@@ -42589,7 +42589,7 @@ mov ebp, esp
push ebx
push eax
mov ebx, dword [ebp + 8]
-call fcn_00019b31 ; call 0x19b31
+call get_pei_services_ptr ; call 0x19b31
movzx ebx, bl
mov edx, dword [eax]
push dword [ebp + 0x10]
@@ -42613,7 +42613,7 @@ mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
-call fcn_00019b31 ; call 0x19b31
+call get_pei_services_ptr ; call 0x19b31
sub esp, 0xc
mov edx, dword [eax]
push edi
@@ -42632,7 +42632,7 @@ fcn_0001989c: ; not directly referenced
push ebp
mov ebp, esp
sub esp, 8
-call fcn_00019b31 ; call 0x19b31
+call get_pei_services_ptr ; call 0x19b31
mov edx, dword [eax]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
@@ -42642,11 +42642,11 @@ call dword [edx + 0x48] ; ucall
leave
ret
-fcn_000198b8:
+pei_allocate_pool:
push ebp
mov ebp, esp
sub esp, 8
-call fcn_00019b31 ; call 0x19b31
+call get_pei_services_ptr ; call 0x19b31
push edx
mov edx, dword [eax]
push dword [ebp + 0xc]
@@ -42660,7 +42660,7 @@ fcn_000198d2: ; not directly referenced
push ebp
mov ebp, esp
sub esp, 8
-call fcn_00019b31 ; call 0x19b31
+call get_pei_services_ptr ; call 0x19b31
sub esp, 0xc
mov edx, dword [eax]
push eax
@@ -42674,7 +42674,7 @@ mov ebp, esp
push ebx
push eax
mov ebx, dword [ebp + 8]
-call fcn_00019b31 ; call 0x19b31
+call get_pei_services_ptr ; call 0x19b31
mov eax, dword [eax]
mov dword [ebp + 8], ebx
mov eax, dword [eax + 0x74]
@@ -42688,7 +42688,7 @@ push esi
mov esi, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
-call fcn_00019b31 ; call 0x19b31
+call get_pei_services_ptr ; call 0x19b31
mov eax, dword [eax]
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], ebx
@@ -42706,7 +42706,7 @@ sub esp, 0xc
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
-call fcn_00019b31 ; call 0x19b31
+call get_pei_services_ptr ; call 0x19b31
mov eax, dword [eax]
mov dword [ebp + 0x10], edi
mov dword [ebp + 0xc], esi
@@ -42724,7 +42724,7 @@ push esi
mov esi, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
-call fcn_00019b31 ; call 0x19b31
+call get_pei_services_ptr ; call 0x19b31
mov eax, dword [eax]
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], ebx
@@ -42748,7 +42748,7 @@ mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
mov ebx, eax
call fcn_00015480 ; call 0x15480
add esp, 0x10
@@ -42895,7 +42895,7 @@ pop edi
pop ebp
ret
-fcn_00019afc:
+set_pei_services_table_ptr:
push ebp
mov ebp, esp
push ebx
@@ -42914,19 +42914,19 @@ call fcn_0001548c ; call 0x1548c
add esp, 0x10
loc_00019b26:
-mov dword [ref_000312f0], ebx ; mov dword [0x312f0], ebx
+mov dword [pp_g_pei_services], ebx ; mov dword [0x312f0], ebx
mov ebx, dword [ebp - 4]
leave
ret
-fcn_00019b31:
+get_pei_services_ptr:
push ebp
mov ebp, esp
sub esp, 8
call fcn_00015480 ; call 0x15480
test al, al
je short loc_00019b5e ; je 0x19b5e
-cmp dword [ref_000312f0], 0 ; cmp dword [0x312f0], 0
+cmp dword [pp_g_pei_services], 0 ; cmp dword [0x312f0], 0
jne short loc_00019b5e ; jne 0x19b5e
push eax
push ref_00025f2c ; push 0x25f2c
@@ -42936,7 +42936,7 @@ call fcn_0001548c ; call 0x1548c
add esp, 0x10
loc_00019b5e:
-mov eax, dword [ref_000312f0] ; mov eax, dword [0x312f0]
+mov eax, dword [pp_g_pei_services] ; mov eax, dword [0x312f0]
leave
ret
@@ -42945,7 +42945,7 @@ push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
pop ebp
-mov dword [ref_000312f0], eax ; mov dword [0x312f0], eax
+mov dword [pp_g_pei_services], eax ; mov dword [0x312f0], eax
xor eax, eax
ret
@@ -43168,14 +43168,14 @@ mov dword [ebp + 0xc], eax
pop ebp
jmp near fcn_00019b74 ; jmp 0x19b74
-fcn_00019d3d:
+pei_malloc:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
-call fcn_000198b8 ; call 0x198b8
+call pei_allocate_pool ; call 0x198b8
add esp, 0x10
test eax, eax
jns short loc_00019d5d ; jns 0x19d5d
@@ -43222,7 +43222,7 @@ mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp + 8], eax
leave
-jmp near fcn_00016fff ; jmp 0x16fff
+jmp near zeromem ; jmp 0x16fff
loc_00019daf: ; not directly referenced
xor eax, eax
@@ -43230,14 +43230,14 @@ mov ebx, dword [ebp - 4]
leave
ret
-fcn_00019db6:
+pei_calloc:
push ebp
mov ebp, esp
push ebx
sub esp, 0x10
mov ebx, dword [ebp + 8]
push ebx
-call fcn_00019d3d ; call 0x19d3d
+call pei_malloc ; call 0x19d3d
add esp, 0x10
test eax, eax
je short loc_00019dd9 ; je 0x19dd9
@@ -43245,7 +43245,7 @@ push edx
push edx
push ebx
push eax
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
add esp, 0x10
loc_00019dd9:
@@ -43375,7 +43375,7 @@ add esp, 0x10
loc_00019eea:
sub esp, 0xc
push esi
-call fcn_00019d3d ; call 0x19d3d
+call pei_malloc ; call 0x19d3d
add esp, 0x10
test eax, eax
je short loc_00019f06 ; je 0x19f06
@@ -44370,7 +44370,7 @@ mov ebp, esp
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], eax
pop ebp
-jmp near fcn_00017d8b ; jmp 0x17d8b
+jmp near read8 ; jmp 0x17d8b
fcn_0001a882: ; not directly referenced
push ebp
@@ -44378,7 +44378,7 @@ mov ebp, esp
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], eax
pop ebp
-jmp near fcn_00017dc2 ; jmp 0x17dc2
+jmp near read16 ; jmp 0x17dc2
fcn_0001a891: ; not directly referenced
push ebp
@@ -44386,7 +44386,7 @@ mov ebp, esp
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], eax
pop ebp
-jmp near fcn_00017e4e ; jmp 0x17e4e
+jmp near read32 ; jmp 0x17e4e
fcn_0001a8a0: ; not directly referenced
push ebp
@@ -44404,7 +44404,7 @@ mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], eax
pop ebp
-jmp near fcn_00017da5 ; jmp 0x17da5
+jmp near write8 ; jmp 0x17da5
fcn_0001a8c5: ; not directly referenced
push ebp
@@ -44424,7 +44424,7 @@ mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], eax
pop ebp
-jmp near fcn_00017e8f ; jmp 0x17e8f
+jmp near write32 ; jmp 0x17e8f
fcn_0001a8f0: ; not directly referenced
push ebp
@@ -44444,7 +44444,7 @@ mov ebp, esp
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], eax
pop ebp
-jmp near fcn_00018ee1 ; jmp 0x18ee1
+jmp near inb ; jmp 0x18ee1
fcn_0001a91a: ; not directly referenced
push ebp
@@ -44651,7 +44651,7 @@ cmp dword [ebp - 0x1c], 0
jne short loc_0001aadc ; jne 0x1aadc
sub esp, 0xc
push esi
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
mov byte [ebx], al
jmp near loc_0001ab64 ; jmp 0x1ab64
@@ -44662,14 +44662,14 @@ cmp byte [ebp - 0x1d], 0
je short loc_0001aaf6 ; je 0x1aaf6
sub esp, 0xc
push esi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov word [ebx], ax
jmp short loc_0001ab64 ; jmp 0x1ab64
loc_0001aaf6: ; not directly referenced
sub esp, 0xc
push esi
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
pop edx
pop ecx
movzx eax, ax
@@ -44685,14 +44685,14 @@ cmp byte [ebp - 0x1d], 0
je short loc_0001ab26 ; je 0x1ab26
sub esp, 0xc
push esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [ebx], eax
jmp short loc_0001ab64 ; jmp 0x1ab64
loc_0001ab26: ; not directly referenced
sub esp, 0xc
push esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
pop edx
pop ecx
push eax
@@ -44786,7 +44786,7 @@ push eax
movzx eax, byte [ebx]
push eax
push esi
-call fcn_00017da5 ; call 0x17da5
+call write8 ; call 0x17da5
jmp short loc_0001ac79 ; jmp 0x1ac79
loc_0001ac07: ; not directly referenced
@@ -44833,7 +44833,7 @@ push eax
loc_0001ac4f: ; not directly referenced
push esi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
jmp short loc_0001ac79 ; jmp 0x1ac79
loc_0001ac57: ; not directly referenced
@@ -44919,7 +44919,7 @@ cmp dword [ebp - 0x1c], 0
jne short loc_0001ad1b ; jne 0x1ad1b
sub esp, 0xc
push esi
-call fcn_00018ee1 ; call 0x18ee1
+call inb ; call 0x18ee1
mov byte [ebx], al
jmp short loc_0001ad77 ; jmp 0x1ad77
@@ -45333,7 +45333,7 @@ add esp, 0x10
loc_0001b0e5:
sub esp, 0xc
push 0x11b
-call fcn_00019d3d ; call 0x19d3d
+call pei_malloc ; call 0x19d3d
add esp, 0x10
mov ebx, eax
test eax, eax
@@ -45365,7 +45365,7 @@ push 0xffe0
mov esi, eax
lea eax, [eax + 0x20]
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
pop eax
pop edx
lea eax, [esi + 4]
@@ -45387,7 +45387,7 @@ add esp, 0xc
push 1
push 0xf9
push esi
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
pop ecx
pop esi
push 0xff
@@ -45544,7 +45544,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0x20
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov ebx, eax
call fcn_00015480 ; call 0x15480
and ebx, 0xffe0
@@ -45583,7 +45583,7 @@ mov dword [ebp + 8], eax
pop edx
pop ebx
pop ebp
-jmp near fcn_00018ee1 ; jmp 0x18ee1
+jmp near inb ; jmp 0x18ee1
fcn_0001b33b:
push ebp
@@ -46268,7 +46268,7 @@ add esp, 0xc
push 1
push 0xf9
push ebx
-call fcn_0001878a ; call 0x1878a
+call and_or_8 ; call 0x1878a
pop ebx
pop eax
push 0xff
@@ -46298,7 +46298,7 @@ loc_0001b98a:
sub esp, 0xc
mov esi, 0x80000009
push 0x20
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
add esp, 0x10
mov ebx, eax
test eax, eax
@@ -46470,7 +46470,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0x40
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov esi, eax
and esi, 0xfffc
add esi, 8
@@ -46534,7 +46534,7 @@ sub esp, 0x10
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3804]
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
xor edx, edx
test ah, 0x40
@@ -46545,9 +46545,9 @@ push 0xffff8003
lea eax, [ebx + 0x38b0]
add ebx, 0x38b4
push eax
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
mov dword [esp], ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
cmp eax, 0xff0a55a
sete dl
@@ -46571,11 +46571,11 @@ mov ebx, eax
lea eax, [eax + 8]
add ebx, 2
mov dword [esp], eax
-call fcn_00017d8b ; call 0x17d8b
+call read8 ; call 0x17d8b
mov dword [esp], ebx
mov dl, al
mov dword [ebp - 0xc], edx
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
mov edx, dword [ebp - 0xc]
mov ecx, eax
@@ -46707,7 +46707,7 @@ mov ebx, dword [ebp - 4]
leave
ret
-fcn_0001bd75:
+pch_get_type:
push ebp
mov ebp, esp
push esi
@@ -46720,10 +46720,10 @@ call get_pci_dev_base ; call 0x16c9a
mov esi, eax
lea eax, [eax + 2]
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov dword [esp], esi
movzx ebx, ax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
cmp ax, 0x8086
jne short loc_0001be20 ; jne 0x1be20
@@ -46785,7 +46785,7 @@ pop esi
pop ebp
ret
-fcn_0001be4f:
+enable_alt_access_mode:
push ebp
mov ebp, esp
push ebx
@@ -46811,12 +46811,12 @@ add ebx, 0x3410
push edx
push eax
push ebx
-call fcn_00018b68 ; call 0x18b68
+call and_or_32 ; call 0x18b68
add esp, 0x10
mov dword [ebp + 8], ebx
mov ebx, dword [ebp - 4]
leave
-jmp near fcn_00017e4e ; jmp 0x17e4e
+jmp near read32 ; jmp 0x17e4e
fcn_0001be90:
push ebp
@@ -46833,7 +46833,7 @@ jne short loc_0001bec3 ; jne 0x1bec3
sub esp, 0xc
add ebx, 0x3860
push ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
cmp eax, 0x7fff
setne dl
@@ -46857,7 +46857,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0xf0
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov esi, eax
pop eax
and esi, 0xffffc000
@@ -46873,7 +46873,7 @@ push 0x4010
push ebx
call fcn_00018b14 ; call 0x18b14
mov dword [esp], esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edi, eax
pop eax
pop edx
@@ -46886,7 +46886,7 @@ push 0x403c
push ebx
call fcn_00018b14 ; call 0x18b14
mov dword [esp], esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
xor edx, edx
and edi, 3
@@ -46931,7 +46931,7 @@ push 0x4024
push esi
call fcn_00018b14 ; call 0x18b14
mov dword [esp], ebx
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
shr eax, 0xe
and eax, 1
@@ -46956,7 +46956,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
movzx ebx, ax
mov eax, ebx
@@ -47039,7 +47039,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
movzx ebx, ax
mov eax, ebx
@@ -47325,10 +47325,10 @@ mov esi, eax
lea eax, [eax + 0xa2]
add esi, 0xa4
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov dword [esp], esi
mov ebx, eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov ecx, dword [ebp + 8]
add esp, 0x10
lea edx, [ecx - 1]
@@ -47389,7 +47389,7 @@ mov ebx, dword [ebp + 0xc]
add eax, 0x404
push eax
movzx ebx, bl
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
lea ecx, [ebx*4]
mov ebx, dword [ebp - 4]
leave
@@ -47415,7 +47415,7 @@ cmp bl, al
jae short loc_0001c40a ; jae 0x1c40a
sub esp, 0xc
push esi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
movzx ecx, bl
add esp, 0x10
shl ecx, 2
@@ -47458,7 +47458,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0xf0
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov ebx, eax
pop eax
and ebx, 0xffffc000
@@ -47581,7 +47581,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0xf0
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
and eax, 0xffffc000
cmp ebx, 7
@@ -47596,7 +47596,7 @@ add eax, 0x3800
loc_0001c5a9: ; not directly referenced
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
mov edx, eax
and ax, 0x7fff
@@ -48020,11 +48020,11 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0x48
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
and eax, 0xfffffffe
add eax, 0x5da4
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
shr eax, 0x1f
loc_0001c998:
@@ -48113,7 +48113,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 0x48
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edi, eax
pop eax
and edi, 0xfffffffe
@@ -48122,29 +48122,29 @@ push dword [ebp + 0x10]
lea esi, [edi + 0x5da0]
add edi, 0x5da4
push esi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov eax, dword [ebp + 0xc]
pop ecx
pop edx
or eax, 0x80000000
push eax
push edi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov dword [esp], 1
call fcn_0001c928 ; call 0x1c928
mov dword [esp], edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [esp], esi
mov dword [ebp - 0x40], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [esp], 0xa
mov dword [ebp - 0x3c], eax
call fcn_0001bb03 ; call 0x1bb03
mov dword [esp], edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [esp], esi
mov edi, eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov ecx, dword [ebp - 0x40]
add esp, 0x10
cmp ecx, edi
@@ -48307,7 +48307,7 @@ or byte [ebp - 0x2d], 0x80
call get_pci_dev_base ; call 0x16c9a
add eax, 0x48
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov esi, eax
pop eax
and esi, 0xfffffffe
@@ -48316,22 +48316,22 @@ push dword [ebp - 0x30]
lea edi, [esi + 0x5da4]
add esi, 0x5da0
push edi
-call fcn_00017e8f ; call 0x17e8f
+call write32 ; call 0x17e8f
mov dword [esp], 1
call fcn_0001c928 ; call 0x1c928
mov dword [esp], edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [esp], esi
mov dword [ebp - 0x30], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [esp], 0xa
mov dword [ebp - 0x2c], eax
call fcn_0001bb03 ; call 0x1bb03
mov dword [esp], edi
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov dword [esp], esi
mov edi, eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
mov edx, dword [ebp - 0x30]
add esp, 0x10
cmp edx, edi
@@ -48735,7 +48735,7 @@ mov ebx, dword [ebp + 0xc]
push 8
mov esi, dword [ebp + 8]
push ebx
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
mov eax, dword [ebp + 0x10]
add esp, 0x10
dec eax
@@ -48889,7 +48889,7 @@ push 8
mov edi, dword [ebp + 0xc]
lea esi, [ebp - 0x20]
push esi
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
add esp, 0xc
push 0x10
push esi
@@ -48968,7 +48968,7 @@ push 8
mov edi, dword [ebp + 0xc]
lea esi, [ebp - 0x20]
push esi
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
add esp, 0xc
push 0x14
push esi
@@ -49030,7 +49030,7 @@ push 8
mov edi, dword [ebp + 0xc]
lea esi, [ebp - 0x20]
push esi
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
add esp, 0xc
push 0x12
push esi
@@ -49091,7 +49091,7 @@ push 8
mov edi, dword [ebp + 0xc]
lea esi, [ebp - 0x20]
push esi
-call fcn_00016fff ; call 0x16fff
+call zeromem ; call 0x16fff
add esp, 0xc
push 1
push esi
@@ -49198,7 +49198,7 @@ sub esp, 0xc
mov dword [ebp - 0x20], eax
lea eax, [esi + 0xc]
push eax
-call fcn_00019d3d ; call 0x19d3d
+call pei_malloc ; call 0x19d3d
add esp, 0x10
mov ecx, dword [ebp - 0x20]
test eax, eax
@@ -49280,7 +49280,7 @@ call get_pei_data ; call 0x16410
sub esp, 0xc
push 0x27
mov edi, eax
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
mov dword [ebp - 0x1c], eax
call fcn_00015480 ; call 0x15480
add esp, 0x10
@@ -49300,7 +49300,7 @@ je loc_0001d737 ; je 0x1d737
loc_0001d5cc:
sub esp, 0xc
push 0xc
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
mov dword [ebp - 0x20], eax
call fcn_00015480 ; call 0x15480
add esp, 0x10
@@ -49320,7 +49320,7 @@ je loc_0001d737 ; je 0x1d737
loc_0001d602:
sub esp, 0xc
push 0x36
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
mov dword [ebp - 0x24], eax
call fcn_00015480 ; call 0x15480
add esp, 0x10
@@ -49340,7 +49340,7 @@ je loc_0001d737 ; je 0x1d737
loc_0001d638:
sub esp, 0xc
push 0xd
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
mov dword [ebp - 0x28], eax
call fcn_00015480 ; call 0x15480
add esp, 0x10
@@ -49360,7 +49360,7 @@ je loc_0001d737 ; je 0x1d737
loc_0001d66e:
sub esp, 0xc
push 0x102
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
mov ebx, eax
call fcn_00015480 ; call 0x15480
add esp, 0x10
@@ -49380,7 +49380,7 @@ je loc_0001d737 ; je 0x1d737
loc_0001d6a2:
sub esp, 0xc
push 0xdc
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
mov esi, eax
call fcn_00015480 ; call 0x15480
add esp, 0x10
@@ -49400,7 +49400,7 @@ je short loc_0001d737 ; je 0x1d737
loc_0001d6cf:
sub esp, 0xc
push 0x6b
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
mov dword [ebp - 0x2c], eax
call fcn_00015480 ; call 0x15480
add esp, 0x10
@@ -49422,7 +49422,7 @@ loc_0001d6fd:
sub esp, 0xc
push 5
mov dword [ebp - 0x30], edx
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
mov dword [ebp - 0x2c], eax
call fcn_00015480 ; call 0x15480
add esp, 0x10
@@ -49452,7 +49452,7 @@ loc_0001d747:
sub esp, 0xc
push 0x11
mov dword [ebp - 0x34], edx
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
mov dword [ebp - 0x30], eax
call fcn_00015480 ; call 0x15480
add esp, 0x10
@@ -49509,7 +49509,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov edx, dword [ebp - 0x40]
add esp, 0x10
@@ -49760,7 +49760,7 @@ mov dword [ebp - 0x24], edx
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
mov edx, dword [ebp - 0x24]
mov ecx, eax
@@ -49785,19 +49785,19 @@ mov byte [ebx + 0xc6], al
mov word [ebx + 0xc8], 0xcf8
mov word [ebx + 0xca], 0xcfc
mov byte [ebx + 0xcc], 0xaa
-mov dword [esi], fcn_00018ee1 ; mov dword [esi], 0x18ee1
+mov dword [esi], inb ; mov dword [esi], 0x18ee1
mov dword [esi + 4], fcn_00018ef6 ; mov dword [esi + 4], 0x18ef6
mov dword [esi + 8], fcn_00018f64 ; mov dword [esi + 8], 0x18f64
mov dword [esi + 0xc], outb ; mov dword [esi + 0xc], 0x18eea
mov dword [esi + 0x10], fcn_00018f27 ; mov dword [esi + 0x10], 0x18f27
mov dword [esi + 0x14], fcn_00018f97 ; mov dword [esi + 0x14], 0x18f97
-mov dword [esi + 0x18], fcn_00017d8b ; mov dword [esi + 0x18], 0x17d8b
-mov dword [esi + 0x1c], fcn_00017dc2 ; mov dword [esi + 0x1c], 0x17dc2
-mov dword [esi + 0x20], fcn_00017e4e ; mov dword [esi + 0x20], 0x17e4e
+mov dword [esi + 0x18], read8 ; mov dword [esi + 0x18], 0x17d8b
+mov dword [esi + 0x1c], read16 ; mov dword [esi + 0x1c], 0x17dc2
+mov dword [esi + 0x20], read32 ; mov dword [esi + 0x20], 0x17e4e
mov dword [esi + 0x24], fcn_00017ed8 ; mov dword [esi + 0x24], 0x17ed8
-mov dword [esi + 0x28], fcn_00017da5 ; mov dword [esi + 0x28], 0x17da5
+mov dword [esi + 0x28], write8 ; mov dword [esi + 0x28], 0x17da5
mov dword [esi + 0x2c], fcn_00017e04 ; mov dword [esi + 0x2c], 0x17e04
-mov dword [esi + 0x30], fcn_00017e8f ; mov dword [esi + 0x30], 0x17e8f
+mov dword [esi + 0x30], write32 ; mov dword [esi + 0x30], 0x17e8f
mov dword [esi + 0x34], fcn_00016afd ; mov dword [esi + 0x34], 0x16afd
mov dword [esi + 0x38], fcn_0001a282 ; mov dword [esi + 0x38], 0x1a282
mov dword [esi + 0x3c], fcn_0001a37c ; mov dword [esi + 0x3c], 0x1a37c
@@ -49952,7 +49952,7 @@ call fcn_0001bfbb ; call 0x1bfbb
sub esp, 0xc
push 0x5ac
mov dword [ebp - 0x1c], eax
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
add esp, 0x10
mov ebx, eax
test eax, eax
@@ -49976,7 +49976,7 @@ jmp near loc_0001e677 ; jmp 0x1e677
loc_0001e00b:
sub esp, 0xc
push 0xc
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
add esp, 0x10
mov dword [ebp - 0x20], eax
test eax, eax
@@ -50079,7 +50079,7 @@ mov byte [ebx + 0x1a6], 0
mov byte [ebx + 0x1a7], 0
mov byte [ebx + 0x1a9], 1
push 0xc
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
add esp, 0x10
test eax, eax
jne short loc_0001e1dc ; jne 0x1e1dc
@@ -50427,7 +50427,7 @@ push 0
call get_pci_dev_base ; call 0x16c9a
add eax, 2
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
xor ecx, ecx
mov byte [ebx], 0
@@ -50961,7 +50961,7 @@ push esi
push ebx
sub esp, 0x28
push 0x15
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
add esp, 0x10
mov edi, eax
test eax, eax
@@ -50977,7 +50977,7 @@ jmp short loc_0001ed9e ; jmp 0x1ed9e
loc_0001ed2b:
sub esp, 0xc
push 0xc
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
add esp, 0x10
mov dword [ebp - 0x1c], eax
test eax, eax
@@ -50993,7 +50993,7 @@ jmp short loc_0001ed9e ; jmp 0x1ed9e
loc_0001ed52:
sub esp, 0xc
push 5
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
add esp, 0x10
test eax, eax
jne short loc_0001ed76 ; jne 0x1ed76
@@ -51009,7 +51009,7 @@ loc_0001ed76:
sub esp, 0xc
push 0xc
mov dword [ebp - 0x20], eax
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
add esp, 0x10
mov edx, dword [ebp - 0x20]
test eax, eax
@@ -51035,7 +51035,7 @@ sub esp, 0xc
push 0x1d
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], eax
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
add esp, 0x10
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
@@ -51055,7 +51055,7 @@ sub esp, 0xc
push 0x13
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
add esp, 0x10
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
@@ -51187,7 +51187,7 @@ push esi
push ebx
sub esp, 0xc
push 2
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
mov esi, eax
call fcn_00015480 ; call 0x15480
add esp, 0x10
@@ -51207,7 +51207,7 @@ je short loc_0001efeb ; je 0x1efeb
loc_0001efba:
sub esp, 0xc
push 0xc
-call fcn_00019db6 ; call 0x19db6
+call pei_calloc ; call 0x19db6
mov ebx, eax
call fcn_00015480 ; call 0x15480
add esp, 0x10
@@ -52942,7 +52942,7 @@ call get_pci_dev_base ; call 0x16c9a
mov dword [ebx + 0x10], eax
add eax, 0xf0
mov dword [esp], eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
and eax, 0xffffc000
mov dword [ebx + 0xc], eax
call fcn_00015480 ; call 0x15480
@@ -52974,7 +52974,7 @@ push ebx
sub esp, 0xc
add eax, 2
push eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
movzx ebx, ax
mov eax, ebx
@@ -53078,11 +53078,11 @@ mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [esi + 0x40]
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
mov ebx, eax
lea eax, [esi + 0x48]
mov dword [esp], eax
-call fcn_00017dc2 ; call 0x17dc2
+call read16 ; call 0x17dc2
add esp, 0x10
cmp dword [ebp + 0xc], 5
ja loc_00020388 ; ja 0x20388
@@ -53217,7 +53217,7 @@ mov eax, dword [ebp - 0x1c]
sub esp, 0xc
add eax, 0x332c
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test al, 3
jne loc_0002034a ; jne 0x2034a
@@ -53225,7 +53225,7 @@ mov eax, dword [ebp - 0x1c]
sub esp, 0xc
add eax, 0x3330
push eax
-call fcn_00017e4e ; call 0x17e4e
+call read32 ; call 0x17e4e
add esp, 0x10
test ah, 0xc0
jne short loc_0002034a ; jne 0x2034a
@@ -58756,7 +58756,7 @@ dd 0x00000000
dd 0x00000000
; .bss
-ref_00029b38:
+g_pei_services_ptr:
dd 0x00000000
ref_00029b3c:
@@ -66466,6 +66466,6 @@ dd 0x00000000
dd 0x00000000
dd 0x00000000
-ref_000312f0:
+pp_g_pei_services:
dd 0x00000000
dd 0x00000000