joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4597b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x546868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [esp + 0x70]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.004586a0
mov eax, dword [esi + 0x1e4]
mov edx, dword [esi + 0x208]
mov ecx, eax
mov dword [esp + 0x5c], edx
xor edx, edx
and ecx, 8
and eax, 0x80
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esp + 0x2c], edx
mov dword [esi], 0x54e55c
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x210]
mov dword [esp + 0x6c], eax
mov eax, dword [0x67a8cc]
mov dword [esp + 0x30], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x34], edx
push eax
push 3
lea ecx, [esp + 0x34]
xor ebp, ebp
mov edi, 1
mov dword [esp + 0x40], edx
push 4
push ecx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x4c], edx
call ebx
mov edx, dword [0x67a8cc]
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x14
mov ecx, esi
push eax
call fcn.0043ede0
mov eax, dword [0x67a8cc]
lea ecx, [esp + 0x28]
push eax
push edi
push 4
push ecx
call ebx
mov edx, dword [0x67a8cc]
lea eax, [esp + 0x4c]
push edx
push edi
push 4
push eax
call ebx
mov eax, dword [0x67a7f0]
add esp, 0x20
cmp eax, 0x1c
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
jl 0x459905
mov edx, dword [0x67a8cc]
xor ecx, ecx
mov dword [esp + 0x18], ecx
push edx
mov dword [esp + 0x20], ecx
push edi
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], ecx
push 0x14
push eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x34], ecx
call ebx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x34]
add esp, 0x10
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], edx
mov dword [esi + 0x214], 6
xor edi, edi
lea ebx, [esi + 0x218]
cmp dword [esp + edi*4 + 0x58], ebp
je 0x459989
cmp dword [esp + edi*4 + 0x28], ebp
jle 0x459989
mov eax, dword [esp + edi*4 + 0x40]
dec eax
je 0x459968
dec eax
je 0x45994c
dec eax
jne 0x459989
push 0x1c
call fcn.004784b0
add esp, 4
cmp eax, ebp
je 0x459985
mov ecx, dword [esp + edi*4 + 0x28]
push ecx
mov ecx, eax
call fcn.004cf860
jmp 0x459987
push 0x24
call fcn.004784b0
add esp, 4
cmp eax, ebp
je 0x459985
mov edx, dword [esp + edi*4 + 0x28]
mov ecx, eax
push edx
call fcn.004cfd90
jmp 0x459987
push 0x24
call fcn.004784b0
add esp, 4
cmp eax, ebp
je 0x459985
mov ecx, dword [esp + edi*4 + 0x28]
push ebp
push ecx
mov ecx, eax
call fcn.004cfb10
jmp 0x459987
xor eax, eax
mov dword [ebx], eax
mov eax, dword [esi + 0x214]
inc edi
add ebx, 4
cmp edi, eax
jl 0x459917
call fcn.0043bdf0
mov edx, dword [eax]
mov ecx, dword [esp + 0x70]
mov dword [esi + 0x254], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
Function at 0x45a810
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5468c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [esp + 0x7c]
push ebx
push esi
push edi
mov ebx, ecx
push eax
mov dword [esp + 0x10], ebx
call fcn.004586a0
mov eax, dword [ebx + 0xc4]
mov dword [ebx], 0x54e774
lea edi, [esp + 0x44]
mov dword [esp + 0x80], 0
mov esi, dword [eax + 0x20]
and esi, 0xfffffffe
mov dword [eax + 0x20], esi
mov ecx, dword [ebx + 0x1e4]
mov eax, dword [ebx + 0x210]
mov edx, dword [ebx + 0x208]
and ecx, 8
mov dword [esp + 0x64], eax
mov dword [esp + 0x5c], ecx
mov ecx, 6
xor eax, eax
mov dword [esp + 0x40], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x67a8cc]
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov esi, 1
mov dword [esp + 0x60], edx
push ecx
push esi
lea edx, [esp + 0x48]
push 4
push edx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
call edi
mov eax, dword [0x67a8cc]
lea ecx, [esp + 0x60]
push eax
push 3
push 4
push ecx
call edi
mov edx, dword [0x67a8cc]
lea eax, [esp + 0x6c]
push edx
push esi
push 4
push eax
call edi
mov ecx, dword [0x67a8cc]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x34
mov ecx, ebx
push eax
call fcn.0043ede0
mov eax, dword [0x67a7f0]
mov dword [esp + 0x24], esi
cmp eax, 0x1c
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
jl 0x45a978
mov eax, dword [0x67a8cc]
xor edx, edx
mov dword [esp + 0x14], edx
push eax
mov dword [esp + 0x1c], edx
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
push 0x14
push ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], edx
call edi
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [ebx + 0x214], 7
xor esi, esi
lea edi, [ebx + 0x218]
mov eax, dword [esp + esi*4 + 0x5c]
test eax, eax
je 0x45aa01
mov eax, dword [esp + esi*4 + 0x40]
test eax, eax
jle 0x45aa01
mov eax, dword [esp + esi*4 + 0x24]
dec eax
je 0x45a9df
dec eax
je 0x45a9c3
dec eax
jne 0x45aa01
push 0x1c
call fcn.004784b0
add esp, 4
test eax, eax
je 0x45a9fd
mov ecx, dword [esp + esi*4 + 0x40]
push ecx
mov ecx, eax
call fcn.004cf860
jmp 0x45a9ff
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x45a9fd
mov edx, dword [esp + esi*4 + 0x40]
mov ecx, eax
push edx
call fcn.004cfd90
jmp 0x45a9ff
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x45a9fd
mov ecx, dword [esp + esi*4 + 0x40]
push 0
push ecx
mov ecx, eax
call fcn.004cfb10
jmp 0x45a9ff
xor eax, eax
mov dword [edi], eax
mov eax, dword [ebx + 0x214]
inc esi
add edi, 4
cmp esi, eax
jl 0x45a98a
mov ecx, dword [esp + 0x78]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 4
Function at 0x45b1c0
Capabilities:
Get number of processors
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x546908
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [esp + 0x74]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.004586a0
mov eax, dword [esi + 0xc4]
mov dword [esi], 0x54e880
xor ebp, ebp
lea edi, [esp + 0x58]
mov ebx, dword [eax + 0x20]
mov dword [esp + 0x7c], ebp
and ebx, 0xfffffffe
mov dword [esp + 0x50], ebp
mov dword [eax + 0x20], ebx
mov ecx, dword [esi + 0x1e4]
mov eax, dword [esi + 0x210]
mov edx, dword [esi + 0x208]
and ecx, 8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ecx
mov ecx, 7
xor eax, eax
mov dword [esp + 0x54], ebp
rep stosd dword es:[edi], eax
mov ecx, dword [0x67a8cc]
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov ebx, 1
mov dword [esp + 0x38], edx
push ecx
push ebx
lea edx, [esp + 0x5c]
push 0x20
push edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call edi
mov eax, dword [0x67a8cc]
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x14
mov ecx, esi
push eax
call fcn.0043ede0
mov ecx, dword [0x67a8cc]
lea edx, [esp + 0x14]
push ecx
push ebx
push 0x20
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
call edi
add esp, 0x10
mov dword [esi + 0x214], 8
xor edi, edi
lea ebx, [esi + 0x218]
cmp dword [esp + edi*4 + 0x34], ebp
je 0x45b338
cmp dword [esp + edi*4 + 0x54], ebp
jle 0x45b338
mov eax, dword [esp + edi*4 + 0x14]
dec eax
je 0x45b317
dec eax
je 0x45b2fb
dec eax
jne 0x45b338
push 0x1c
call fcn.004784b0
add esp, 4
cmp eax, ebp
je 0x45b334
mov ecx, dword [esp + edi*4 + 0x54]
push ecx
mov ecx, eax
call fcn.004cf860
jmp 0x45b336
push 0x24
call fcn.004784b0
add esp, 4
cmp eax, ebp
je 0x45b334
mov edx, dword [esp + edi*4 + 0x54]
mov ecx, eax
push edx
call fcn.004cfd90
jmp 0x45b336
push 0x24
call fcn.004784b0
add esp, 4
cmp eax, ebp
je 0x45b334
mov ecx, dword [esp + edi*4 + 0x54]
push ebp
push ecx
mov ecx, eax
call fcn.004cfb10
jmp 0x45b336
xor eax, eax
mov dword [ebx], eax
mov eax, dword [esi + 0x214]
inc edi
add ebx, 4
cmp edi, eax
jl 0x45b2c6
mov ecx, dword [esp + 0x74]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret 4
Function at 0x45d4d0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5469eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push esi
push edi
mov edi, ecx
mov ecx, dword [0x67a8cc]
push 0
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x67a8cc]
mov esi, dword [sym.imp.MSVCRT.dll_fread]
push edx
push 1
push 4
push edi
call esi
mov eax, dword [0x67a8cc]
lea ecx, [edi + 4]
push eax
push 1
push 0x40
push ecx
call esi
mov edx, dword [0x67a8cc]
lea eax, [esp + 0x38]
push edx
push 1
push 0x10
push eax
call esi
mov ecx, dword [0x67a8cc]
lea edx, [esp + 0x68]
push ecx
push 1
push 4
push edx
mov dword [esp + 0x78], 0
call esi
mov eax, dword [esp + 0x78]
add esp, 0x4c
test eax, eax
je 0x45d597
push 0x1c
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x24], 0
je 0x45d57e
mov ecx, eax
call fcn.0043ca20
jmp 0x45d580
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
push ecx
mov ecx, eax
mov dword [edi + 0x44], eax
call fcn.0043ca50
mov edx, dword [0x67a8f0]
mov eax, dword [edi]
test edx, eax
je 0x45d5c6
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x45d5c1
lea ecx, [esp + 0xc]
push 1
push ecx
mov ecx, eax
call fcn.00495db0
jmp 0x45d5c3
xor eax, eax
mov dword [edi + 0x48], eax
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4

