Function at 0x41a560
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66f0d7
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x70d06c]
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.0041b2a0
mov edi, eax
test edi, edi
je 0x41ab61
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.00404490
push esi
call fcn.004ca7b9
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.00404490
push esi
call fcn.004ca7b9
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.00404490
push esi
call fcn.004ca7b9
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 0x6f5d1c
mov word [ecx], ax
call fcn.00404490
push esi
call fcn.004ca7b9
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 0x6f5d90
call fcn.00404490
push esi
call fcn.004ca7b9
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 0x6f5d6c
mov word [ecx], ax
call fcn.00404490
push esi
call fcn.004ca7b9
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 0x6f5dd8
mov word [ecx], ax
call fcn.00404490
push esi
call fcn.004ca7b9
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 0x6f5db4
mov word [ecx], ax
call fcn.00404490
push esi
call fcn.004ca7b9
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.00415320
mov ecx, eax
call fcn.004cc101
push esi
call fcn.004ca7b9
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 4]
sub esp, 0x18
push esp
call fcn.004d3934
add esp, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
sub esp, 0x18
mov esi, esp
call fcn.004d49fb
push eax
push esi
call fcn.004c9d05
mov eax, dword [edi]
add esp, 8
mov ecx, edi
call dword [eax + 0x30]
sub esp, 0x18
mov esi, esp
call fcn.00415320
mov ecx, eax
call fcn.004cc027
push eax
push esi
call fcn.004c9d05
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.00415320
mov ecx, eax
call fcn.004cbf74
push esi
call fcn.004ca7b9
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x38]
lea eax, [ebp - 0x130]
push eax
call fcn.00407d40
mov ecx, eax
call fcn.004caed4
push 5
push str.cacje
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0
call fcn.00408440
push 1
push 0x6f4fb8
lea ecx, [ebp - 0x130]
call fcn.00408440
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 0x41a8e4
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.004cb687
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x164]
test ecx, ecx
je 0x41a8e0
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.00408300
push esi
call fcn.004ca7b9
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.00415320
mov ecx, eax
call fcn.004cbec1
call fcn.004ca253
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x198]
push eax
mov dword [ebp - 0x194], edx
call fcn.0050ab37
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.004c9a5a
add esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x160]
mov ecx, esp
push eax
call fcn.00406050
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00501b40
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 0x41a9f0
sub eax, edx
lea ecx, [ebp - 0x178]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004064f0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.004d2430
mov byte [ebp - 4], 4
add esp, 8
mov edx, dword [ebp - 0x164]
cmp edx, 0x10
jb 0x41aa64
mov ecx, dword [ebp - 0x178]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41aa5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ab7d
push edx
push ecx
call fcn.00429d60
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x148]
mov ecx, esp
push eax
call fcn.00406050
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov edx, dword [ebp - 0x134]
cmp edx, 0x10
jb 0x41aab5
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41aaab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ab82
push edx
push ecx
call fcn.00429d60
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 0x41ab0a
mov ecx, dword [ebp - 0x160]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ab00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ab87
push edx
push ecx
call fcn.00429d60
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 0x41ab61
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ab57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ab8c
push edx
push ecx
call fcn.00429d60
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.004296e5
mov esp, ebp
pop ebp
ret
call fcn.005059c0
call fcn.005059c0
call fcn.005059c0
call fcn.005059c0
int3