Function at 0x72eb44
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x72edd6
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00653ad8
test al, al
jne 0x72eb92
mov ecx, 0x72edf8
mov dl, 1
mov eax, dword [0x72e70c]
call fcn.0042cd90
call fcn.00409610
movzx eax, si
imul edi
mov dword [ebp - 0x18], eax
mov eax, ebx
call fcn.0072e7c4
mov esi, eax
movzx eax, bl
add eax, 0x41
dec eax
mov word [ebp - 0x1e], ax
cmp esi, 0xffffffff
jne 0x72ebf2
movzx eax, word [ebp - 0x1e]
mov word [ebp - 0x30], ax
mov byte [ebp - 0x2c], 9
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0x34]
call fcn.0042be2c
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
lea eax, [ebp - 0x30]
push eax
push 1
mov ecx, 0x72ee4c
mov dl, 1
mov eax, dword [0x72e5b4]
call fcn.0042cdcc
call fcn.00409610
mov eax, edi
dec eax
and eax, dword [ebp - 0xc]
sete byte [ebp - 0x1f]
cmp byte [ebp - 0x1f], 0
je 0x72ec0a
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x72ec1f
push 4
push 0x1000
mov eax, dword [ebp - 0x18]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 0x1c], eax
xor edx, edx
push ebp
push 0x72edac
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, edi
cdq
push edx
push eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
call fcn.0040bf20
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov ebx, 3
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push esi
call sub.kernel32.dll_SetFilePointer_1
cmp eax, 0xffffffff
setne al
test al, al
jne 0x72ec65
dec ebx
jne 0x72ec48
test al, al
jne 0x72ecb2
lea eax, [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0x10
movzx eax, word [ebp - 0x1e]
mov word [ebp - 0x44], ax
mov byte [ebp - 0x40], 9
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0x50]
call fcn.0042be2c
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0x11
lea eax, [ebp - 0x4c]
push eax
push 2
mov ecx, 0x72eebc
mov dl, 1
mov eax, dword [0x72e664]
call fcn.0042cdcc
call fcn.00409610
mov ebx, 3
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push esi
call sub.kernel32.dll_ReadFile_1
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x72ecd8
dec ebx
jne 0x72ecb7
test al, al
jne 0x72ed25
lea eax, [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0x10
movzx eax, word [ebp - 0x1e]
mov word [ebp - 0x44], ax
mov byte [ebp - 0x40], 9
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0x54]
call fcn.0042be2c
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0x11
lea eax, [ebp - 0x4c]
push eax
push 2
mov ecx, 0x72eebc
mov dl, 1
mov eax, dword [0x72e664]
call fcn.0042cdcc
call fcn.00409610
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
je 0x72ed76
lea eax, [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0x10
movzx eax, word [ebp - 0x1e]
mov word [ebp - 0x44], ax
mov byte [ebp - 0x40], 9
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0x58]
call fcn.0042be2c
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0x11
lea eax, [ebp - 0x4c]
push eax
push 2
mov ecx, 0x72eebc
mov dl, 1
mov eax, dword [0x72e664]
call fcn.0042cdcc
call fcn.00409610
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x72edb3
cmp byte [ebp - 0x1f], 0
jne 0x72edab
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00406900
push 0x8000
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_VirtualFree_1
ret