Function at 0x4511f0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47d0e3
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x214], eax
push ebp
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov eax, dword [0x4a743c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a743c
mov dword [esp + 0x230], 2
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x23c]
push eax
lea ecx, [esp + 0x18]
push str._s_version.dat
push ecx
mov byte [esp + 0x23c], 3
call fcn.00402e80
mov edi, dword [esp + 0x20]
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
or ebp, 0xffffffff
cmp esi, ebp
jne 0x45133f
lea eax, [edi - 0x10]
mov byte [esp + 0x230], 2
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4512ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x238]
add eax, 0xfffffff0
mov byte [esp + 0x230], 1
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4512e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x23c]
add eax, 0xfffffff0
mov byte [esp + 0x230], 0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45130e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x240]
add eax, 0xfffffff0
mov dword [esp + 0x230], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x451335
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x45145f
push 0x208
lea ecx, [esp + 0x20]
push 0
push ecx
mov dword [esp + 0x24], 0x208
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
lea edx, [esp + 0x1c]
push edx
push 0x208
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00406310
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x23c]
push eax
call fcn.00428d10
movzx esi, al
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4513bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x230], 2
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4513e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x238]
add eax, 0xfffffff0
mov byte [esp + 0x230], 1
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45140c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x23c]
add eax, 0xfffffff0
mov byte [esp + 0x230], 0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x451436
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x240]
add eax, 0xfffffff0
mov dword [esp + 0x230], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x45145d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004764f6
add esp, 0x224
ret 0xc