joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10084050
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
lea eax, [esp]
push eax
push 0x40
push 4
push 0x4c3306
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x10084030
sub eax, 0x4c330a
mov dword [0x4c3306], eax
lea eax, [esp]
push eax
push dword [esp + 4]
push 4
push 0x4c3306
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
mov dword [esp], 0x4c3312
push eax
lea edx, [esp + 4]
mov dword [esp + 8], 0x4c332d
mov cl, 0x7f
call fcn.100840e0
lea eax, [esp + 8]
mov dword [esp], 0x4c3321
push eax
lea edx, [esp + 4]
mov dword [esp + 8], 0x4c333b
mov cl, 0x7c
call fcn.100840e0
mov esp, ebp
pop ebp
ret

Function at 0x100840e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
push edi
mov edi, edx
mov byte [esp + 0xf], cl
sub ebp, edi
xor ecx, ecx
add ebp, 3
shr ebp, 2
cmp edi, dword [esp + 0x14]
cmova ebp, ecx
test ebp, ebp
je 0x10084139
push esi
mov esi, dword [edi]
lea eax, [esp + 0x18]
push eax
push 0x40
push 1
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [esp + 0x13]
mov byte [esi], al
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
push 1
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc ebx
lea edi, [edi + 4]
cmp ebx, ebp
jne 0x10084106
pop esi
pop edi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x10085100
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x10
lea eax, [esp]
push eax
push 0x40
push 4
push 0x482c27
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x100850f0
sub eax, 0x482c2b
mov dword [0x482c27], eax
lea eax, [esp]
push eax
push dword [esp + 4]
push 4
push 0x482c27
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x28
mov ecx, 0x10154dc4
mov eax, esp
mov dword [eax], 0x10125198
mov dword [eax + 0x24], eax
lea eax, [esp + 0x2c]
push eax
call fcn.1001d210
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x10085190
push dword [esp]
mov edx, dword [esp + 0xc]
push ecx
call fcn.1000fa00
mov edx, dword [esp + 0xc]
mov eax, 0x66666667
mov ecx, dword [esp + 4]
sub edx, ecx
imul edx
push 0x28
mov eax, edx
sar eax, 4
mov edx, eax
shr edx, 0x1f
add edx, eax
call fcn.1000d8e0
sub esp, 0x28
mov ecx, 0x10154e0c
mov eax, esp
mov dword [eax], 0x101251b0
mov dword [eax + 0x24], eax
lea eax, [esp + 0x2c]
push eax
call fcn.1001d210
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x100851e6
push dword [esp]
mov edx, dword [esp + 0xc]
push ecx
call fcn.1000fa00
mov edx, dword [esp + 0xc]
mov eax, 0x66666667
mov ecx, dword [esp + 4]
sub edx, ecx
imul edx
push 0x28
mov eax, edx
sar eax, 4
mov edx, eax
shr edx, 0x1f
add edx, eax
call fcn.1000d8e0
add esp, 0x10
ret
Function at 0x10085750
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
push 0x40
push 4
push 0x4b15f7
call edi
mov esi, 0x10085580
lea eax, [esi - 0x4b15fb]
mov dword [0x4b15f7], eax
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push 4
push 0x4b15f7
call edi
lea eax, [esp + 8]
push eax
push 0x40
push 4
push 0x4b1566
call edi
lea eax, [esp + 8]
sub esi, 0x4b156a
push eax
push dword [esp + 0xc]
mov dword [0x4b1566], esi
push 4
push 0x4b1566
call edi
lea eax, [esp + 8]
push eax
push 0x40
push 4
push 0x483ef1
call edi
mov esi, 0x10085600
lea eax, [esi - 0x483ef5]
mov dword [0x483ef1], eax
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push 4
push 0x483ef1
call edi
lea eax, [esp + 8]
push eax
push 0x40
push 4
push 0x483f54
call edi
lea eax, [esp + 8]
sub esi, 0x483f58
push eax
push dword [esp + 0xc]
mov dword [0x483f54], esi
push 4
push 0x483f54
call edi
pop edi
pop esi
pop ecx
ret
Function at 0x10085b80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [0x10143a90]
sub esp, 0x10
push esi
test eax, eax
jg 0x10085b99
mov dword [0x10143a90], 0x1e0
jmp 0x10085ba8
mov ecx, 0x140
cmp eax, ecx
cmovl eax, ecx
mov dword [0x10143a90], eax
mov eax, dword [0x10143a8c]
test eax, eax
jg 0x10085bbd
mov dword [0x10143a8c], 0x190
jmp 0x10085bcc
mov ecx, 0xf0
cmp eax, ecx
cmovl eax, ecx
mov dword [0x10143a8c], eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x4b2ac1
call esi
mov eax, 0x100858f0
sub eax, 0x4b2ac5
mov dword [0x4b2ac1], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 4
push 0x4b2ac1
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x4b2262
call esi
mov eax, 0x10085980
sub eax, 0x4b2266
mov dword [0x4b2262], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 4
push 0x4b2262
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x4b2bf8
call esi
mov eax, 0x100859b0
sub eax, 0x4b2bfc
mov dword [0x4b2bf8], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 4
push 0x4b2bf8
call esi
push 1
push 0x10085b50
mov edx, 0x48c66b
mov cl, 0xe8
call fcn.100120f0
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x48c5f4
call esi
mov eax, 0x10085b70
sub eax, 0x48c5f8
mov dword [0x48c5f4], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 4
push 0x48c5f4
call esi
mov eax, dword [0x1013cf04]
mov dword [0x10154090], eax
mov eax, dword [0x1013cf00]
mov dword [0x10154094], eax
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x45c886
call esi
lea eax, [esp + 4]
mov dword [0x45c886], 0x10154088
push eax
push dword [esp + 8]
push 4
push 0x45c886
call esi
call fcn.10085100
call fcn.10085750
sub esp, 0x28
mov ecx, 0x10154db8
mov eax, esp
mov dword [eax], 0x101251c8
mov dword [eax + 0x24], eax
lea eax, [esp + 0x30]
push eax
call fcn.1001d210
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x10085d4a
push dword [esp + 4]
mov edx, dword [esp + 0x10]
push ecx
call fcn.1000fa00
mov edx, dword [esp + 0x10]
mov eax, 0x66666667
mov ecx, dword [esp + 8]
sub edx, ecx
imul edx
push 0x28
mov eax, edx
sar eax, 4
mov edx, eax
shr edx, 0x1f
add edx, eax
call fcn.1000d8e0
sub esp, 0x28
mov ecx, 0x10154dc4
mov eax, esp
mov dword [eax], 0x101251e0
mov dword [eax + 0x24], eax
lea eax, [esp + 0x30]
push eax
call fcn.1001d210
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x10085da1
push dword [esp + 4]
mov edx, dword [esp + 0x10]
push ecx
call fcn.1000fa00
mov edx, dword [esp + 0x10]
mov eax, 0x66666667
mov ecx, dword [esp + 8]
sub edx, ecx
imul edx
push 0x28
mov eax, edx
sar eax, 4
mov edx, eax
shr edx, 0x1f
add edx, eax
call fcn.1000d8e0
pop esi
add esp, 0x10
ret
Function at 0x100866d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
push esi
mov ecx, 0x532424
call fcn.1003d6b0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
push 0x40
push 4
push 0x43edaa
call esi
lea eax, [esp + 8]
mov dword [0x43edaa], 0x10155900
push eax
push dword [esp + 0xc]
push 4
push 0x43edaa
call esi
lea eax, [esp + 8]
push eax
push 0x40
push 4
push 0x43edea
call esi
mov eax, 0x100866c0
sub eax, 0x43edee
mov dword [0x43edea], eax
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push 4
push 0x43edea
call esi
pop esi
add esp, 8
ret
Function at 0x10086c50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x20
push esi
push 1
mov edx, str.BoostScriptDialogLimit
mov dword [esp + 0xc], 0x4c0348
mov ecx, str.Misc
mov dword [esp + 0x10], 0x4c045c
mov dword [esp + 0x14], 0x4c0672
mov dword [esp + 0x18], 0x4c065a
mov dword [esp + 0x1c], 0x4c2e5e
mov dword [esp + 0x20], 0x4c2e56
mov dword [esp + 0x24], 0x4c2eb6
call fcn.1000dcb0
test eax, eax
je 0x10086d8c
push 0x13880
call fcn.100ea165
add esp, 4
mov dword [esp + 4], eax
test eax, eax
je 0x10086ce7
mov ecx, eax
mov edx, 0x2710
nop dword [eax]
nop word [eax + eax]
mov dword [ecx], 0
lea ecx, [ecx + 8]
mov dword [ecx - 4], 0
sub edx, 1
jne 0x10086cd0
jmp 0x10086ce9
xor eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x10175058], eax
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x4c0361
call esi
lea eax, [esp + 4]
mov dword [0x4c0361], 0x2710
push eax
push dword [esp + 8]
push 4
push 0x4c0361
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x4c0479
call esi
lea eax, [esp + 4]
mov dword [0x4c0479], 0x2710
push eax
push dword [esp + 8]
push 4
push 0x4c0479
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x4c0666
call esi
lea eax, [esp + 4]
mov dword [0x4c0666], 0x13880
push eax
push dword [esp + 8]
push 4
push 0x4c0666
call esi
mov ecx, dword [0x10175058]
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0xc]
call fcn.10011f40
pop esi
add esp, 0x20
ret

