Function at 0x402ab0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x411d76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x438
mov eax, dword [0x4161c0]
push ebx
push esi
xor esi, esi
mov dword [esp + 0x43c], eax
mov dword [esp + 0x10], esi
mov eax, dword [0x4178f4]
push edi
mov ecx, 0x4178f4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x44c], esi
call fcn.00401c40
mov ecx, dword [esp + 0x458]
push esi
push esi
push 3
push esi
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x402b65
mov esi, dword [esp + 0xc]
add esi, 0xfffffff0
push esi
call fcn.00401b60
mov edi, dword [esp + 0x458]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x44c], ebx
lea edx, [esi + 0xc]
or eax, ebx
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x402b5e
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, edi
jmp 0x402d25
push ebp
push 2
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, eax
cmp ebp, 0x10
jbe 0x402cdd
lea edi, [ebp + 4]
push edi
mov dword [esp + 0x1c], esi
call fcn.00408593
mov ecx, edi
mov edx, ecx
mov esi, eax
add esp, 4
shr ecx, 2
xor eax, eax
push 0
mov edi, esi
rep stosd dword es:[edi], eax
push 0
mov ecx, edx
push 0
and ecx, 3
push ebx
rep stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x1c]
push eax
push ebp
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402cdd
cmp dword [esp + 0x18], ebp
jne 0x402cdd
cmp dword [esi], 0x4d454f4c
je 0x402c18
lea ecx, [esp + 0x14]
call fcn.004029b0
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x454], 1
call fcn.00402a70
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401ea0
lea ecx, [esp + 0x14]
mov byte [esp + 0x450], 0
call fcn.00401250
jmp 0x402cad
mov eax, dword [esi + 4]
push eax
push str._2_db_L_
lea edx, [esp + 0x42c]
push 0x20
push edx
call fcn.00402810
lea eax, [esp + 0x434]
add esp, 0x10
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402c40
lea ecx, [esp + 0x424]
sub eax, edx
push ecx
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00402d50
lea eax, [ebp + 4]
push eax
call fcn.00408593
mov edi, eax
push edi
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [esp + 0x38]
push edx
mov dword [edi + ebp], 0
call fcn.00402e40
push esi
call fcn.0040858e
lea ecx, [edi + 4]
add esp, 0x24
lea edx, [ebp - 0xc]
mov esi, edi
mov dword [esp + 0x14], ecx
call fcn.00402790
cmp dword [edi], eax
jne 0x402cdd
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.00401fb0
push esi
call fcn.0040858e
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x458]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00401cb0
lea ecx, [esp + 0x10]
call fcn.00401250
mov eax, esi
jmp 0x402d24
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x10]
add esi, 0xfffffff0
push esi
call fcn.00401b60
mov edi, dword [esp + 0x45c]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x450], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x402d22
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, edi
pop ebp
mov ecx, dword [esp + 0x444]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x438]
pop ebx
call fcn.004077be
add esp, 0x444
ret