Function at 0x43deb7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [0x4cd650], edi
je 0x43df1b
mov eax, dword [ebp + 0xc]
or eax, dword [ebp + 0x10]
jne 0x43dede
mov ecx, dword [0x4a3d38]
push edi
push edi
call fcn.0040d9b7
push dword [ebp + 0x18]
mov ecx, dword [0x4a3d38]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040d94f
test eax, eax
mov eax, dword [ebp + 0x1c]
je 0x43df0a
cmp eax, edi
je 0x43df03
mov dword [eax], edi
xor eax, eax
jmp 0x43e16f
cmp eax, edi
je 0x43df13
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
xor eax, eax
inc eax
jmp 0x43e16f
cmp dword [0x4cd334], 1
push esi
jne 0x43df69
mov eax, dword [ebp + 0xc]
or eax, dword [ebp + 0x10]
mov esi, 0x4cde18
jne 0x43df3c
push edi
push edi
push edi
mov ecx, esi
call fcn.00414c7e
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
call fcn.00414cd6
test eax, eax
mov eax, dword [ebp + 0x1c]
jne 0x43df58
mov dword [eax], edi
jmp 0x43dfae
cmp eax, edi
je 0x43df61
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
xor eax, eax
inc eax
jmp 0x43e16e
cmp dword [ebp + 0x14], edi
jne 0x43dfb5
mov eax, dword [0x4d4728]
mov dword [0x4d4668], edi
mov dword [0x4d466c], edi
mov dword [0x4d4720], edi
mov dword [0x4d4724], edi
mov dword [0x4d4718], edi
mov dword [0x4d471c], edi
cmp eax, edi
je 0x43dfae
push 0x8000
push edi
push eax
call dword [sym.imp.___total_physical_size__lu_MB_VirtualFree]
mov dword [0x4d4728], edi
xor eax, eax
jmp 0x43e16e
mov edi, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, ebx
and eax, edi
cmp eax, 0xffffffff
jne 0x43dfd4
mov edi, dword [0x4d466c]
mov ebx, dword [0x4d4668]
mov dword [ebp + 0x10], edi
cmp dword [0x4d4728], 0
jne 0x43e04d
mov ecx, dword [0x4cd640]
test ecx, ecx
je 0x43dfff
mov eax, 0x1f4
xor edx, edx
div ecx
mov dword [0x4cd294], 0x200
mov dword [0x4d4714], eax
mov eax, dword [0x4cd294]
add eax, 0x3f
shr eax, 6
shl eax, 0x10
mov ecx, 0x10000
mov dword [0x4d4710], eax
cmp eax, ecx
ja 0x43e022
mov eax, ecx
mov dword [0x4d4710], eax
push 4
push 0x1000
push eax
push 0
call dword [sym.imp.___total_physical_size__lu_MB_VirtualAlloc]
mov dword [0x4d4728], eax
test eax, eax
jne 0x43e04d
push dword [0x4d4710]
push 0x478048
call fcn.0043c16a
pop ecx
pop ecx
cmp edi, dword [0x4d471c]
jb 0x43e083
ja 0x43e05f
cmp ebx, dword [0x4d4718]
jbe 0x43e083
mov ecx, dword [ebp + 0x18]
xor eax, eax
add ecx, ebx
adc eax, edi
cmp eax, dword [0x4d4724]
jb 0x43e122
ja 0x43e083
mov eax, dword [0x4d4720]
cmp ecx, eax
jb 0x43e127
push 0
mov esi, ebx
push edi
and esi, 0xfffff000
push esi
push dword [ebp + 8]
call fcn.0044df99
cmp eax, esi
jne 0x43e09f
cmp edx, edi
je 0x43e0c1
push edi
push esi
push str.Cant_seek_to_offset__I64X
call dword [sym.imp.___total_physical_size__lu_MB_GetLastError]
push eax
push 0xee
push 0x478004
call fcn.0044dc85
add esp, 0x18
jmp 0x43e0e0
push 0
lea eax, [ebp - 4]
push eax
push dword [0x4d4710]
push dword [0x4d4728]
push dword [ebp + 8]
call dword [sym.imp.___total_physical_size__lu_MB_ReadFile]
test eax, eax
jne 0x43e0ed
mov eax, dword [ebp + 0x1c]
and dword [eax], 0
xor eax, eax
jmp 0x43e16d
mov eax, dword [0x4d4714]
test eax, eax
je 0x43e0fd
push eax
call dword [sym.imp.___total_physical_size__lu_MB_Sleep]
mov eax, dword [ebp - 4]
xor ecx, ecx
add eax, esi
adc ecx, edi
mov dword [0x4d471c], edi
mov edi, dword [ebp + 0x10]
mov dword [0x4d4718], esi
mov dword [0x4d4720], eax
mov dword [0x4d4724], ecx
jmp 0x43e127
mov eax, dword [0x4d4720]
mov esi, dword [ebp + 0x18]
mov ecx, ebx
sub ecx, dword [0x4d4718]
sub eax, ebx
cmp eax, esi
jae 0x43e13a
mov esi, eax
mov eax, dword [0x4d4728]
push esi
add eax, ecx
push eax
push dword [ebp + 0x14]
call fcn.00451390
xor ecx, ecx
add esp, 0xc
mov eax, esi
add eax, ebx
mov dword [0x4d4668], eax
mov eax, dword [ebp + 0x1c]
adc ecx, edi
mov dword [0x4d466c], ecx
mov dword [eax], esi
xor eax, eax
test esi, esi
setne al
pop ebx
pop esi
pop edi
leave
ret 0x18