Function at 0x424550
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5459cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
mov eax, dword [esp + 0x118]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push eax
mov dword [esp + 0x28], ebp
call fcn.0043cc70
xor esi, esi
mov ebx, 1
mov dword [ebp + 0x1e4], esi
mov dword [ebp + 0x1e8], esi
mov dword [ebp + 0x1ec], esi
mov dword [ebp + 0x1f0], esi
mov dword [ebp + 0x1f8], esi
mov dword [ebp + 0x1fc], esi
mov word [ebp + 0x200], bx
mov word [ebp + 0x202], bx
mov dword [ebp + 0x204], ebx
lea edi, [ebp + 0x2ec]
mov ecx, 6
xor eax, eax
mov dword [ebp + 0x208], esi
mov dword [ebp + 0x20c], esi
mov dword [ebp + 0x210], esi
mov dword [ebp + 0x218], esi
mov dword [ebp + 0x2a4], esi
mov dword [ebp + 0x2e8], esi
rep stosd dword es:[edi], eax
lea edi, [ebp + 0x304]
mov ecx, 0x19
rep stosd dword es:[edi], eax
lea edi, [ebp + 0x368]
mov ecx, 9
rep stosd dword es:[edi], eax
lea eax, [ebp + 0x38c]
xor ecx, ecx
mov dword [esp + 0x120], esi
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
or edi, 0xffffffff
lea ecx, [ebp + 0x3c8]
mov dword [ebp + 0x3a0], edi
mov word [ebp + 0x3a6], si
mov word [ebp + 0x3a4], si
mov word [ebp + 0x3aa], di
mov word [ebp + 0x3a8], di
mov dword [ebp + 0x3ac], esi
mov dword [ebp + 0x3b0], esi
mov dword [ebp + 0x3b4], ebx
mov dword [ebp + 0x3b8], ebx
mov dword [ebp + 0x3bc], ebx
mov dword [ebp + 0x3c0], ebx
mov byte [esp + 0x120], bl
mov dword [ebp + 0x3c4], esi
call fcn.004bb6f0
lea eax, [ebp + 0x3fc]
xor edx, edx
mov dword [ebp + 0x3e0], esi
mov dword [ebp + 0x3e4], esi
mov dword [ebp + 0x3e8], esi
mov dword [ebp + 0x3ec], esi
mov dword [ebp + 0x3f0], esi
mov dword [ebp + 0x3f4], esi
mov dword [ebp + 0x3f8], edi
mov dword [ebp], 0x54aa34
mov dword [eax], edx
mov byte [esp + 0x120], 2
mov dword [eax + 4], edx
mov ecx, dword [0x67a8cc]
push ecx
push ebx
push 0x10
lea edx, [ebp + 0x1d0]
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push edx
call ebx
mov eax, dword [0x67a8cc]
lea ecx, [ebp + 0x1e0]
push eax
push 1
push 2
push ecx
call ebx
mov edx, dword [0x67a8cc]
lea eax, [ebp + 0x1e2]
push edx
push 1
push 1
push eax
call ebx
mov ecx, dword [0x67a8cc]
lea edx, [ebp + 0x1e3]
push ecx
push 1
push 1
push edx
call ebx
mov eax, dword [0x67a8cc]
add esp, 0x40
push eax
push 1
lea eax, [ebp + 0x1e4]
push 4
push eax
call ebx
mov ecx, dword [0x67a8cc]
lea eax, [ebp + 0x1e8]
push ecx
push 1
push 4
push eax
call ebx
mov edx, dword [0x67a8cc]
lea eax, [ebp + 0x1ec]
push edx
push 1
push 4
push eax
call ebx
mov eax, dword [0x67a8cc]
push eax
push 1
lea eax, [ebp + 0x1f0]
push 4
push eax
call ebx
mov ecx, dword [0x67a8cc]
add esp, 0x40
lea edx, [ebp + 0x1f4]
push ecx
push 1
push 4
push edx
call ebx
mov eax, dword [0x67a8cc]
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x14
mov ecx, ebp
push eax
call fcn.0043ede0
lea edi, [ebp + 0x224]
mov ecx, 0x10
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [ebp + 0x264]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [ebp + 0x2a8]
rep stosd dword es:[edi], eax
cmp dword [0x67a7f0], 0x19
jl 0x424cd9
mov ecx, dword [0x67a8cc]
lea eax, [ebp + 0x1f8]
push ecx
push 1
push 4
push eax
call ebx
mov edx, dword [0x67a8cc]
lea eax, [ebp + 0x1fc]
push edx
push 1
push 4
push eax
call ebx
mov eax, dword [0x67a7f0]
add esp, 0x20
cmp eax, 0x1c
jl 0x424cd9
mov eax, dword [0x67a8cc]
push eax
push 1
lea eax, [ebp + 0x200]
push 8
push eax
call ebx
mov ecx, dword [0x67a8cc]
lea edx, [esp + 0xf8]
push ecx
push 1
push 0x10
push edx
call ebx
mov eax, dword [0x67a8cc]
push eax
push 1
lea eax, [ebp + 0x210]
push 4
push eax
call ebx
mov ecx, dword [0x67a8cc]
lea edx, [ebp + 0x214]
push ecx
push 1
push 4
push edx
call ebx
mov eax, dword [0x67a8cc]
add esp, 0x40
push eax
push 1
lea eax, [ebp + 0x218]
push 4
push eax
call ebx
mov ecx, dword [0x67a8cc]
lea edx, [ebp + 0x21c]
push ecx
push 1
push 4
push edx
call ebx
mov eax, dword [0x67a8cc]
lea ecx, [ebp + 0x220]
push eax
push 1
push 4
push ecx
call ebx
mov edx, dword [0x67a8cc]
lea eax, [esp + 0xd8]
push edx
push 1
push 0x20
push eax
call ebx
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x6c]
mov dword [esp + 0x68], esi
rep stosd dword es:[edi], eax
mov ecx, dword [0x67a8cc]
add esp, 0x40
lea edx, [esp + 0x28]
push ecx
push 1
push 0x20
push edx
call ebx
mov ecx, dword [0x67a8cc]
xor eax, eax
push ecx
push 1
lea edx, [esp + 0x30]
mov dword [esp + 0x34], eax
push 0xc
push edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], eax
call ebx
mov eax, dword [ebp + 0x1f0]
add esp, 0x20
test eax, 0x10000000
je 0x424ba8
mov eax, dword [0x67a8cc]
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
mov edi, eax
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x2e8], eax
mov ecx, dword [0x67a8e4]
add esp, 4
sub edi, 8
test eax, ecx
mov dword [esp + 0x10], edi
je 0x42494d
lea eax, [ebp + 0x2ec]
push 0x18
push eax
push edi
call fcn.0047a710
add esp, 0xc
mov ecx, dword [0x67a8e8]
mov eax, dword [ebp + 0x2e8]
test eax, ecx
je 0x424a07
lea eax, [ebp + 0x304]
push 0x64
add edi, 4
push eax
push edi
call fcn.0047a710
mov eax, dword [ebp + 0x304]
lea esi, [ebp + 0x308]
mov ecx, 8
lea edi, [esp + 0xd4]
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
lea esi, [ebp + 0x328]
mov ecx, 8
lea edi, [esp + 0x48]
test ah, 3
rep movsd dword es:[edi], dword [esi]
je 0x4249ce
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x4249c6
lea edx, [ebp + 0x348]
push 1
push edx
mov ecx, eax
call fcn.00495db0
jmp 0x4249c8
xor eax, eax
mov dword [ebp + 0x3e0], eax
mov eax, dword [ebp + 0x304]
test ah, 0x30
je 0x424a01
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x4249f9
lea ecx, [ebp + 0x358]
push 1
push ecx
mov ecx, eax
call fcn.00495db0
jmp 0x4249fb
xor eax, eax
mov dword [ebp + 0x3e4], eax
mov edi, dword [esp + 0x10]
xor esi, esi
mov edx, dword [0x67a8f4]
mov eax, dword [ebp + 0x2e8]
test eax, edx
je 0x424a2c
lea eax, [ebp + 0x368]
push 0x24
push eax
lea eax, [edi + 8]
push eax
call fcn.0047a710
add esp, 0xc
mov ecx, dword [0x67a8f8]
mov eax, dword [ebp + 0x2e8]
test eax, ecx
je 0x424a7c
lea eax, [ebp + 0x38c]
push 0x14
add edi, 0xc
push eax
push edi
call fcn.0047a710
mov edx, dword [0x67a8cc]
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x10
lea ecx, [ebp + 0x38c]
mov edi, eax
call fcn.00424100
mov eax, dword [0x67a8cc]
push esi
push edi
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov ecx, dword [0x67a8fc]
mov eax, dword [ebp + 0x2e8]
test eax, ecx
je 0x424b8f
mov edx, dword [0x67a8cc]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x6c]
mov dword [esp + 0x68], esi
push edx
rep stosd dword es:[edi], eax
push 1
lea eax, [esp + 0x90]
push 0x20
push eax
call ebx
mov ecx, dword [0x67a8cc]
lea edx, [esp + 0x78]
push ecx
push 1
push 0x20
push edx
call ebx
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x74], eax
mov eax, dword [0x67a8cc]
mov dword [esp + 0x78], ecx
push eax
mov dword [esp + 0x100], edx
mov edx, dword [esp + 0x94]
push 2
lea ecx, [esp + 0x120]
push 0x10
push ecx
mov dword [esp + 0x8c], edx
call ebx
mov edx, dword [0x67a900]
mov eax, dword [ebp + 0x2e8]
add esp, 0x30
test eax, edx
je 0x424b8f
push 0x24
call fcn.004784b0
add esp, 4
cmp eax, esi
je 0x424b5e
lea ecx, [esp + 0xf8]
push 1
push ecx
mov ecx, eax
call fcn.00495db0
jmp 0x424b60
xor eax, eax
push 0x24
mov dword [ebp + 0x3f0], eax
call fcn.004784b0
add esp, 4
cmp eax, esi
je 0x424b87
lea edx, [esp + 0x108]
push 1
push edx
mov ecx, eax
call fcn.00495db0
jmp 0x424b89
xor eax, eax
mov dword [ebp + 0x3f4], eax
mov eax, dword [0x67a914]
mov ecx, dword [ebp + 0x2e8]
test ecx, eax
je 0x424ba8
mov eax, dword [ebp + 0xc4]
and dword [eax + 0x20], 0xfffffffe
test dword [ebp + 0x1f0], 0x4000000
je 0x424c5d
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0xbc]
lea eax, [ebp + 0x224]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0xe4], edx
mov ebx, eax
xor edi, edi
cmp dword [esp + edi + 0x28], esi
jle 0x424c4b
mov eax, dword [esp + edi + 0xa8]
dec eax
je 0x424c2a
dec eax
je 0x424c0e
dec eax
jne 0x424c4b
push 0x1c
call fcn.004784b0
add esp, 4
cmp eax, esi
je 0x424c47
mov ecx, dword [esp + edi + 0x28]
push ecx
mov ecx, eax
call fcn.004cf860
jmp 0x424c49
push 0x24
call fcn.004784b0
add esp, 4
cmp eax, esi
je 0x424c47
mov edx, dword [esp + edi + 0x28]
mov ecx, eax
push edx
call fcn.004cfd90
jmp 0x424c49
push 0x24
call fcn.004784b0
add esp, 4
cmp eax, esi
je 0x424c47
mov ecx, dword [esp + edi + 0x28]
push esi
push ecx
mov ecx, eax
call fcn.004cfb10
jmp 0x424c49
xor eax, eax
mov dword [ebx], eax
add edi, 4
add ebx, 4
cmp edi, 0x40
jl 0x424bdc
mov ecx, ebp
call fcn.00427830
test dword [ebp + 0x1f0], 0x2000000
je 0x424c73
mov eax, dword [ebp + 0xc4]
and dword [eax + 0x20], 0xfffffffe
test dword [ebp + 0x1f0], 0x200000
je 0x424ca8
push 0x24
call fcn.004784b0
add esp, 4
cmp eax, esi
je 0x424ca0
lea edx, [esp + 0xe8]
push 1
push edx
mov ecx, eax
call fcn.00495db0
jmp 0x424ca2
xor eax, eax
mov dword [ebp + 0x114], eax
test byte [ebp + 0x2ec], 1
je 0x424cd9
push 0x24
call fcn.004784b0
add esp, 4
cmp eax, esi
je 0x424cd1
lea ecx, [ebp + 0x2f4]
push 1
push ecx
mov ecx, eax
call fcn.00495db0
jmp 0x424cd3
xor eax, eax
mov dword [ebp + 0x12c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x1f0]
and ah, 0xfd
or ah, 1
test ecx, 0x2000000
mov dword [ebp + 8], eax
je 0x424cfc
and ah, 0xfe
or ah, 2
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
or ch, 8
mov dword [ebp + 8], ecx
mov ecx, ebp
call fcn.004275a0
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
mov dword [ebp + 0xb8], 1
call fcn.00427700
movsx eax, word [eax + 2]
movsx edx, word [ebp + 0x16]
movsx edi, word [ebp + 0x12]
lea ecx, [eax + eax]
sub edx, edi
movsx edi, word [ebp + 0x10]
sub edx, ecx
inc edx
push edx
movsx edx, word [ebp + 0x14]
sub edx, edi
sub edx, ecx
movsx ecx, word [ebp + 0x12]
inc edx
add ecx, eax
push edx
push ecx
movsx edx, word [ebp + 0x10]
add edx, eax
lea ecx, [esp + 0x1c]
push edx
call fcn.004c9320
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0x14], edx
movsx eax, word [ebp + 0x16]
movsx ecx, word [ebp + 0x12]
movsx edx, word [ebp + 0x14]
sub eax, ecx
lea ecx, [esp + 0x18]
inc eax
push eax
movsx eax, word [ebp + 0x10]
sub edx, eax
inc edx
push edx
push esi
push esi
call fcn.004c9320
mov ecx, dword [eax]
pop edi
mov dword [ebp + 0x34], ecx
mov ecx, dword [esp + 0x114]
mov edx, dword [eax + 4]
mov eax, ebp
mov dword [ebp + 0x38], edx
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret 4