Function at 0x4eebd4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4eee1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi], 0
mov dword [esi + 4], 0
xor eax, eax
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi + 0xc], eax
cmp ebx, 0xffffffff
jne 0x4eec33
mov ebx, 0xfffffff6
jmp 0x4eee02
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4eedf3
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
jne 0x4eec74
mov ebx, 0xfffffff6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4eee02
mov edi, 0x19
push 0
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x31]
push eax
push ebx
call sub.kernel32.dll_ReadFile
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4eec99
cmp edi, dword [ebp - 0x14]
je 0x4eecab
mov ebx, 0xfffffff6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4eee02
mov ebx, 0xfffffff5
lea eax, [ebp - 0x3c]
lea edx, [ebp - 0x31]
mov ecx, 5
call fcn.00404508
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00408770
mov eax, dword [ebp - 0x38]
mov edx, 0x4eee38
call fcn.004046a4
jne 0x4eede9
lea eax, [ebp - 0x40]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004047b8
mov eax, dword [ebp - 0x40]
call fcn.00408d64
sub eax, 0x7d0
mov byte [ebp - 0x15], al
lea eax, [ebp - 0x44]
push eax
mov ecx, 2
mov edx, 6
mov eax, dword [ebp - 0xc]
call fcn.004047b8
mov eax, dword [ebp - 0x44]
call fcn.00408d64
mov byte [ebp - 0x16], al
lea eax, [ebp - 0x48]
push eax
mov ecx, 2
mov edx, 9
mov eax, dword [ebp - 0xc]
call fcn.004047b8
mov eax, dword [ebp - 0x48]
call fcn.00408d64
mov byte [ebp - 0x17], al
lea eax, [ebp - 0x4c]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004047b8
mov eax, dword [ebp - 0x4c]
call fcn.00408d64
mov byte [ebp - 0x18], al
lea eax, [ebp - 0x50]
push eax
mov ecx, 2
mov edx, 4
mov eax, dword [ebp - 0x10]
call fcn.004047b8
mov eax, dword [ebp - 0x50]
call fcn.00408d64
mov dl, byte [ebp - 0x15]
cmp dl, byte [ebp - 0x1f]
jne 0x4eedb8
mov dl, byte [ebp - 0x16]
cmp dl, byte [ebp - 0x1e]
jne 0x4eedb8
mov dl, byte [ebp - 0x17]
cmp dl, byte [ebp - 0x1d]
jne 0x4eedb8
mov dl, byte [ebp - 0x18]
cmp dl, byte [ebp - 0x1c]
jne 0x4eedb8
cmp al, byte [ebp - 0x1b]
jne 0x4eedb8
cmp word [ebp - 0x2c], 0
jbe 0x4eedb8
mov al, byte [ebp - 0x26]
cmp al, 0x80
je 0x4eedbc
xor eax, eax
jmp 0x4eedbe
mov al, 1
test al, al
je 0x4eede9
movzx eax, word [ebp - 0x2c]
mov dword [esi + 8], eax
movzx eax, word [ebp - 0x2a]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
add eax, 0x19
adc edx, 0
sub eax, 1
sbb edx, 0
mov dword [esi], eax
mov dword [esi + 4], edx
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4eee02
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eee24
lea eax, [ebp - 0x50]
mov edx, 7
call fcn.004042bc
ret