Function at 0x45fc00
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47e15e
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 0x45fd4f
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 0x45fcca
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 0x45fcf4
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 0x45fd1e
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 0x45fd45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x45fe94
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
mov eax, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
setne cl
mov byte [esp + 0x230], 4
test ecx, ecx
jne 0x45fdb9
push 0x80004005
call fcn.00401120
mov edx, dword [esp + 0x238]
push eax
push edx
call dword [sym.imp.MSVCR90.dll__wcsicmp]
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x230], 3
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45fdf4
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 0x45fe17
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 0x45fe41
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 0x45fe6b
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 0x45fe92
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