Function at 0x4d33f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8755
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x67c3c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call fcn.004da720
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
jne 0x4d344d
xor al, al
jmp 0x4d3649
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], ecx
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 0
push eax
mov dword [ebp - 4], 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x14]
push 0
push eax
push 4
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
call esi
test eax, eax
je 0x4d363c
cmp dword [ebp - 0x14], 4
jne 0x4d363c
push 0
push 0
push 0xc
push dword [ebp - 0x28]
call edi
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x28]
call esi
test eax, eax
je 0x4d363c
cmp dword [ebp - 0x14], 4
jne 0x4d363c
push 0
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
call edi
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x28]
call esi
test eax, eax
je 0x4d363c
mov dword [ebp - 0x30], 0x14
nop dword [eax]
cmp dword [ebp - 0x14], 4
jne 0x4d363c
cmp dword [ebp - 0x18], 0x52455355
jne 0x4d363c
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x28]
call esi
test eax, eax
je 0x4d363c
cmp dword [ebp - 0x14], 4
jne 0x4d363c
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x28]
call esi
test eax, eax
je 0x4d363c
cmp dword [ebp - 0x14], 4
jne 0x4d363c
cmp dword [ebp - 0x20], 0x52434552
jne 0x4d3613
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff4
je 0x4d3623
xor edx, edx
mov eax, ecx
div dword [ebp - 0x30]
test edx, edx
jne 0x4d3623
push ecx
call fcn.005aaec4
mov ecx, eax
add esp, 4
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x4d363c
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff4
mov byte [ebp - 4], 1
push eax
push 0
push ecx
call fcn.0059c4a0
add esp, 0xc
lea eax, [ebp - 0x14]
push 0
push eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff4
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x28]
call esi
test eax, eax
je 0x4d35fa
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff4
cmp dword [ebp - 0x14], ecx
jne 0x4d35fa
mov esi, dword [ebp - 0x30]
mov eax, 0xcccccccd
mul ecx
lea ecx, [ebx + 0x10]
mov edi, edx
shr edi, 4
call fcn.004da250
test edi, edi
je 0x4d35fa
push esi
push dword [ebx + 0x10]
lea ecx, [ebx + 0x10]
call fcn.004d01c0
add esi, 0x14
sub edi, 1
jne 0x4d35e6
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x30]
add eax, 0xfffffff4
cmp dword [ebp - 0x14], eax
sete bl
call fcn.005aaea9
add esp, 4
jmp 0x4d363e
mov eax, dword [ebp - 0x2c]
push 1
push 0
add eax, 0xfffffff4
push eax
push dword [ebp - 0x28]
call edi
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x28]
call esi
test eax, eax
jne 0x4d34f0
xor bl, bl
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059a5ad
mov esp, ebp
pop ebp
ret 4