Function at 0x43d3c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x56617c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x28], ebx
push 4
mov edx, dword [ebx]
mov ecx, ebx
mov dword [ebp - 0x20], esi
lea eax, [esi + 0xc]
push eax
call dword [edx + 0x14]
cmp byte [ebp + 0xc], 0
jne 0x43d5e9
mov eax, dword [ebx]
lea ecx, [ebp - 9]
push edi
push 1
push ecx
mov ecx, ebx
call dword [eax + 0x14]
mov al, byte [ebp - 9]
test al, al
je 0x43d491
movzx edx, al
lea edi, [esi + 0x10]
mov eax, dword [edi + 0x10]
mov dword [ebp - 8], eax
cmp edx, eax
ja 0x43d430
mov dword [edi + 0x10], edx
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x43d42a
mov eax, dword [edi]
mov byte [eax + edx], 0
jmp 0x43d47c
mov ecx, edx
sub ecx, eax
mov eax, dword [edi + 0x14]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
cmp ecx, eax
ja 0x43d46b
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], edx
mov edx, edi
jb 0x43d44e
mov edx, dword [edi]
mov esi, dword [ebp - 8]
push ecx
add esi, edx
push 0
push esi
call fcn.005001b0
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov byte [esi + eax], 0
mov esi, dword [ebp - 0x20]
jmp 0x43d47c
push ecx
push ecx
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
mov ecx, edi
call fcn.0043d7f0
cmp dword [edi + 0x14], 0x10
jb 0x43d484
mov edi, dword [edi]
movzx eax, byte [ebp - 9]
mov ecx, ebx
mov edx, dword [ebx]
push eax
push edi
call dword [edx + 0x14]
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push 4
push ecx
mov ecx, ebx
call dword [eax + 0x14]
mov eax, dword [esi + 0x2c]
lea edi, [esi + 0x28]
mov edx, dword [edi]
mov ecx, eax
mov esi, dword [ebp - 0x10]
sub ecx, edx
mov byte [ebp - 0x19], 0
mov dword [ebp - 8], eax
cmp esi, ecx
jae 0x43d4bd
lea eax, [edx + esi]
jmp 0x43d4f1
jbe 0x43d4f4
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x43d4d9
lea eax, [ebp - 0x19]
mov ecx, edi
push eax
push esi
call fcn.004395b0
mov esi, dword [ebp - 0x10]
jmp 0x43d4f4
sub esi, ecx
push esi
push 0
push dword [ebp - 8]
call fcn.005001b0
mov eax, dword [ebp - 8]
add esp, 0xc
add eax, esi
mov esi, dword [ebp - 0x10]
mov dword [edi + 4], eax
mov eax, dword [ebx]
mov ecx, ebx
push esi
push dword [edi]
call dword [eax + 0x14]
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push 4
push ecx
mov ecx, ebx
call dword [eax + 0x14]
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x18], 0
lea ecx, [esi + 0x34]
call fcn.0043d610
mov eax, dword [ebp - 0x10]
mov ecx, ebx
mov edx, dword [ebx]
add eax, eax
push eax
push dword [esi + 0x34]
call dword [edx + 0x14]
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x14]
push 0
push ecx
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 0x18], eax
push ecx
lea edi, [esi + 0x40]
push eax
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 8]
mov ecx, edi
call fcn.004354c0
xor edi, edi
cmp dword [ebp - 8], edi
jbe 0x43d58c
mov ebx, dword [ebp - 0x18]
xor esi, esi
nop dword [eax]
mov eax, dword [ebp - 0x24]
push ebx
mov ecx, dword [eax]
add ecx, esi
call fcn.00435120
inc edi
add esi, 0x4c
cmp edi, dword [ebp - 8]
jb 0x43d570
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x14]
push 0
push ecx
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 0x24], eax
push ecx
lea edi, [esi + 0x4c]
push eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 8]
mov ecx, edi
call fcn.004354c0
xor edi, edi
cmp dword [ebp - 8], edi
jbe 0x43d5dd
mov ebx, dword [ebp - 0x24]
xor esi, esi
mov eax, dword [ebp - 0x18]
push ebx
mov ecx, dword [eax]
add ecx, esi
call fcn.00435120
inc edi
add esi, 0x4c
cmp edi, dword [ebp - 8]
jb 0x43d5c1
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
push dword [ebx + 4]
lea ecx, [esi + 0x58]
call fcn.00435120
pop edi
push ebx
mov ecx, esi
call fcn.00439980
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004fe27d
mov esp, ebp
pop ebp
ret 8