Function at 0x43e490
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x56617c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push esi
push edi
push 0x105
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x124], esi
call fcn.005001b0
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x118]
add esp, 0xc
push 0
push eax
push 0x104
lea eax, [ebp - 0x10c]
push eax
push ebx
call edi
lea ecx, [ebp - 0x10c]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43e4f0
sub ecx, edx
lea eax, [ebp - 0x10c]
push ecx
push eax
mov ecx, esi
call fcn.0041bc00
push 0
lea eax, [ebp - 0x11c]
push eax
push 4
lea eax, [ebp - 0x110]
push eax
push ebx
call edi
push dword [ebp - 0x110]
lea ecx, [esi + 0x3c]
call fcn.004354c0
xor edi, edi
cmp dword [ebp - 0x110], edi
jbe 0x43e55d
xor esi, esi
nop word [eax + eax]
mov eax, dword [ebp - 0x124]
push ebx
mov ecx, dword [eax + 0x3c]
add ecx, esi
call fcn.00435120
inc edi
add esi, 0x4c
cmp edi, dword [ebp - 0x110]
jb 0x43e540
push 0
lea eax, [ebp - 0x118]
push eax
push 4
lea eax, [ebp - 0x114]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call eax
mov edi, dword [ebp - 0x124]
mov esi, dword [ebp - 0x114]
mov byte [ebp - 0x11d], 0
mov eax, dword [edi + 0x1c]
mov ecx, eax
mov edx, dword [edi + 0x18]
sub ecx, edx
mov dword [ebp - 0x110], eax
cmp esi, ecx
jae 0x43e5a3
lea eax, [edx + esi]
jmp 0x43e5e7
jbe 0x43e5ea
mov eax, dword [edi + 0x20]
sub eax, edx
cmp esi, eax
jbe 0x43e5c6
lea eax, [ebp - 0x11d]
push eax
push esi
lea ecx, [edi + 0x18]
call fcn.004395b0
mov esi, dword [ebp - 0x114]
jmp 0x43e5ea
sub esi, ecx
push esi
push 0
push dword [ebp - 0x110]
call fcn.005001b0
mov eax, dword [ebp - 0x110]
add esp, 0xc
add eax, esi
mov esi, dword [ebp - 0x114]
mov dword [edi + 0x1c], eax
push 0
lea eax, [ebp - 0x118]
push eax
push esi
push dword [edi + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call edi
push 0
lea eax, [ebp - 0x118]
push eax
push 4
lea eax, [ebp - 0x114]
push eax
push ebx
call edi
mov esi, dword [ebp - 0x124]
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x114]
mov dword [ebp - 0x110], 0
lea ecx, [esi + 0x24]
call fcn.0043d610
push 0
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 0x114]
add eax, eax
push eax
push dword [esi + 0x24]
push ebx
call edi
push 0
lea eax, [ebp - 0x11c]
push eax
push 4
lea eax, [ebp - 0x110]
push eax
push ebx
call edi
push dword [ebp - 0x110]
lea ecx, [esi + 0x48]
call fcn.004354c0
xor edi, edi
cmp dword [ebp - 0x110], edi
jbe 0x43e69e
xor esi, esi
mov eax, dword [ebp - 0x124]
push ebx
mov ecx, dword [eax + 0x48]
add ecx, esi
call fcn.00435120
inc edi
add esi, 0x4c
cmp edi, dword [ebp - 0x110]
jb 0x43e681
push 0
lea eax, [ebp - 0x118]
push eax
push 4
lea eax, [ebp - 0x114]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call eax
mov edi, dword [ebp - 0x124]
mov esi, dword [ebp - 0x114]
mov byte [ebp - 0x11d], 0
mov eax, dword [edi + 0x34]
mov ecx, eax
mov edx, dword [edi + 0x30]
sub ecx, edx
mov dword [ebp - 0x110], eax
cmp esi, ecx
jae 0x43e6e4
lea eax, [edx + esi]
jmp 0x43e728
jbe 0x43e72b
mov eax, dword [edi + 0x38]
sub eax, edx
cmp esi, eax
jbe 0x43e707
lea eax, [ebp - 0x11d]
push eax
push esi
lea ecx, [edi + 0x30]
call fcn.004395b0
mov esi, dword [ebp - 0x114]
jmp 0x43e72b
sub esi, ecx
push esi
push 0
push dword [ebp - 0x110]
call fcn.005001b0
mov eax, dword [ebp - 0x110]
add esp, 0xc
add eax, esi
mov esi, dword [ebp - 0x114]
mov dword [edi + 0x34], eax
push 0
lea eax, [ebp - 0x118]
push eax
push esi
push dword [edi + 0x30]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fe27d
mov esp, ebp
pop ebp
ret 4