Function at 0x43a564
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7b8
push ebx
push esi
xor ebx, ebx
push edi
push ebx
call fcn.004399ca
cmp dword [0x69e3b4], ebx
pop ecx
jne 0x43a58d
push 0x19e6
push 2
jmp 0x43a6cd
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 8]
push 1
push eax
push ebx
mov dword [ebp - 8], ebx
push dword [ebp + 8]
call esi
push ebx
push ebx
push ebx
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
call esi
mov ecx, 0xf7
xor eax, eax
lea edi, [ebp - 0x7b7]
mov byte [ebp - 0x7b8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x7b8]
push 0x3e0
push eax
push dword [ebp + 8]
call fcn.0043d94a
add esp, 0xc
mov edi, eax
lea eax, [ebp - 8]
push ebx
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call esi
cmp edi, ebx
jne 0x43a5fb
push 0x19fa
push 0xf
jmp 0x43a6cd
mov ecx, 0xe1
xor eax, eax
lea edi, [ebp - 0x3d7]
mov byte [ebp - 0x3d8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x3d8]
push eax
lea eax, [ebp - 0x7b8]
push eax
call fcn.0043d46e
pop ecx
test eax, eax
pop ecx
jne 0x43a638
push 0x1a02
push 0x14
jmp 0x43a6cd
lea eax, [ebp - 0x3d8]
push eax
call fcn.0044208d
test eax, eax
pop ecx
jne 0x43a652
push 0x1a09
push 0x1f
jmp 0x43a6cd
cmp dword [ebp + 0xc], ebx
je 0x43a66e
lea eax, [ebp - 0x3d8]
push 0x388
push eax
push dword [ebp + 0xc]
call fcn.00465c70
add esp, 0xc
cmp dword [ebp + 0x10], ebx
mov edi, dword [ebp + 0x18]
jne 0x43a67a
cmp edi, ebx
je 0x43a696
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x43a69e
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0x10]
call fcn.00466010
add esp, 0xc
cmp edi, ebx
je 0x43a696
mov dword [edi], ebx
push 1
pop eax
jmp 0x43a80b
cmp dword [ebp + 0x14], eax
jae 0x43a6b6
cmp edi, ebx
je 0x43a6a9
mov dword [edi], eax
xor eax, eax
cmp dword [ebp + 0x10], ebx
sete al
jmp 0x43a80b
push eax
call fcn.005ed45a
mov edi, eax
pop ecx
cmp edi, ebx
mov dword [ebp + 0xc], edi
jne 0x43a6db
push 0x1a2d
push 0x21
call fcn.004399ac
pop ecx
xor eax, eax
pop ecx
jmp 0x43a80b
push dword [ebp - 0x58]
push ebx
push edi
call fcn.00466010
add esp, 0xc
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], ebx
push ebx
push eax
push dword [ebp - 0x60]
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x10]
push ebx
push eax
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x58]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
lea eax, [ebp - 8]
push ebx
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call esi
cmp edi, ebx
je 0x43a7e8
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp + 0xc]
call fcn.00453a6b
add esp, 0xc
test eax, eax
je 0x43a7f1
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0x4f]
mov byte [ebp - 0x50], bl
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x798]
call fcn.0043a3ca
add esp, 0xc
cmp eax, ebx
jne 0x43a78b
push dword [ebp - 0x58]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.00465c70
mov eax, dword [ebp + 0x18]
add esp, 0xc
cmp eax, ebx
je 0x43a782
mov ecx, dword [ebp - 0x58]
mov dword [eax], ecx
mov dword [ebp - 4], 1
jmp 0x43a7ff
push eax
call fcn.00439674
mov esi, eax
pop ecx
cmp esi, ebx
je 0x43a7df
lea eax, [ebp + 8]
mov edi, dword [esi]
push eax
lea eax, [ebp - 0x50]
push dword [ebp + 0x14]
mov dword [ebp + 8], ebx
push dword [ebp + 0x10]
push dword [ebp - 0x58]
push dword [ebp + 0xc]
push eax
call fcn.00467290
pop ecx
push eax
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
call dword [edi + 0x14]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43a7d6
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x43a7ff
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x43a7ff
push 0x1a6b
push 0x12
jmp 0x43a7f8
push 0x1a70
push 0xc
jmp 0x43a7f8
push 0x1a3f
push 0xd
jmp 0x43a7f8
push 0x1a46
push 0x1c
call fcn.004399ac
pop ecx
pop ecx
push dword [ebp + 0xc]
call fcn.005ed483
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop esi
pop ebx
leave
ret