Function at 0x4011b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x405257
push eax
mov eax, 0x14688
mov dword fs:[0], esp
call fcn.00405030
push ebx
push ebp
push esi
mov esi, dword [esp + 0x146a4]
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x10]
push ebx
push eax
lea ecx, [esp + 0x1c]
push 4
push ecx
push esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call edi
test eax, eax
je 0x40156e
push 1
push ebx
push 0xfffffffffffffffc
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x14]
cmp eax, 0x576453
jne 0x4012a2
push 0x1000
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
lea edx, [esp + 0x10]
mov ebp, eax
push ebx
push edx
push 0x1000
push ebp
push esi
call edi
test eax, eax
je 0x401560
cmp dword [esp + 0x10], 0x1000
jne 0x401560
lea ecx, [esp + 0x18]
call fcn.00402dc0
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x146a4], ebx
call fcn.00402e10
mov bl, al
lea eax, [esp + 0x18]
push eax
mov ecx, 0x4086c0
call fcn.00403350
lea ecx, [esp + 0x18]
mov dword [esp + 0x146a0], 0xffffffff
call fcn.00402e70
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, bl
jmp 0x401570
cmp eax, 0x32576453
jne 0x401342
push 0x2000
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
lea ecx, [esp + 0x10]
mov ebp, eax
push ebx
push ecx
push 0x2000
push ebp
push esi
call edi
test eax, eax
je 0x401560
cmp dword [esp + 0x10], 0x2000
jne 0x401560
lea ecx, [esp + 0x168]
call fcn.00402e60
push ebp
lea ecx, [esp + 0x16c]
mov dword [esp + 0x146a4], 1
call fcn.00402ec0
lea edx, [esp + 0x168]
mov ecx, 0x4086c0
push edx
mov bl, al
call fcn.00403430
lea ecx, [esp + 0x168]
mov dword [esp + 0x146a0], 0xffffffff
call fcn.00402e70
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, bl
jmp 0x401570
cmp eax, 0x33576453
jne 0x4013e2
push 0x2000
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov ebp, eax
lea eax, [esp + 0x10]
push ebx
push eax
push 0x2000
push ebp
push esi
call edi
test eax, eax
je 0x401560
cmp dword [esp + 0x10], 0x2000
jne 0x401560
lea ecx, [esp + 0x168]
call fcn.00402f10
push ebp
lea ecx, [esp + 0x16c]
mov dword [esp + 0x146a4], 2
call fcn.00402f70
lea ecx, [esp + 0x168]
mov bl, al
push ecx
mov ecx, 0x4086c0
call fcn.00403520
lea ecx, [esp + 0x168]
mov dword [esp + 0x146a0], 0xffffffff
call fcn.00402e70
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, bl
jmp 0x401570
cmp eax, 0x34576453
jne 0x401482
push 0x10000
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
lea edx, [esp + 0x10]
mov ebp, eax
push ebx
push edx
push 0x10000
push ebp
push esi
call edi
test eax, eax
je 0x401560
cmp dword [esp + 0x10], 0x10000
jne 0x401560
lea ecx, [esp + 0x13f8]
call fcn.00403080
push ebp
lea ecx, [esp + 0x13fc]
mov dword [esp + 0x146a4], 3
call fcn.004030e0
mov bl, al
lea eax, [esp + 0x13f8]
push eax
mov ecx, 0x4086c0
call fcn.00403610
lea ecx, [esp + 0x13f8]
mov dword [esp + 0x146a0], 0xffffffff
call fcn.00402e70
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, bl
jmp 0x401570
cmp eax, 0x35576453
jne 0x40151f
push 0x10000
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
lea ecx, [esp + 0x10]
mov ebp, eax
push ebx
push ecx
push 0x10000
push ebp
push esi
call edi
test eax, eax
je 0x401560
cmp dword [esp + 0x10], 0x10000
jne 0x401560
lea ecx, [esp + 0xa948]
call fcn.00403130
push ebp
lea ecx, [esp + 0xa94c]
mov dword [esp + 0x146a4], 4
call fcn.004031e0
lea edx, [esp + 0xa948]
mov ecx, 0x4086c0
push edx
mov bl, al
call fcn.00403760
lea ecx, [esp + 0xa948]
mov dword [esp + 0x146a0], 0xffffffff
call fcn.00402e70
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, bl
jmp 0x401570
cmp eax, 0x36576453
jne 0x40156e
push 0x10000
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov ebp, eax
lea eax, [esp + 0x10]
push ebx
push eax
push 0x10000
push ebp
push esi
call edi
test eax, eax
je 0x401560
cmp dword [esp + 0x10], 0x10000
jne 0x401560
push ebp
mov ecx, 0x4086c0
call fcn.00403300
mov bl, al
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, bl
jmp 0x401570
xor al, al
mov ecx, dword [esp + 0x14698]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14694
ret