Function at 0x473290
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d37e9
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x513330]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0xbc], 0
mov dword [esp + 0x20], esi
push esi
push 0x80
push 3
push esi
push 1
mov byte [esp + 0xd0], 1
mov eax, dword [esp + 0xd8]
push Ordinal_1
push eax
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
or ebp, 0xffffffff
cmp eax, ebp
jne 0x4733dc
call fcn.00405b90
test eax, eax
jl 0x473497
push 0
lea ecx, [esp + 0x20]
push ecx
push 0x8b
lea edx, [esp + 0x30]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x473346
call fcn.00405b90
test eax, eax
jl 0x47348c
cmp dword [esp + 0x1c], 0x8b
jne 0x47348c
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ebx, 4
call fcn.00473cb0
lea edx, [esp + 0x53]
push edx
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0xc4], 2
call fcn.00473cb0
lea ecx, [esp + 0x6d]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0xc4], 3
call fcn.00473cb0
lea eax, [esp + 0x14]
push eax
mov ecx, str.abst
call fcn.0048c410
add esp, 4
test al, al
je 0x4733e7
lea ecx, [esp + 0x10]
push ecx
mov ecx, str.asrt
call fcn.0048c410
add esp, 4
test al, al
je 0x4733e7
lea edx, [esp + 0x18]
push edx
mov ecx, str.afrt
call fcn.0048c410
add esp, 4
test al, al
je 0x4733e7
mov bl, 1
jmp 0x4733e9
mov esi, eax
mov dword [esp + 0x20], esi
jmp 0x47331d
xor bl, bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473408
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xbc], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47342f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xbc], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473456
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x473461
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xbc], ebp
mov eax, dword [esp + 0xc4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x473488
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
jmp 0x4734c0
test esi, esi
je 0x473497
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xbc], ebp
mov eax, dword [esp + 0xc4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x4734be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004a52a5
add esp, 0xb0
ret