Function at 0x41f430
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x675d87
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x71506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00420170
mov edi, eax
test edi, edi
je 0x41fa31
sub esp, 0x18
xor eax, eax
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push 0x1d
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.http:__ott.xsfaya.com_wvajt99
mov word [ecx], ax
call fcn.00404390
push esi
call fcn.004d0c7c
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x14]
sub esp, 0x18
xor eax, eax
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push 0x1d
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.http:__jto.xsfaya.com_wvajt99
mov word [ecx], ax
call fcn.00404390
push esi
call fcn.004d0c7c
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x18]
sub esp, 0x18
xor eax, eax
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push 0x21
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.http:__ott.xsfaya.com_microtime__
mov word [ecx], ax
call fcn.00404390
push esi
call fcn.004d0c7c
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x1c]
sub esp, 0x18
xor eax, eax
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push 2
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x6fd218
mov word [ecx], ax
call fcn.00404390
push esi
call fcn.004d0c7c
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
xor eax, eax
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
push 0x10
push 0x6fd220
call fcn.00404390
push esi
call fcn.004d0c7c
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x20]
sub esp, 0x18
xor eax, eax
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push 0x10
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x6fd1d0
mov word [ecx], ax
call fcn.00404390
push esi
call fcn.004d0c7c
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x24]
sub esp, 0x18
xor eax, eax
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push 0x10
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x6fd1f4
mov word [ecx], ax
call fcn.00404390
push esi
call fcn.004d0c7c
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x28]
sub esp, 0x18
xor eax, eax
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push 0x10
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x6fd264
mov word [ecx], ax
call fcn.00404390
push esi
call fcn.004d0c7c
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.00418b40
mov ecx, eax
call fcn.004d2587
push esi
call fcn.004d0c7c
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 4]
sub esp, 0x18
push esp
call fcn.004da17a
add esp, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
sub esp, 0x18
mov esi, esp
call fcn.004db241
push eax
push esi
call fcn.004d01c8
mov eax, dword [edi]
add esp, 8
mov ecx, edi
call dword [eax + 0x30]
sub esp, 0x18
mov esi, esp
call fcn.00418b40
mov ecx, eax
call fcn.004d24ad
push eax
push esi
call fcn.004d01c8
mov eax, dword [edi]
add esp, 8
mov ecx, edi
call dword [eax + 0x40]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
push esp
call fcn.00418b40
mov ecx, eax
call fcn.004d23fa
push esi
call fcn.004d0c7c
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x38]
lea eax, [ebp - 0x130]
push eax
call fcn.00407c40
mov ecx, eax
call fcn.004d1397
push 5
push str.cacje
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0
call fcn.00408340
push 1
push 0x6fc038
lea ecx, [ebp - 0x130]
call fcn.00408340
cmp dword [ebp - 0x11c], 8
lea eax, [ebp - 0x130]
cmovae eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41f7b4
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x188]
cmp dword [ebp - 0x11c], 8
lea eax, [ebp - 0x130]
push ecx
cmovae eax, dword [ebp - 0x130]
push eax
call fcn.004d1b4a
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x164]
test ecx, ecx
je 0x41f7b0
mov edx, dword [ecx]
lea eax, [ebp - 0x188]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov byte [ebp - 4], 0
sub esp, 0x18
lea eax, [ebp - 0x130]
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00408200
push esi
call fcn.004d0c7c
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.00418b40
mov ecx, eax
call fcn.004d2347
call fcn.004d0716
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x198]
push eax
mov dword [ebp - 0x194], edx
call fcn.00511387
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 - 0x160]
push str._d_.2d_.2d
push eax
call fcn.004cff1a
add esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x160]
mov ecx, esp
push eax
call fcn.00405f50
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00508390
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x118]
mov dword [ebp - 0x168], 0
lea edx, [eax + 1]
mov dword [ebp - 0x164], 0xf
mov byte [ebp - 0x178], 0
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f8c0
sub eax, edx
lea ecx, [ebp - 0x178]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004063f0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.004d890c
mov byte [ebp - 4], 4
add esp, 8
mov edx, dword [ebp - 0x164]
cmp edx, 0x10
jb 0x41f934
mov ecx, dword [ebp - 0x178]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41f92a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fa4d
push edx
push ecx
call fcn.00430080
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x148]
mov ecx, esp
push eax
call fcn.00405f50
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov edx, dword [ebp - 0x134]
cmp edx, 0x10
jb 0x41f985
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41f97b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fa52
push edx
push ecx
call fcn.00430080
add esp, 8
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
cmp edx, 0x10
jb 0x41f9da
mov ecx, dword [ebp - 0x160]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41f9d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fa57
push edx
push ecx
call fcn.00430080
add esp, 8
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
cmp edx, 8
jb 0x41fa31
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41fa27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fa5c
push edx
push ecx
call fcn.00430080
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042fa05
mov esp, ebp
pop ebp
ret
call fcn.0050c210
call fcn.0050c210
call fcn.0050c210
call fcn.0050c210
int3