Function at 0x4162e8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x4b5b2d
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc0]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 0x4b5b2d
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc8]
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
ftst
fnstsw ax
test ah, 1
je 0x41637c
fchs
fcomp qword [0x4b28d8]
fnstsw ax
test ah, 0x41
je 0x4163e2
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x4b5b29
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 1
push dword [ebp - 0x10]
push 0x4b5b2d
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc0]
jmp 0x4163e2
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x4b5b2d
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc0]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fsub qword [0x499338]
fstp qword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
fld qword [ebp - 0x20]
call fcn.00401e95
push eax
push 0x4b5b2d
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc0]
push 0x4b5b2d
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb8]
mov dword [ebp - 8], esp
push dword [0x4b5aed]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x416481
push 6
call fcn.0044dbd4
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x4165c0
call fcn.0040205e
mov dword [ebp - 8], eax
push 0x4b28e0
push dword [ebp - 8]
mov ecx, 2
call fcn.0040119e
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4164be
push ebx
call fcn.0044dbce
add esp, 4
lea eax, [ebp - 0x3c]
push eax
push 1
push 0
push dword [ebp - 0xc]
mov eax, 0
call fcn.00450be0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4164ec
push ebx
call fcn.0044dbce
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x416500
push ebx
call fcn.0044dbce
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x499305
push dword [ebp - 4]
call fcn.00401096
add esp, 8
cmp eax, 0
je 0x4165c0
call fcn.0040205e
mov dword [ebp - 8], eax
push dword [ebp - 4]
push 0x499322
push dword [ebp - 8]
mov ecx, 3
call fcn.0040119e
add esp, 0xc
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x416550
push ebx
call fcn.0044dbce
add esp, 4
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x416563
mov eax, 0x499305
push eax
push 1
mov ebx, 0x244
call fcn.0044e320
add esp, 0x10
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x416586
push ebx
call fcn.0044dbce
add esp, 4
lea eax, [ebp - 0x3c]
push eax
push 1
push 0
push 0
mov eax, 0
call fcn.00450be0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4165b7
push ebx
call fcn.0044dbce
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x416504
push dword [ebp - 0x3c]
mov eax, 1
call fcn.00450d30
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4165e0
push ebx
call fcn.0044dbce
add esp, 4
mov esp, ebp
pop ebp
ret