Function at 0x414d89
Capabilities:
Check if file exists

Disassembly:
push 0x184
mov eax, 0x643d2f
call fcn.004e70a5
mov ebx, ecx
call fcn.0040fe5e
mov edi, eax
test edi, edi
je 0x415199
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push 0x6c88f8
call fcn.0040b74f
push esi
call fcn.004b75cb
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.0040b74f
push esi
call fcn.004b75cb
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.0040b74f
push esi
call fcn.004b75cb
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 0x6c77cc
call fcn.0040b74f
push esi
call fcn.004b75cb
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 0x6c89cc
call fcn.0040b74f
push esi
call fcn.004b75cb
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 0x6c89f0
call fcn.0040b74f
push esi
call fcn.004b75cb
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 0x6c8a14
call fcn.0040b74f
push esi
call fcn.004b75cb
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 0x6c8a38
call fcn.0040b74f
push esi
call fcn.004b75cb
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.0040b037
mov ecx, eax
call fcn.004b5f99
push esi
call fcn.004b75cb
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 4]
sub esp, 0x18
push esp
call fcn.004c47d4
mov eax, dword [edi]
pop ecx
mov ecx, edi
call dword [eax + 0x10]
sub esp, 0x18
mov esi, esp
call fcn.004c3e90
push eax
push esi
call fcn.004b6f1e
mov eax, dword [edi]
pop ecx
pop ecx
mov ecx, edi
call dword [eax + 0x30]
sub esp, 0x18
mov esi, esp
call fcn.0040b037
mov ecx, eax
call fcn.004b5ebf
push eax
push esi
call fcn.004b6f1e
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.0040b037
mov ecx, eax
call fcn.004b5e0c
push esi
call fcn.004b75cb
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x38]
lea eax, [ebp - 0x12c]
push eax
call fcn.0041552c
mov ecx, eax
call fcn.004c63e8
and dword [ebp - 4], 0
lea ecx, [ebp - 0x12c]
push str.cacje
call fcn.0040b45b
push 0x6c8bb4
lea ecx, [ebp - 0x12c]
call fcn.0040b45b
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 0x415023
and dword [ebp - 0x148], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x16c]
cmp dword [ebp - 0x118], 8
lea eax, [ebp - 0x12c]
push ecx
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.004c5963
pop ecx
pop ecx
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0
call fcn.00412bc6
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.0040b482
push esi
call fcn.004b75cb
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.0040b037
mov ecx, eax
call fcn.004b5d59
call fcn.004b7148
mov dword [ebp - 0x190], eax
lea eax, [ebp - 0x190]
push eax
mov dword [ebp - 0x18c], edx
call fcn.0051075c
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 - 0x184]
push str._d_.2d_.2d
push eax
call fcn.004b6cef
add esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
lea eax, [ebp - 0x184]
xor ebx, ebx
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040dd78
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.004fe600
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 - 0x134], ebx
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x144], bl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x14c], ebx
mov byte [ebp - 0x15c], bl
call fcn.0040ef26
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004c43b7
pop ecx
pop ecx
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 3
call fcn.0040ee34
sub esp, 0x18
lea eax, [ebp - 0x144]
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040dd78
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea ecx, [ebp - 0x144]
call fcn.0040ee34
lea ecx, [ebp - 0x184]
call fcn.0040ee34
lea ecx, [ebp - 0x12c]
call fcn.0040b4f9
call fcn.004e704f
ret