Function at 0x45d750
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x546a0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push esi
push edi
mov edi, ecx
mov ecx, dword [0x67a8cc]
push 0
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x67a8cc]
mov esi, dword [sym.imp.MSVCRT.dll_fread]
push edx
push 1
push 4
push edi
call esi
mov eax, dword [0x67a8cc]
lea ecx, [edi + 4]
push eax
push 1
push 0x20
push ecx
call esi
mov edx, dword [0x67a8cc]
lea eax, [esp + 0x38]
push edx
push 1
push 0x10
push eax
call esi
mov ecx, dword [0x67a8cc]
lea edx, [edi + 0x24]
push ecx
push 1
push 0x10
push edx
call esi
mov eax, dword [0x67a8cc]
add esp, 0x4c
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
push 1
push 4
push ecx
call esi
mov eax, dword [esp + 0x3c]
add esp, 0x10
test eax, eax
je 0x45d82a
push 0x1c
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x24], 0
je 0x45d811
mov ecx, eax
call fcn.0043ca20
jmp 0x45d813
xor eax, eax
mov edx, dword [esp + 0x2c]
mov ecx, eax
push edx
mov dword [esp + 0x28], 0xffffffff
mov dword [edi + 0x34], eax
call fcn.0043ca50
mov eax, dword [0x67a8f0]
mov ecx, dword [edi]
test eax, ecx
je 0x45d858
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x45d853
lea ecx, [esp + 0xc]
push 1
push ecx
mov ecx, eax
call fcn.00495db0
jmp 0x45d855
xor eax, eax
mov dword [edi + 0x38], eax
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x45e9d0
Capabilities:
Get number of processors
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x546a36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [esp + 0x74]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.004586a0
mov ebp, dword [sym.imp.MSVCRT.dll_ftell]
mov ecx, 0x4502
xor eax, eax
lea edi, [esi + 0x430]
rep stosd dword es:[edi], eax
mov dword [esi], 0x54eba4
mov ecx, dword [0x67a8cc]
lea eax, [esi + 0x268]
push 0x1c8
mov ebx, 1
push eax
push ecx
mov dword [esp + 0x88], ebx
call ebp
add esp, 4
push eax
call fcn.0047a710
mov edx, dword [esi + 0x1e4]
mov eax, dword [esi + 0x208]
mov ecx, dword [esi + 0x210]
and edx, 8
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edx
mov edx, dword [0x67a8cc]
mov dword [esp + 0x48], ecx
xor eax, eax
mov ecx, 7
lea edi, [esp + 0x64]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
push edx
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push ebx
lea eax, [esp + 0x68]
push 0x20
push eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call edi
mov ecx, dword [0x67a8cc]
push ecx
call ebp
add esp, 0x20
mov ecx, esi
push eax
call fcn.0043ee20
mov edx, dword [0x67a8cc]
lea eax, [esp + 0x14]
push edx
push ebx
push 0x20
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0
call edi
add esp, 0x10
mov dword [esi + 0x214], 8
xor edi, edi
lea ebx, [esi + 0x218]
mov eax, dword [esp + edi*4 + 0x34]
test eax, eax
je 0x45eb73
mov eax, dword [esp + edi*4 + 0x54]
test eax, eax
jle 0x45eb73
mov eax, dword [esp + edi*4 + 0x14]
dec eax
je 0x45eb51
dec eax
je 0x45eb35
dec eax
jne 0x45eb73
push 0x1c
call fcn.004784b0
add esp, 4
test eax, eax
je 0x45eb6f
mov ecx, dword [esp + edi*4 + 0x54]
push ecx
mov ecx, eax
call fcn.004cf860
jmp 0x45eb71
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x45eb6f
mov edx, dword [esp + edi*4 + 0x54]
mov ecx, eax
push edx
call fcn.004cfd90
jmp 0x45eb71
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x45eb6f
mov ecx, dword [esp + edi*4 + 0x54]
push 0
push ecx
mov ecx, eax
call fcn.004cfb10
jmp 0x45eb71
xor eax, eax
mov dword [ebx], eax
mov eax, dword [esi + 0x214]
inc edi
add ebx, 4
cmp edi, eax
jl 0x45eafc
lea ecx, [esi + 0x268]
call fcn.0045db50
mov ecx, 0x40
xor eax, eax
lea edi, [esi + 0x11838]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x74]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret 4
Function at 0x460020
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xa0
mov eax, dword [esp + 0xa4]
push ebx
push esi
mov esi, ecx
push edi
push 0
push eax
mov dword [esi + 0x108], 0
mov ecx, dword [0x67a8cc]
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x67a8cc]
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push edx
push 1
push 4
push esi
call ebx
mov eax, dword [0x67a8cc]
lea ecx, [esi + 4]
push eax
push 1
push 0x100
push ecx
call ebx
mov edx, dword [0x67a8cc]
lea edi, [esi + 0x104]
push edx
push 1
push 4
push edi
call ebx
mov eax, dword [edi]
add esp, 0x3c
test eax, eax
jle 0x460101
mov ecx, dword [0x67a8cc]
lea edx, [esp + 0xc]
push ecx
push eax
push 0x10
push edx
call ebx
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00478e60
mov dword [esi + 0x108], eax
mov eax, dword [edi]
add esp, 0x14
xor ebx, ebx
test eax, eax
jle 0x460101
push ebp
lea ebp, [esp + 0x10]
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x4600dc
push 1
push ebp
mov ecx, eax
call fcn.00495db0
jmp 0x4600de
xor eax, eax
mov ecx, dword [esi + 0x108]
inc ebx
add ebp, 0x10
mov dword [ecx + ebx*4 - 4], eax
mov eax, dword [edi]
cmp ebx, eax
jl 0x4600c2
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0xa0
ret 4
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0xa0
ret 4
Function at 0x4607e0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x546abe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x18], esi
call fcn.0043cc70
xor ebx, ebx
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi + 0x1e4], ebx
mov dword [esi + 0x1e8], ebx
mov dword [esi], 0x54ecb0
mov ecx, dword [0x67a8cc]
push ecx
lea ebp, [esi + 0x1d0]
push 1
push 4
push ebp
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x1d4]
push edx
push 1
push 4
push eax
call edi
mov ecx, dword [0x67a8cc]
lea edx, [esi + 0x1d8]
push ecx
push 1
push 4
push edx
call edi
mov eax, dword [0x67a8cc]
lea ecx, [esi + 0x1dc]
push eax
push 1
push 4
push ecx
call edi
mov edx, dword [0x67a8cc]
add esp, 0x40
lea eax, [esi + 0x1e0]
push edx
push 1
push 4
push eax
call edi
mov ecx, dword [0x67a8cc]
lea edx, [esp + 0x3c]
push ecx
push 1
push 4
push edx
mov dword [esp + 0x4c], ebx
call edi
mov eax, dword [0x67a8cc]
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x24
mov ecx, esi
push eax
call fcn.0043ede0
mov ecx, dword [0x67a8cc]
lea edx, [esp + 0x10]
push ecx
push 1
push 4
push edx
mov dword [esp + 0x20], ebx
call edi
mov eax, dword [esp + 0x3c]
add esp, 0x10
cmp eax, ebx
je 0x460916
push 0x1c
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 1
je 0x4608fe
mov ecx, eax
call fcn.0043ca20
jmp 0x460900
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x24], bl
push ecx
mov ecx, eax
mov dword [esi + 0x1e4], eax
call fcn.0043ca50
mov edx, dword [0x67a8ec]
mov eax, dword [ebp]
test edx, eax
je 0x460959
cmp dword [esp + 0x10], ebx
je 0x460959
push 0x10c
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 2
je 0x460951
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, eax
call fcn.00460020
jmp 0x460953
xor eax, eax
mov dword [esi + 0x1e8], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xb8], 0x10
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x461c70
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
mov dword [esi], 0x54ee90
mov ecx, dword [0x67a8cc]
push 0
push eax
push ecx
call edi
mov edx, dword [0x67a8cc]
mov ebp, dword [sym.imp.MSVCRT.dll_fread]
push edx
push 1
push 0x10
push esi
call ebp
mov eax, dword [esi + 8]
mov ecx, dword [0x67a8cc]
push 0
push eax
push ecx
call edi
push 0x1e4
call fcn.004784b0
mov ebx, eax
add esp, 0x2c
test ebx, ebx
je 0x461ce6
push 0x64
push 0x64
push 0
push 0
lea ecx, [esp + 0x20]
call fcn.004c9320
push eax
mov ecx, ebx
call fcn.00440cb0
jmp 0x461ce8
xor eax, eax
mov edx, dword [esi + 0xc]
xor ebx, ebx
mov dword [esi + 8], eax
mov bx, word [eax + 0x1d0]
mov eax, dword [0x67a8cc]
push 0
push edx
push eax
call edi
lea ecx, [ebx*4]
push ecx
call fcn.00478e60
mov dword [esi + 0xc], eax
mov edx, dword [0x67a8cc]
push edx
push ebx
push 4
push eax
call ebp
add esp, 0x20
xor edi, edi
test ebx, ebx
jle 0x461d5e
mov eax, dword [esi + 0xc]
push 0xc
mov ebp, dword [eax + edi*4]
call fcn.004784b0
add esp, 4
test eax, eax
je 0x461d45
mov ecx, eax
call fcn.00482d20
jmp 0x461d47
xor eax, eax
mov ecx, dword [esi + 0xc]
push ebp
mov dword [ecx + edi*4], eax
mov edx, dword [esi + 0xc]
mov ecx, dword [edx + edi*4]
call fcn.00483370
inc edi
cmp edi, ebx
jl 0x461d28
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4

