Function at 0x4011b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4059b2
push eax
mov eax, 0x15288
mov dword fs:[0], esp
call fcn.00405780
push ebx
push ebp
push esi
mov esi, dword [esp + 0x152a4]
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 0x40160e
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 0x401600
cmp dword [esp + 0x10], 0x1000
jne 0x401600
lea ecx, [esp + 0x18]
call fcn.00403070
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x152a4], ebx
call fcn.004030c0
mov bl, al
lea eax, [esp + 0x18]
push eax
mov ecx, 0x4086e0
call fcn.00403770
lea ecx, [esp + 0x18]
mov dword [esp + 0x152a0], 0xffffffff
call fcn.00403120
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, bl
jmp 0x401610
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 0x401600
cmp dword [esp + 0x10], 0x2000
jne 0x401600
lea ecx, [esp + 0x168]
call fcn.00403110
push ebp
lea ecx, [esp + 0x16c]
mov dword [esp + 0x152a4], 1
call fcn.00403170
lea edx, [esp + 0x168]
mov ecx, 0x4086e0
push edx
mov bl, al
call fcn.004038a0
lea ecx, [esp + 0x168]
mov dword [esp + 0x152a0], 0xffffffff
call fcn.00403120
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, bl
jmp 0x401610
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 0x401600
cmp dword [esp + 0x10], 0x2000
jne 0x401600
lea ecx, [esp + 0x168]
call fcn.004031c0
push ebp
lea ecx, [esp + 0x16c]
mov dword [esp + 0x152a4], 2
call fcn.00403220
lea ecx, [esp + 0x168]
mov bl, al
push ecx
mov ecx, 0x4086e0
call fcn.004039e0
lea ecx, [esp + 0x168]
mov dword [esp + 0x152a0], 0xffffffff
call fcn.00403120
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, bl
jmp 0x401610
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 0x401600
cmp dword [esp + 0x10], 0x10000
jne 0x401600
lea ecx, [esp + 0x13f8]
call fcn.00403330
push ebp
lea ecx, [esp + 0x13fc]
mov dword [esp + 0x152a4], 3
call fcn.00403390
mov bl, al
lea eax, [esp + 0x13f8]
push eax
mov ecx, 0x4086e0
call fcn.00403b20
lea ecx, [esp + 0x13f8]
mov dword [esp + 0x152a0], 0xffffffff
call fcn.00403120
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, bl
jmp 0x401610
cmp eax, 0x35576453
jne 0x401522
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 0x401600
cmp dword [esp + 0x10], 0x10000
jne 0x401600
lea ecx, [esp + 0x13f8]
call fcn.004033e0
push ebp
lea ecx, [esp + 0x13fc]
mov dword [esp + 0x152a4], 4
call fcn.00403490
lea edx, [esp + 0x13f8]
mov ecx, 0x4086e0
push edx
mov bl, al
call fcn.00403cc0
lea ecx, [esp + 0x13f8]
mov dword [esp + 0x152a0], 0xffffffff
call fcn.00403120
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, bl
jmp 0x401610
cmp eax, 0x36576453
jne 0x4015bf
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 0x401600
cmp dword [esp + 0x10], 0x10000
jne 0x401600
lea ecx, [esp + 0xb148]
call fcn.004034e0
push ebp
lea ecx, [esp + 0xb14c]
mov dword [esp + 0x152a4], 5
call fcn.004035b0
lea ecx, [esp + 0xb148]
mov bl, al
push ecx
mov ecx, 0x4086e0
call fcn.00403e80
lea ecx, [esp + 0xb148]
mov dword [esp + 0x152a0], 0xffffffff
call fcn.00403120
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, bl
jmp 0x401610
cmp eax, 0x37576453
jne 0x40160e
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 0x401600
cmp dword [esp + 0x10], 0x10000
jne 0x401600
push ebp
mov ecx, 0x4086e0
call fcn.00403720
mov bl, al
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, bl
jmp 0x401610
xor al, al
mov ecx, dword [esp + 0x15298]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x15294
ret