Function at 0x486260
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c345a
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4e54b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x58]
call fcn.004015f5
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.004015f5
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00401131
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.00401131
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00401131
mov eax, dword [ebp - 0x10]
add eax, 0xc
push eax
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00401aa0
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 2
push str..INF
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.00401c5d
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x58]
call fcn.004018f7
lea eax, [ebp - 0x58]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00401811
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.00401811
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00401410
add esp, 4
movzx eax, al
test eax, eax
jne 0x486365
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00401811
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401811
jmp 0x48648e
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.00401d20
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x34], eax
push 0x4c9668
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0048af56
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x14], 0
je 0x4863a0
cmp dword [ebp - 0x1c], 0
jne 0x4863c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00401811
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401811
jmp 0x48648e
mov edx, dword [ebp - 0x14]
push edx
call fcn.004897f0
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 1
mov eax, dword [ebp - 0x18]
push eax
call fcn.0048ee90
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048ae1b
add esp, 4
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x14]
je 0x486431
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00489866
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00401811
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401811
jmp 0x48648e
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x64]
call fcn.004018f7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00489866
add esp, 4
lea edx, [ebp - 0x64]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0040198d
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004012a8
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040170d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00401811
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401811
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret