Function at 0x417580
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653777
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
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 [0x70016c]
test edi, edi
jne 0x417657
push 0x70013c
mov dword [ebp - 0x1ac], 0x70013c
call fcn.00420c8a
add esp, 4
test eax, eax
je 0x4175e2
push eax
call fcn.0042167c
add esp, 4
mov dword [ebp - 4], 0
mov edi, dword [0x70016c]
test edi, edi
jne 0x417627
push 0x1c8
call fcn.004244ff
mov esi, eax
mov dword [ebp - 0x190], esi
push 0x1c8
push edi
push esi
mov byte [ebp - 4], 1
call fcn.004e7e30
add esp, 0x10
mov ecx, esi
call fcn.004cd420
mov edi, eax
mov dword [0x70016c], edi
push 0x70013c
mov dword [ebp - 4], 2
call fcn.00420caf
add esp, 4
test eax, eax
je 0x417648
push eax
call fcn.0042167c
add esp, 4
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x417c01
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.004bfb96
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.004bfb96
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.004bfb96
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 0x6d9700
mov word [ecx], ax
call fcn.00403400
push esi
call fcn.004bfb96
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 0x6d96dc
call fcn.00403400
push esi
call fcn.004bfb96
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 0x6d972c
mov word [ecx], ax
call fcn.00403400
push esi
call fcn.004bfb96
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 0x6d9708
mov word [ecx], ax
call fcn.00403400
push esi
call fcn.004bfb96
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 0x6d975c
mov word [ecx], ax
call fcn.00403400
push esi
call fcn.004bfb96
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.0040fcf0
mov ecx, eax
call fcn.004c1bef
push esi
call fcn.004bfb96
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 4]
sub esp, 0x18
push esp
call fcn.004c530a
add esp, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
sub esp, 0x18
mov esi, esp
call fcn.004c5be1
push eax
push esi
call fcn.004bf965
mov eax, dword [edi]
add esp, 8
mov ecx, edi
call dword [eax + 0x30]
sub esp, 0x18
mov esi, esp
call fcn.0040fcf0
mov ecx, eax
call fcn.004c1ade
push eax
push esi
call fcn.004bf965
mov eax, dword [edi]
add esp, 8
mov ecx, edi
call dword [eax + 0x40]
lea eax, [ebp - 0x130]
push eax
call fcn.0040fc20
mov ecx, eax
call fcn.004c047f
push 5
push str.cacje
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 3
call fcn.00410220
push 1
push 0x6d6d7c
lea ecx, [ebp - 0x130]
call fcn.00410220
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 0x417972
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1d8]
cmp dword [ebp - 0x11c], 8
lea eax, [ebp - 0x130]
push ecx
cmovae eax, dword [ebp - 0x130]
push eax
call fcn.004c0ce1
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1b4]
test ecx, ecx
je 0x41796e
mov edx, dword [ecx]
lea eax, [ebp - 0x1d8]
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.0040feb0
push esi
call fcn.004bfb96
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.0040fcf0
mov ecx, eax
call fcn.004c1a2b
call fcn.004bfa52
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x18c]
mov dword [ebp - 0x14c], edx
push eax
call fcn.004f139c
push dword [ebp - 0x180]
mov eax, dword [ebp - 0x17c]
inc eax
push eax
mov eax, dword [ebp - 0x178]
add eax, 0x76c
push eax
lea eax, [ebp - 0x168]
push str._d_.2d_.2d
push eax
call fcn.004bf7cb
add esp, 0x1c
mov byte [ebp - 4], 6
lea eax, [ebp - 0x168]
mov ecx, esp
push eax
call fcn.0040ac50
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004e7e30
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 - 0x198], 0
lea edx, [eax + 1]
mov dword [ebp - 0x194], 0xf
mov byte [ebp - 0x1a8], 0
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417a90
sub eax, edx
lea ecx, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0040ad50
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.004c5a2c
mov byte [ebp - 4], 7
add esp, 8
mov edx, dword [ebp - 0x194]
cmp edx, 0x10
jb 0x417b04
mov ecx, dword [ebp - 0x1a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417afa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417c1d
push edx
push ecx
call fcn.004244c5
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x148]
mov ecx, esp
push eax
call fcn.0040ac50
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov edx, dword [ebp - 0x134]
cmp edx, 0x10
jb 0x417b55
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417b4b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417c22
push edx
push ecx
call fcn.004244c5
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 0x417baa
mov ecx, dword [ebp - 0x168]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417ba0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417c27
push edx
push ecx
call fcn.004244c5
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 0x417c01
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417bf7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417c2c
push edx
push ecx
call fcn.004244c5
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.00423e75
mov esp, ebp
pop ebp
ret
call fcn.004eb826
call fcn.004eb826
call fcn.004eb826
call fcn.004eb826
int3