Function at 0x45a76c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov eax, dword [0x6e7380]
test eax, eax
je 0x45a7ab
push dword [0x6e7384]
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.0046eed8
add esp, 0x10
test eax, eax
je 0x45a7a4
mov eax, dword [ebp + 0x10]
imul dword [0x757cbc]
jmp 0x45aa2a
xor eax, eax
jmp 0x45aa2a
mov edx, dword [0x6f6a84]
test edx, edx
je 0x45a7cb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045a6bc
add esp, 0xc
jmp 0x45aa2a
mov ecx, dword [0x757cc8]
test ecx, ecx
je 0x45a7f1
push dword [0x7d80f0]
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.0050c2bc
add esp, 0x10
jmp 0x45aa2a
mov eax, dword [0x757ccc]
test eax, eax
je 0x45a815
push 0x8f2f68
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.00556464
add esp, 0x10
jmp 0x45aa2a
mov edx, dword [0x9398a0]
test edx, edx
je 0x45a83a
push 0x8f2f68
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.00558284
add esp, 0x10
jmp 0x45aa2a
mov ecx, dword [0x9398a4]
test ecx, ecx
je 0x45a85f
push 0x8f2f68
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.00558bf8
add esp, 0x10
jmp 0x45aa2a
mov eax, dword [0x757d34]
test eax, eax
je 0x45a87e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045a2e0
add esp, 0xc
jmp 0x45aa2a
mov edx, dword [0x6f6a8c]
test edx, edx
je 0x45a891
push dword [ebp + 8]
call fcn.00458b1c
pop ecx
push 8
push 0
lea ecx, [ebp - 0xc]
push ecx
call fcn.0066c86c
add esp, 0xc
mov eax, dword [ebp + 8]
cdq
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [0x757cb0]
cdq
push edx
push eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.006744e4
push edx
push eax
mov eax, dword [0x757cc0]
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 [0x93c4ac], ecx
mov eax, dword [ebp - 8]
mov dword [0x93c4b0], eax
push 0
push 0x93c4b0
push dword [0x93c4ac]
push dword [0x757ca8]
call sub.KERNEL32.DLL_SetFilePointer
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
cmp edx, 0xffffffff
jne 0x45a91a
call sub.KERNEL32.DLL_GetLastError
test eax, eax
je 0x45a91a
xor eax, eax
jmp 0x45aa2a
mov edx, dword [ebp + 0x10]
imul edx, dword [0x757cb0]
mov dword [ebp - 0x14], edx
mov ecx, dword [0x757cb0]
mov eax, dword [0x757cbc]
cmp ecx, eax
jne 0x45a962
push 0
lea edx, [ebp - 0x18]
push edx
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push dword [0x757ca8]
call sub.KERNEL32.DLL_ReadFile
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
je 0x45aa21
xor eax, eax
jmp 0x45aa2a
push dword [ebp - 0x14]
call fcn.0066c210
pop ecx
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
test edx, edx
jne 0x45a992
push 0x59fa
call fcn.00402a64
pop ecx
push eax
push 0
call fcn.0046279c
add esp, 8
xor eax, eax
jmp 0x45aa2a
push 0
lea edx, [ebp - 0x18]
push edx
push dword [ebp - 0x14]
push dword [ebp - 0x24]
push dword [0x757ca8]
call sub.KERNEL32.DLL_ReadFile
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
je 0x45a9c0
push dword [ebp - 0x24]
call fcn.0066c220
pop ecx
xor eax, eax
jmp 0x45aa2a
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 0x45aa18
push dword [0x757cbc]
mov ecx, dword [ebp - 4]
imul ecx, dword [0x757cb0]
mov eax, dword [ebp - 0x24]
add ecx, eax
mov edx, dword [0x757cb4]
add ecx, edx
push ecx
mov ecx, dword [ebp - 4]
imul ecx, dword [0x757cbc]
mov eax, dword [ebp - 0x28]
add ecx, eax
push ecx
call fcn.0066c7fc
add esp, 0xc
inc dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
cmp edx, ecx
jl 0x45a9d5
push dword [ebp - 0x24]
call fcn.0066c220
pop ecx
mov eax, dword [ebp + 0x10]
imul dword [0x757cbc]
mov esp, ebp
pop ebp
ret