Function at 0x100873c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
push edi
mov edi, edx
mov word [esp + 0xe], cx
sub ebp, edi
xor ecx, ecx
add ebp, 3
shr ebp, 2
cmp edi, dword [esp + 0x14]
cmova ebp, ecx
test ebp, ebp
je 0x1008741c
push esi
mov esi, dword [edi]
lea eax, [esp + 0x18]
push eax
push 0x40
push 2
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ax, word [esp + 0x12]
mov word [esi], ax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
push 2
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc ebx
lea edi, [edi + 4]
cmp ebx, ebp
jne 0x100873e7
pop esi
pop edi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x10087460
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x40ac8c
call esi
mov eax, 0x10087450
mov byte [0x40ac8c], 0xe9
sub eax, 0x40ac91
mov dword [0x40ac8d], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x40ac8c
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x40a461
call esi
mov eax, 0x10087430
mov byte [0x40a461], 0xe8
sub eax, 0x40a466
mov dword [0x40a462], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x40a461
call esi
push str.StartYear
mov edx, 0x10125370
mov cl, 0xe
call fcn.100840e0
push 0x1012536c
mov edx, 0x10125330
mov cl, 0x3f
call fcn.100840e0
push 0x10125330
mov edx, 0x10125300
mov cl, 0x40
call fcn.100840e0
push 0x101252f8
mov edx, 0x101252d0
mov cl, 0xc0
call fcn.100840e0
pop esi
pop ecx
ret
Function at 0x10088360
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov edx, dword [0x101540f8]
mov eax, 0x2aaaaaab
sub edx, dword [0x101540f4]
imul edx
push ebx
push esi
sar edx, 2
mov ebx, ecx
push edi
mov eax, edx
shr eax, 0x1f
push ebx
add eax, edx
push 1
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push 4
push eax
call fcn.100f5fe9
mov eax, dword [esp + 0x20]
add esp, 0x10
xor edi, edi
test eax, eax
je 0x100883c8
xor esi, esi
mov eax, dword [0x101540f4]
push ebx
push 1
add eax, esi
push 0x14
push eax
call fcn.100f5fe9
mov eax, dword [esp + 0x20]
inc edi
add esp, 0x10
add esi, 0x18
cmp edi, eax
jb 0x100883a7
push eax
push str._nLOADSAVE:_Critters_save_base_stats:_total__d
call fcn.100124d0
mov ecx, dword [0x101540ec]
mov eax, 0x2aaaaaab
sub ecx, dword [0x101540e8]
imul ecx
push ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push 1
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push 4
push eax
call fcn.100f5fe9
mov eax, dword [esp + 0x28]
add esp, 0x18
xor edi, edi
test eax, eax
je 0x10088433
xor esi, esi
mov eax, dword [0x101540e8]
push ebx
push 1
add eax, esi
push 0x14
push eax
call fcn.100f5fe9
mov eax, dword [esp + 0x20]
inc edi
add esp, 0x10
add esi, 0x18
cmp edi, eax
jb 0x10088412
push eax
push str._nLOADSAVE:_Critters_save_bonus_stats:_total__d
call fcn.100124d0
add esp, 8
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x10088800
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x1008886f
cmp dword [ecx], edi
jne 0x10088867
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x10088877
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x10088877
cmp dword [ecx], edi
jne 0x1008887b
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100888a4
push eax
call fcn.100e9b8b
add esp, 4
mov dword [edi + 0xc], 0
push edi
call fcn.100e9b9e
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
ret 8