Function at 0x462430
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x546c1b
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
push esi
mov esi, ecx
mov ecx, dword [0x67a8cc]
push 0
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x67a8cc]
push edx
push 1
push 0x10
push esi
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esi + 8]
add esp, 0x1c
test eax, eax
je 0x4624de
mov eax, dword [esi]
and eax, 0xf
dec eax
je 0x4624bc
dec eax
je 0x4624a1
dec eax
jne 0x4624de
push 0x1c
call fcn.004784b0
add esp, 4
test eax, eax
je 0x4624d9
mov ecx, dword [esi + 8]
push ecx
mov ecx, eax
call fcn.004cf860
jmp 0x4624db
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x4624d9
mov edx, dword [esi + 8]
mov ecx, eax
push edx
call fcn.004cfd90
jmp 0x4624db
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x4624d9
mov ecx, dword [esi + 8]
push 0
push ecx
mov ecx, eax
call fcn.004cfb10
jmp 0x4624db
xor eax, eax
mov dword [esi + 8], eax
test byte [esi], 0x40
je 0x46253b
mov eax, dword [esi + 0xc]
test eax, eax
je 0x46253b
push 0x10
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0xc], 0
je 0x462524
mov edx, dword [esi + 0xc]
mov ecx, eax
push edx
call fcn.00461c70
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4
xor eax, eax
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4
mov ecx, dword [esp + 4]
mov dword [esi + 0xc], 0
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4
Function at 0x462600
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x80
mov eax, dword [esp + 0x84]
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, dword [0x67a8cc]
push 0
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x67a8cc]
mov ebp, dword [sym.imp.MSVCRT.dll_fread]
push edx
push 1
push 4
push ebx
call ebp
mov eax, dword [0x67a8cc]
lea ecx, [ebx + 4]
push eax
push 1
push 2
push ecx
call ebp
mov edx, dword [0x67a8cc]
lea eax, [ebx + 6]
push edx
push 1
push 1
push eax
call ebp
mov ecx, dword [0x67a8cc]
lea edx, [ebx + 7]
push ecx
push 1
push 1
push edx
call ebp
mov ecx, dword [0x67a8cc]
add esp, 0x4c
lea eax, [ebx + 8]
push ecx
push 1
push 8
push eax
call ebp
mov edx, dword [0x67a8cc]
lea eax, [esp + 0x40]
push edx
push 1
push 0x60
push eax
call ebp
mov eax, dword [ebx]
mov edx, dword [0x67a8e8]
mov ecx, eax
mov edi, dword [0x67a8e4]
and ecx, edx
mov esi, dword [0x67a8f0]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x67a8ec]
mov edx, eax
add esp, 0x20
and edx, ecx
mov ecx, eax
and ecx, edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [0x67a8f8]
mov edx, eax
mov dword [esp + 0x18], 1
and edx, esi
and eax, ecx
mov dword [esp + 0x2c], eax
lea eax, [ebx + 0x110]
mov dword [esp + 0x28], edx
lea esi, [esp + 0x30]
lea edi, [esp + 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 6
cmp dword [edi], 0
je 0x462721
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x462719
push 1
push esi
mov ecx, eax
call fcn.00495db0
jmp 0x46271b
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add edi, 4
add edx, 4
add esi, 0x10
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
jne 0x4626fa
mov eax, dword [ebx + 8]
test eax, eax
je 0x462777
mov edx, dword [0x67a8cc]
push 0
push eax
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [0x67a8cc]
lea esi, [ebx + 0x10]
push eax
push 1
push 0x80
push esi
call ebp
lea edi, [ebx + 0x90]
mov ecx, 0x20
add esp, 0x1c
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4627a8
mov ecx, dword [0x67a8cc]
push 0
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x67a8cc]
add ebx, 0x90
push edx
push 1
push 0x80
push ebx
call ebp
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 4