Function at 0x1002b990
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1023bd87
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x102cc06c]
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 - 0x1b0], ecx
call fcn.10029970
mov ebx, eax
test ebx, ebx
je 0x1002c051
sub esp, 0x18
xor eax, eax
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push 0x23
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.http:__win_ott.55kantu.com_c5exqwo3
mov word [ecx], ax
call fcn.10021c20
push esi
call fcn.10049e10
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 0x23
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.http:__jtt_win.55kantu.com_c5exqwo3
mov word [ecx], ax
call fcn.10021c20
push esi
call fcn.10049e10
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 0x26
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.http:__win_ott.55kantu.com_microtime__
mov word [ecx], ax
call fcn.10021c20
push esi
call fcn.10049e10
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 2
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x102b6730
mov word [ecx], ax
call fcn.10021c20
push esi
call fcn.10049e10
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.YkNeF8pGJvCom4Qj
call fcn.10021c20
push esi
call fcn.10049e10
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 str.DGYg80dlVh2FoNE0
mov word [ecx], ax
call fcn.10021c20
push esi
call fcn.10049e10
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 0x102b6780
mov word [ecx], ax
call fcn.10021c20
push esi
call fcn.10049e10
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
call dword [eax + 0x2c]
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 0x102b67a4
mov word [ecx], ax
call fcn.10021c20
push esi
call fcn.10049e10
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
call dword [eax + 0x30]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
push esp
call fcn.1000add0
mov ecx, eax
call fcn.1004f0f1
push esi
call fcn.10049e10
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
call dword [eax + 4]
sub esp, 0x18
push esp
call fcn.10063184
add esp, 4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
sub esp, 0x18
push esp
call fcn.10063028
mov eax, dword [ebx]
add esp, 4
mov ecx, ebx
call dword [eax + 0x14]
sub esp, 0x18
mov esi, esp
call fcn.1005735f
push eax
push esi
call fcn.10047d9d
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
call dword [eax + 0x34]
sub esp, 0x18
mov esi, esp
call fcn.1000add0
mov ecx, eax
call fcn.1004ec0a
push eax
push esi
call fcn.10047d9d
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
call dword [eax + 0x44]
lea eax, [ebp - 0x12c]
push eax
call fcn.1000ad10
mov ecx, eax
call fcn.1005192b
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 0x1002bcb3
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.100a46c0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1002bcd4
push 5
push str.cacje
mov byte [ebp - 0x1ac], 0
lea ecx, [ebp - 0x12c]
push dword [ebp - 0x1ac]
push 5
call fcn.1001c7e0
mov edx, dword [ebp - 0x118]
mov eax, edx
mov ecx, dword [ebp - 0x11c]
sub eax, ecx
cmp eax, 1
jb 0x1002bd1d
cmp edx, 8
lea esi, [ebp - 0x12c]
push 2
cmovae esi, dword [ebp - 0x12c]
lea edi, [ecx + 1]
push 0x102b5bc8
mov dword [ebp - 0x11c], edi
lea eax, [esi + ecx*2]
push eax
call fcn.100a46c0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1002bd3e
push 1
push 0x102b5bc8
mov byte [ebp - 0x1ac], 0
lea ecx, [ebp - 0x12c]
push dword [ebp - 0x1ac]
push 1
call fcn.1001c7e0
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 0x1002bdad
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.10052b0a
mov byte [ebp - 4], 0
add esp, 8
mov ecx, dword [ebp - 0x160]
test ecx, ecx
je 0x1002bdad
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.1001d400
push esi
call fcn.10049e10
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
call dword [eax + 0x40]
mov eax, dword [ebx]
mov ecx, ebx
mov esi, dword [ebp - 0x1b0]
push esi
call dword [eax + 0x48]
mov edx, dword [ebx]
lea eax, [esi + 4]
neg esi
mov ecx, ebx
sbb esi, esi
and esi, eax
push esi
call dword [edx + 0x4c]
sub esp, 0x18
push esp
call fcn.1000add0
mov ecx, eax
call fcn.1004e7d0
call fcn.10048f3e
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1b4], edx
push eax
call fcn.100bc7e2
push dword [ebp - 0x19c]
mov eax, dword [ebp - 0x198]
inc eax
push eax
mov eax, dword [ebp - 0x194]
add eax, 0x76c
push eax
lea eax, [ebp - 0x15c]
push str._d_.2d_.2d
push eax
call fcn.10047a8c
add esp, 0x1c
mov byte [ebp - 4], 2
lea eax, [ebp - 0x15c]
mov ecx, esp
push eax
call fcn.1001ef10
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x38]
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.100a4c40
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
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002bee0
sub eax, edx
lea ecx, [ebp - 0x174]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.100211b0
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.10054fca
mov byte [ebp - 4], 3
add esp, 8
mov edx, dword [ebp - 0x160]
cmp edx, 0x10
jb 0x1002bf54
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002bf4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c06d
push edx
push ecx
call fcn.100451dd
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x144]
mov ecx, esp
push eax
call fcn.1001ef10
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x1002bfa5
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002bf9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c072
push edx
push ecx
call fcn.100451dd
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 0x1002bffa
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002bff0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c077
push edx
push ecx
call fcn.100451dd
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 0x1002c051
mov ecx, dword [ebp - 0x12c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c047
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c07c
push edx
push ecx
call fcn.100451dd
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.100451cc
mov esp, ebp
pop ebp
ret
call fcn.100b1ddd
call fcn.100b1ddd
call fcn.100b1ddd
call fcn.100b1ddd
int3