Function at 0x42b280
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
call fcn.0042ca00
test eax, eax
jne 0x42b2aa
mov eax, dword [esi + 0xc4]
push 0x24
push eax
call fcn.004784c0
add esp, 8
mov dword [esi + 0xc4], 0
mov ecx, dword [esp + 0x10]
mov edx, dword [0x67a8cc]
push ebx
push ebp
push edi
push 0
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
lea ebp, [esi + 0x1e4]
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
mov dword [ebp], 0
mov eax, dword [0x67a8cc]
push eax
push 1
push 2
push ebp
call ebx
mov edi, dword [ebp]
lea eax, [edi*8]
sub eax, edi
lea ecx, [eax + eax*2]
lea edx, [ecx*4 + 4]
push edx
call fcn.004784e0
add esp, 0x20
test eax, eax
je 0x42b326
push 0x416d80
mov dword [eax], edi
push 0x416d50
add eax, 4
push edi
push 0x54
push eax
mov dword [esp + 0x30], eax
call fcn.0053230f
mov eax, dword [esp + 0x1c]
jmp 0x42b328
xor eax, eax
mov dword [esi + 0x1ec], eax
mov eax, dword [ebp]
shl eax, 2
push eax
call fcn.00478e60
mov ecx, dword [ebp]
mov edi, eax
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x1f0], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp]
mov ecx, 0x6d07d8
shl eax, 2
push eax
call fcn.004bb1f0
mov ecx, dword [0x67a8cc]
mov edx, dword [ebp]
push ecx
push edx
push 4
push eax
mov dword [esp + 0x2c], eax
call ebx
mov eax, dword [0x67a8cc]
lea ecx, [esp + 0x20]
push eax
push 1
push 4
push ecx
mov dword [esp + 0x30], 0
call ebx
mov edx, dword [0x67a8cc]
mov edi, dword [sym.imp.MSVCRT.dll_ftell]
push edx
call edi
add esp, 0x24
mov ecx, esi
push eax
call fcn.0043ede0
cmp dword [0x67a7f0], 0x1a
jl 0x42b3da
mov ecx, dword [0x67a8cc]
lea eax, [esi + 0x200]
push 0x14
push eax
push ecx
call edi
add esp, 4
push eax
call fcn.0047a710
add esp, 0xc
mov edx, dword [0x67a8cc]
push edx
call edi
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
add esp, 4
xor edi, edi
test eax, eax
jle 0x42b46d
xor ebx, ebx
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0xf8]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push eax
push ecx
mov eax, dword [edx + edi*4]
mov edx, dword [esi + 0x1ec]
mov ecx, ebx
push eax
add ecx, edx
call fcn.00428320
cmp dword [0x67a7f0], 0x19
jl 0x42b462
mov ecx, dword [esi + 0x1ec]
test byte [ebx + ecx + 0x1c], 1
je 0x42b462
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x42b457
mov edx, dword [esi + 0x1ec]
push 1
lea ecx, [ebx + edx + 0x20]
push ecx
mov ecx, eax
call fcn.00495db0
jmp 0x42b459
xor eax, eax
mov edx, dword [esi + 0x1f0]
mov dword [edx + edi*4], eax
mov eax, dword [ebp]
inc edi
add ebx, 0x54
cmp edi, eax
jl 0x42b3f5
mov eax, dword [esi + 0x1ec]
mov ecx, dword [0x67a8e8]
test dword [eax + 0x1c], ecx
je 0x42b4f1
mov edx, dword [ebp]
shl edx, 2
push edx
call fcn.00478e60
mov ecx, dword [ebp]
mov edi, eax
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x1f4], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp]
xor edi, edi
test eax, eax
jle 0x42b4f1
xor ebx, ebx
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x42b4da
mov ecx, dword [esi + 0x1ec]
push 1
lea edx, [ebx + ecx + 0x44]
mov ecx, eax
push edx
call fcn.00495db0
jmp 0x42b4dc
xor eax, eax
mov ecx, dword [esi + 0x1f4]
inc edi
add ebx, 0x54
mov dword [ecx + edi*4 - 4], eax
mov eax, dword [ebp]
cmp edi, eax
jl 0x42b4b6
mov edx, dword [esp + 0x1c]
mov ecx, 0x6d07d8
push edx
call fcn.004bb220
mov eax, dword [esi + 0x1e0]
pop edi
pop ebp
pop ebx
test eax, eax
je 0x42b525
xor ecx, ecx
mov cx, word [eax + 0x2a]
mov dword [esi + 0x1e8], ecx
mov dl, byte [eax + 0x2c]
and dl, 1
mov byte [esi + 0x1f8], dl
mov word [esi + 0x1fa], 0
mov eax, dword [0x67a7f0]
cmp eax, 0x18
jl 0x42b542
mov al, byte [esp + 4]
mov byte [esi + 0x1f8], al
mov ecx, dword [esp + 8]
mov edx, dword [0x67a8cc]
push 0
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
pop esi
add esp, 8
ret 8