Function at 0x417960
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x994
mov eax, dword [0x488fdc]
xor eax, ebp
mov dword [ebp - 8], eax
mov al, byte [0x467347]
mov byte [ebp - 0x380], al
push 0x18f
push 0
lea ecx, [ebp - 0x37f]
push ecx
call fcn.004456b0
add esp, 0xc
mov dl, byte [0x46737b]
mov byte [ebp - 0x1f0], dl
push 0xf9
push 0
lea eax, [ebp - 0x1ef]
push eax
call fcn.004456b0
add esp, 0xc
mov cl, byte [0x46738f]
mov byte [ebp - 0x848], cl
push 0xc7
push 0
lea edx, [ebp - 0x847]
push edx
call fcn.004456b0
add esp, 0xc
mov al, byte [0x4673a5]
mov byte [ebp - 0xd0], al
push 0xc7
push 0
lea ecx, [ebp - 0xcf]
push ecx
call fcn.004456b0
add esp, 0xc
mov dword [ebp - 0xec], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xf0], 0x3e8
mov dword [ebp - 0x84c], 0
mov dword [ebp - 0x77c], 0
mov dword [ebp - 0x384], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xe4], 0x7d0
mov edx, dword [ebp - 0xe4]
push edx
call fcn.00448ca5
add esp, 4
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd4], 0
push 0x4673f4
mov eax, dword [ebp + 8]
add eax, 0xcc
push eax
call fcn.00448730
add esp, 8
test eax, eax
jne 0x417ae6
mov ecx, dword [ebp - 0x384]
add ecx, 1
mov dword [ebp - 0x384], ecx
mov edx, dword [ebp - 0x384]
push edx
push 0x48d748
push str._s_spoollogs_fax_d
lea eax, [ebp - 0x1f0]
push eax
call fcn.00445608
add esp, 0x10
mov ecx, dword [ebp - 0x384]
push ecx
push str.FAXLOG__fax_d_n
lea edx, [ebp - 0x848]
push edx
call fcn.00445608
add esp, 0xc
mov dword [ebp - 4], 1
jmp 0x417b2d
mov eax, dword [ebp + 8]
add eax, 0xcc
push eax
push 0x48d748
push 0x46741c
lea ecx, [ebp - 0x1f0]
push ecx
call fcn.00445608
add esp, 0x10
mov edx, dword [ebp + 8]
add edx, 0xcc
push edx
push 0x467430
lea eax, [ebp - 0x848]
push eax
call fcn.00445608
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x990]
push ecx
lea edx, [ebp - 0x1f0]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x994], eax
cmp dword [ebp - 0x994], 0xffffffff
je 0x417b5a
mov dword [ebp - 0xd4], 1
mov eax, dword [ebp - 0x994]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0xd4], 0
jne 0x417c02
push 0x467440
mov ecx, dword [ebp + 8]
add ecx, 0xcc
push ecx
call fcn.00448730
add esp, 8
test eax, eax
jne 0x417c02
push 0x48d748
push str._s_spoollogs_vrsched
lea edx, [ebp - 0x1f0]
push edx
call fcn.00445608
add esp, 0xc
push str.vrsched
push str.FAXLOG___s_n
lea eax, [ebp - 0x848]
push eax
call fcn.00445608
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x990]
push ecx
lea edx, [ebp - 0x1f0]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x994], eax
cmp dword [ebp - 0x994], 0xffffffff
je 0x417bf5
mov dword [ebp - 0xd4], 1
mov eax, dword [ebp - 0x994]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0xd4], 1
jne 0x417d73
lea ecx, [ebp - 0x848]
push ecx
call fcn.00445950
add esp, 4
push eax
lea edx, [ebp - 0x848]
push edx
mov eax, dword [ebp - 0xdc]
add eax, dword [ebp - 0xe0]
push eax
call fcn.00445d50
add esp, 0xc
lea ecx, [ebp - 0x848]
push ecx
call fcn.00445950
add esp, 4
add eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe0], eax
lea edx, [ebp - 0x1f0]
push edx
push str.type___s_
lea eax, [ebp - 0x380]
push eax
call fcn.00445608
add esp, 0xc
push 0x467480
lea ecx, [ebp - 0x1f0]
push ecx
call fcn.00448c8e
add esp, 8
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
je 0x417d64
push 0
push 0
mov edx, dword [ebp - 0xe8]
push edx
call fcn.00448b56
add esp, 0xc
mov eax, dword [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0xf0]
push ecx
push 1
lea edx, [ebp - 0x778]
push edx
call fcn.00448aaf
add esp, 0x10
mov dword [ebp - 0x84c], eax
cmp dword [ebp - 0x84c], 0
je 0x417d57
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x84c]
cmp eax, dword [ebp - 0xe4]
jle 0x417d22
mov ecx, dword [ebp - 0x84c]
mov edx, dword [ebp - 0xe0]
lea eax, [edx + ecx + 0x3e8]
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
call fcn.004487b8
add esp, 8
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x84c]
push eax
lea ecx, [ebp - 0x778]
push ecx
mov edx, dword [ebp - 0xdc]
add edx, dword [ebp - 0xe0]
push edx
call fcn.00445d50
add esp, 0xc
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x84c]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0x84c], 0
ja 0x417cab
mov ecx, dword [ebp - 0xe8]
push ecx
call fcn.004484c1
add esp, 4
cmp dword [ebp - 4], 0
jne 0x417a6f
cmp dword [ebp - 0xe0], 0
jne 0x417de1
push 0x467484
lea edx, [ebp - 0xd0]
push edx
call fcn.00445510
add esp, 8
lea eax, [ebp - 0xd0]
push eax
call fcn.00445950
add esp, 4
push eax
lea ecx, [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0xdc]
add edx, dword [ebp - 0xe0]
push edx
call fcn.00445d50
add esp, 0xc
lea eax, [ebp - 0xd0]
push eax
call fcn.00445950
add esp, 4
add eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe0], eax
push 0x202
mov ecx, dword [ebp - 0xe0]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.0043da70
add esp, 0x10
mov edx, dword [ebp - 0xdc]
push edx
call fcn.004485b5
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044545a
mov esp, ebp
pop ebp
ret