Function at 0x45aa54
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov eax, dword [0x6ebc48]
test eax, eax
je 0x45aa93
push dword [0x6ebc4c]
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.0046f1c0
add esp, 0x10
test eax, eax
je 0x45aa8c
mov eax, dword [ebp + 0x10]
imul dword [0x760dc8]
jmp 0x45ad12
xor eax, eax
jmp 0x45ad12
mov edx, dword [0x6fb2c0]
test edx, edx
je 0x45aab3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045a9a4
add esp, 0xc
jmp 0x45ad12
mov ecx, dword [0x760dd4]
test ecx, ecx
je 0x45aad9
push dword [0x7e5ac4]
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.0050c6d8
add esp, 0x10
jmp 0x45ad12
mov eax, dword [0x760dd8]
test eax, eax
je 0x45aafd
push 0x90093c
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.00556880
add esp, 0x10
jmp 0x45ad12
mov edx, dword [0x947274]
test edx, edx
je 0x45ab22
push 0x90093c
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.005586a0
add esp, 0x10
jmp 0x45ad12
mov ecx, dword [0x947278]
test ecx, ecx
je 0x45ab47
push 0x90093c
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.00559014
add esp, 0x10
jmp 0x45ad12
mov eax, dword [0x760e40]
test eax, eax
je 0x45ab66
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045a5c8
add esp, 0xc
jmp 0x45ad12
mov edx, dword [0x6fb2c8]
test edx, edx
je 0x45ab79
push dword [ebp + 8]
call fcn.00458e04
pop ecx
push 8
push 0
lea ecx, [ebp - 0xc]
push ecx
call fcn.0066cc88
add esp, 0xc
mov eax, dword [ebp + 8]
cdq
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [0x760dbc]
cdq
push edx
push eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.00674900
push edx
push eax
mov eax, dword [0x760dcc]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 0xc]
mov dword [0x949e80], ecx
mov eax, dword [ebp - 8]
mov dword [0x949e84], eax
push 0
push 0x949e84
push dword [0x949e80]
push dword [0x760db4]
call sub.KERNEL32.DLL_SetFilePointer
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
cmp edx, 0xffffffff
jne 0x45ac02
call sub.KERNEL32.DLL_GetLastError
test eax, eax
je 0x45ac02
xor eax, eax
jmp 0x45ad12
mov edx, dword [ebp + 0x10]
imul edx, dword [0x760dbc]
mov dword [ebp - 0x14], edx
mov ecx, dword [0x760dbc]
mov eax, dword [0x760dc8]
cmp ecx, eax
jne 0x45ac4a
push 0
lea edx, [ebp - 0x18]
push edx
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push dword [0x760db4]
call sub.KERNEL32.DLL_ReadFile
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
je 0x45ad09
xor eax, eax
jmp 0x45ad12
push dword [ebp - 0x14]
call fcn.0066c62c
pop ecx
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
test edx, edx
jne 0x45ac7a
push 0x59fa
call fcn.00402b9c
pop ecx
push eax
push 0
call fcn.00462a84
add esp, 8
xor eax, eax
jmp 0x45ad12
push 0
lea edx, [ebp - 0x18]
push edx
push dword [ebp - 0x14]
push dword [ebp - 0x24]
push dword [0x760db4]
call sub.KERNEL32.DLL_ReadFile
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
je 0x45aca8
push dword [ebp - 0x24]
call fcn.0066c63c
pop ecx
xor eax, eax
jmp 0x45ad12
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
cmp eax, edx
jge 0x45ad00
push dword [0x760dc8]
mov ecx, dword [ebp - 4]
imul ecx, dword [0x760dbc]
mov eax, dword [ebp - 0x24]
add ecx, eax
mov edx, dword [0x760dc0]
add ecx, edx
push ecx
mov ecx, dword [ebp - 4]
imul ecx, dword [0x760dc8]
mov eax, dword [ebp - 0x28]
add ecx, eax
push ecx
call fcn.0066cc18
add esp, 0xc
inc dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
cmp edx, ecx
jl 0x45acbd
push dword [ebp - 0x24]
call fcn.0066c63c
pop ecx
mov eax, dword [ebp + 0x10]
imul dword [0x760dc8]
mov esp, ebp
pop ebp
ret