Function at 0x404fd0
Capabilities:
Check if file exists

Disassembly:
push 0x1a8
mov eax, 0x57e0f1
call fcn.00421459
mov ebx, ecx
call fcn.00405a5f
mov edi, eax
test edi, edi
je 0x4053d7
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push str.http:__win_ott.55kantu.com_mlb6ortjw
call fcn.00403f1e
push esi
call fcn.0040cf9c
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:__jtt_win.55kantu.com_mlb6ortjw
call fcn.00403f1e
push esi
call fcn.0040cf9c
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 str.http:__win_ott.55kantu.com_microtime__
call fcn.00403f1e
push esi
call fcn.0040cf9c
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 0x5eea4c
call fcn.00403f1e
push esi
call fcn.0040cf9c
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 0x5eebd8
call fcn.00403f1e
push esi
call fcn.0040cf9c
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 0x5eebfc
call fcn.00403f1e
push esi
call fcn.0040cf9c
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 0x5eec20
call fcn.00403f1e
push esi
call fcn.0040cf9c
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
mov ecx, esp
push 0x5eec44
call fcn.00403f1e
push esi
call fcn.0040cf9c
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x30]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
push esp
call fcn.004042ab
mov ecx, eax
call fcn.0040b872
push esi
call fcn.0040cf9c
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 4]
sub esp, 0x18
push esp
call fcn.0041162f
mov eax, dword [edi]
pop ecx
mov ecx, edi
call dword [eax + 0x10]
sub esp, 0x18
mov esi, esp
call fcn.00411c55
push eax
push esi
call fcn.0040ccc8
mov eax, dword [edi]
pop ecx
pop ecx
mov ecx, edi
call dword [eax + 0x34]
sub esp, 0x18
mov esi, esp
call fcn.004042ab
mov ecx, eax
call fcn.0040b6e9
push eax
push esi
call fcn.0040ccc8
mov eax, dword [edi]
pop ecx
pop ecx
mov ecx, edi
call dword [eax + 0x44]
lea eax, [ebp - 0x12c]
push eax
call fcn.00403138
mov ecx, eax
call fcn.0040bcea
and dword [ebp - 4], 0
lea ecx, [ebp - 0x12c]
push str.cacje
call fcn.00403ef7
push 0x5eea58
lea ecx, [ebp - 0x12c]
call fcn.00403ef7
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 0x405240
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.0040d527
pop ecx
pop ecx
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0
call fcn.00403d37
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.00403c9c
push esi
call fcn.0040cf9c
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x40]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x48]
mov edx, dword [edi]
lea eax, [ebx + 4]
neg ebx
mov ecx, edi
sbb ebx, ebx
and ebx, eax
push ebx
call dword [edx + 0x4c]
sub esp, 0x18
push esp
call fcn.004042ab
mov ecx, eax
call fcn.0040b587
call fcn.0040cdb5
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1b0], edx
push eax
call fcn.0044869f
push dword [ebp - 0x19c]
mov eax, dword [ebp - 0x198]
inc eax
push eax
mov eax, dword [ebp - 0x194]
add eax, 0x76c
push eax
lea eax, [ebp - 0x184]
push str._d_.2d_.2d
push eax
call fcn.0040cafc
add esp, 0x1c
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.004021ea
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
mov esi, 0x104
lea eax, [ebp - 0x114]
push esi
push ebx
push eax
call fcn.00438740
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.004020cc
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00411d29
pop ecx
pop ecx
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 3
call fcn.00402018
sub esp, 0x18
lea eax, [ebp - 0x144]
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.004021ea
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea ecx, [ebp - 0x144]
call fcn.00402018
lea ecx, [ebp - 0x184]
call fcn.00402018
lea ecx, [ebp - 0x12c]
call fcn.00404086
call fcn.00421403
ret