Function at 0x10088ab0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov edx, dword [0x101540bc]
push edi
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [0x101540c8]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov edi, dword [edx + ecx*4]
lea ebx, [edx + ecx*4]
mov edx, dword [0x101540b4]
cmp edi, edx
jne 0x10088b10
mov ecx, edx
jmp 0x10088b15
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x10088b3a
mov ecx, dword [eax + 8]
cmp ecx, dword [esi]
je 0x10088b24
mov eax, dword [eax]
jmp 0x10088b08
mov ecx, dword [esi]
cmp ecx, dword [eax + 8]
mov ecx, dword [esp + 0x10]
pop edi
cmovne eax, edx
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebx
ret 8
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword [eax], edx
ret 8
Function at 0x10088c70
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010f200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov dword [ebp - 4], 0
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], esp
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x18], ebx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
mov eax, dword [esi + ecx*8]
lea edx, [ecx*8]
mov dword [ebp + 0xc], edx
cmp eax, dword [ebx + 4]
jne 0x10088cf1
mov esi, dword [ebx + 4]
jmp 0x10088cf7
mov esi, dword [esi + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x10088d0c
mov ecx, dword [edi]
nop dword [eax]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x10088d53
cmp esi, eax
jne 0x10088d00
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
cmp esi, eax
je 0x10088d3c
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x10088da4
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x10088dc6
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10088d7f
push eax
call fcn.100e9b8b
add esp, 4
mov dword [edi + 0xc], 0
push edi
call fcn.100e9b9e
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x10088dac
mov dword [ecx], edi
jmp 0x10088dc6
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x10088dc6
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.10088e10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1008a510
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0xc
push ebx
mov bl, byte [0x41b966]
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor bl, 4
push eax
push 0x40
push 1
push 0x41b966
call esi
lea eax, [esp + 8]
mov byte [0x41b966], bl
push eax
push dword [esp + 0xc]
push 1
push 0x41b966
call esi
lea eax, [esp + 8]
push eax
push 0x40
push 1
push 0x4d5ebf
call esi
lea eax, [esp + 8]
mov byte [0x4d5ebf], 1
push eax
push dword [esp + 0xc]
push 1
push 0x4d5ebf
call esi
mov bl, byte [0x481cec]
lea eax, [esp + 8]
push eax
push 0x40
push 1
push 0x481cec
or bl, 1
call esi
lea eax, [esp + 8]
mov byte [0x481cec], bl
push eax
push dword [esp + 0xc]
push 1
push 0x481cec
call esi
mov bl, byte [0x44e7d2]
lea eax, [esp + 8]
push eax
push 0x40
push 1
push 0x44e7d2
or bl, 1
call esi
lea eax, [esp + 8]
mov byte [0x44e7d2], bl
push eax
push dword [esp + 0xc]
push 1
push 0x44e7d2
call esi
mov bl, byte [0x42f869]
lea eax, [esp + 8]
push eax
push 0x40
push 1
push 0x42f869
xor bl, 0x21
call esi
lea eax, [esp + 8]
mov byte [0x42f869], bl
push eax
push dword [esp + 0xc]
push 1
push 0x42f869
call esi
lea eax, [esp + 0x10]
mov dword [esp + 8], 0x435160
mov dword [esp + 0xc], 0x435189
lea edx, [esp + 8]
push eax
mov cl, 0x7f
call fcn.100840e0
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x1008a8d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edx, str.CombatPanelAnimDelay
push str.._sfall.ini
push 0x3e8
mov ecx, str.Misc
mov dword [esp + 0x1c], esi
call fcn.10005480
cmp byte [0x10153f67], 0
je 0x1008a92a
cmp dword [0x10154e3c], 1
je 0x1008a92a
push str..ddraw.ini
push 0x3e8
mov edx, str.CombatPanelAnimDelay
mov ecx, str.Misc
call fcn.10005480
movzx ebx, ax
mov eax, 0x3e8
cmp bx, ax
je 0x1008a9da
movzx eax, bx
push eax
push str.CombatPanelAnimDelay
push str.Applying_patch:__s___d.
push 0xffffffffffffffff
lea eax, [esp + 0x28]
push 0xff
push eax
call fcn.10013410
add esp, 0x18
cmp byte [0x10174f84], 0
je 0x1008a9a6
test byte [0x10174f88], 1
je 0x1008a9a6
lea edx, [esp + 0x18]
mov ecx, 0x10153db8
call fcn.10012ce0
push eax
call fcn.10012f80
add esp, 4
cmp dword [0x101553d8], 0
je 0x1008a9a6
lea edx, [esp + 0x18]
mov ecx, 0x10141e60
call fcn.10012ce0
push eax
call fcn.10012f80
add esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor edi, edi
nop
mov esi, dword [esi + edi*4]
lea eax, [esp + 0x10]
push eax
push 0x40
push 2
push esi
call ebp
lea eax, [esp + 0x10]
mov word [esi], bx
push eax
push dword [esp + 0x14]
push 2
push esi
call ebp
mov esi, dword [esp + 0x14]
inc edi
cmp edi, 2
jl 0x1008a9b0
pop edi
mov ax, bx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1008a9f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edx, str.DialogPanelAnimDelay
push str.._sfall.ini
push 0x21
mov ecx, str.Misc
mov dword [esp + 0x1c], esi
call fcn.10005480
cmp byte [0x10153f67], 0
mov ebx, eax
je 0x1008aa48
cmp dword [0x10154e3c], 1
je 0x1008aa48
push str..ddraw.ini
push 0x21
mov edx, str.DialogPanelAnimDelay
mov ecx, str.Misc
call fcn.10005480
mov bl, al
cmp bl, 0x21
je 0x1008aaed
movzx eax, bl
push eax
push str.DialogPanelAnimDelay
push str.Applying_patch:__s___d.
push 0xffffffffffffffff
lea eax, [esp + 0x28]
push 0xff
push eax
call fcn.10013410
add esp, 0x18
cmp byte [0x10174f84], 0
je 0x1008aabc
test byte [0x10174f88], 1
je 0x1008aabc
lea edx, [esp + 0x18]
mov ecx, 0x10153db8
call fcn.10012ce0
push eax
call fcn.10012f80
add esp, 4
cmp dword [0x101553d8], 0
je 0x1008aabc
lea edx, [esp + 0x18]
mov ecx, 0x10141e60
call fcn.10012ce0
push eax
call fcn.10012f80
add esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor edi, edi
mov esi, dword [esi + edi*4]
lea eax, [esp + 0x10]
push eax
push 0x40
push 1
push esi
call ebp
lea eax, [esp + 0x10]
mov byte [esi], bl
push eax
push dword [esp + 0x14]
push 1
push esi
call ebp
mov esi, dword [esp + 0x14]
inc edi
cmp edi, 2
jl 0x1008aac4
pop edi
mov al, bl
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x1008cc20
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x1008cc79
mov ecx, esi
jmp 0x1008cc7e
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1008cca3
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x1008cc8d
mov eax, dword [eax]
jmp 0x1008cc71
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
mov ecx, dword [esp + 0x10]
cmovne eax, esi
pop edi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebx
ret 8
mov eax, dword [esp + 0x10]
pop edi
mov dword [eax], esi
pop esi
pop ebx
ret 8