Function at 0x4172f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6536f7
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x6ee06c]
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
mov edi, dword [0x70018c]
test edi, edi
jne 0x4173c7
push 0x70015c
mov dword [ebp - 0x188], 0x70015c
call fcn.00420a2a
add esp, 4
test eax, eax
je 0x417352
push eax
call fcn.0042141c
add esp, 4
mov dword [ebp - 4], 0
mov edi, dword [0x70018c]
test edi, edi
jne 0x417397
push 0x1c8
call fcn.0042429f
mov esi, eax
mov dword [ebp - 0x16c], esi
push 0x1c8
push edi
push esi
mov byte [ebp - 4], 1
call fcn.004e7e00
add esp, 0x10
mov ecx, esi
call fcn.004cd610
mov edi, eax
mov dword [0x70018c], edi
push 0x70015c
mov dword [ebp - 4], 2
call fcn.00420a4f
add esp, 4
test eax, eax
je 0x4173b8
push eax
call fcn.0042141c
add esp, 4
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x417988
sub esp, 0x18
xor eax, eax
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push 0x20
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.http:__ott.xsfaya.com_uiz8lele9u
mov word [ecx], ax
call fcn.00403400
push esi
call fcn.004c0572
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 0x20
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.http:__jto.xsfaya.com_uiz8lele9u
mov word [ecx], ax
call fcn.00403400
push esi
call fcn.004c0572
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.00403400
push esi
call fcn.004c0572
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 0x6d9760
mov word [ecx], ax
call fcn.00403400
push esi
call fcn.004c0572
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 0x6d973c
call fcn.00403400
push esi
call fcn.004c0572
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 0x6d978c
mov word [ecx], ax
call fcn.00403400
push esi
call fcn.004c0572
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 0x6d9768
mov word [ecx], ax
call fcn.00403400
push esi
call fcn.004c0572
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 0x6d97bc
mov word [ecx], ax
call fcn.00403400
push esi
call fcn.004c0572
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.0040fa70
mov ecx, eax
call fcn.004c267e
push esi
call fcn.004c0572
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 4]
sub esp, 0x18
push esp
call fcn.004c5d99
add esp, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
sub esp, 0x18
mov esi, esp
call fcn.004c66a2
push eax
push esi
call fcn.004c01e5
mov eax, dword [edi]
add esp, 8
mov ecx, edi
call dword [eax + 0x30]
sub esp, 0x18
mov esi, esp
call fcn.0040fa70
mov ecx, eax
call fcn.004c256d
push eax
push esi
call fcn.004c01e5
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.0040fa70
mov ecx, eax
call fcn.004c24ba
push esi
call fcn.004c0572
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x38]
lea eax, [ebp - 0x130]
push eax
call fcn.0040f9a0
mov ecx, eax
call fcn.004c0e5b
push 5
push str.cacje
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 3
call fcn.0040ffa0
push 1
push 0x6d6ddc
lea ecx, [ebp - 0x130]
call fcn.0040ffa0
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 0x41770c
mov dword [ebp - 0x18c], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1b0]
cmp dword [ebp - 0x11c], 8
lea eax, [ebp - 0x130]
push ecx
cmovae eax, dword [ebp - 0x130]
push eax
call fcn.004c16bd
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x18c]
test ecx, ecx
je 0x417708
mov edx, dword [ecx]
lea eax, [ebp - 0x1b0]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov byte [ebp - 4], 3
sub esp, 0x18
lea eax, [ebp - 0x130]
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0040fc30
push esi
call fcn.004c0572
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.0040fa70
mov ecx, eax
call fcn.004c2407
call fcn.004c02d2
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x150]
push eax
mov dword [ebp - 0x14c], edx
call fcn.004f12d1
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 - 0x168]
push str._d_.2d_.2d
push eax
call fcn.004c004b
add esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp - 0x168]
mov ecx, esp
push eax
call fcn.0040abe0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004e7e00
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], 7
lea eax, [ebp - 0x118]
mov dword [ebp - 0x174], 0
lea edx, [eax + 1]
mov dword [ebp - 0x170], 0xf
mov byte [ebp - 0x184], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417817
sub eax, edx
lea ecx, [ebp - 0x184]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0040ace0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.004c64bb
mov byte [ebp - 4], 7
add esp, 8
mov edx, dword [ebp - 0x170]
cmp edx, 0x10
jb 0x41788b
mov ecx, dword [ebp - 0x184]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417881
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4179a4
push edx
push ecx
call fcn.00424265
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x148]
mov ecx, esp
push eax
call fcn.0040abe0
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov edx, dword [ebp - 0x134]
cmp edx, 0x10
jb 0x4178dc
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4178d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4179a9
push edx
push ecx
call fcn.00424265
add esp, 8
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
cmp edx, 0x10
jb 0x417931
mov ecx, dword [ebp - 0x168]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417927
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4179ae
push edx
push ecx
call fcn.00424265
add esp, 8
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
cmp edx, 8
jb 0x417988
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41797e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4179b3
push edx
push ecx
call fcn.00424265
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.00423c15
mov esp, ebp
pop ebp
ret
call fcn.004eb7f6
call fcn.004eb7f6
call fcn.004eb7f6
call fcn.004eb7f6
int3