Function at 0x1002dad0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010df70
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1015a4dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebx + 0xa8]
call fcn.10020530
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebx + 0x178]
call fcn.10020320
push 0
push ecx
mov esi, esp
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.10004580
add esp, 4
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.100298e0
push 1
push ecx
mov esi, esp
mov edi, eax
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
push ecx
call fcn.10004580
add esp, 4
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.100298e0
test edi, edi
je 0x1002dde8
test eax, eax
je 0x1002dde8
mov eax, dword [ebp - 0x10]
mov esi, dword [eax - 0xc]
cmp esi, 0x14
jg 0x1002db97
add eax, 0xfffffff0
push eax
call fcn.10004580
add esp, 4
add eax, 0x10
jmp 0x1002dbcb
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x1002dba7
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x1002dbb3
call fcn.10005050
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push 0x14
lea eax, [eax + esi*2]
add eax, 0xffffffd8
push eax
call fcn.1000e320
mov eax, dword [ebp - 0x18]
mov edx, str.TriStoreAppsDownload
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x1002dbf8
test si, si
je 0x1002dbf4
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1002dbf8
add ecx, 4
add edx, 4
test si, si
jne 0x1002dbd2
xor esi, esi
jmp 0x1002dbfd
sbb esi, esi
or esi, 1
or edi, 0xffffffff
lea edx, [eax - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002dc17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x1002dc41
mov eax, dword [ebp - 0x10]
mov esi, eax
cmp dword [eax - 4], 1
jle 0x1002dc34
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.10004fa0
mov eax, dword [ebp - 0x10]
push str.TriStoreAppsDownload
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002dc59
push dword [ebp - 0x10]
call fcn.1000f500
add esp, 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x178]
call fcn.10021130
call fcn.10023f20
mov ecx, eax
call fcn.1001be10
test eax, eax
je 0x1002dc83
push 1
mov ecx, ebx
call fcn.1002ee70
jmp 0x1002dcdd
cmp dword [ebx + 0x74], 0
je 0x1002dcdd
cmp dword [ebx + 0x80], 0
je 0x1002dcdd
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x1002dcdd
cmp dword [ebx + 0x7c], 0
je 0x1002dcdd
mov eax, dword [ecx]
push 1
push 1
push ecx
call dword [eax + 0x20]
mov eax, dword [ebx + 0x74]
push 1
push 0
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
push 0
lea ecx, [ebx + 0xa8]
call fcn.100211c0
push 0
lea ecx, [ebx + 0x178]
call fcn.100211c0
mov eax, dword [ebx + 0x7c]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
lea ecx, [ebp - 0x14]
mov dword [ebx + 0x254], 1
push ecx
lea ecx, [ebx + 0x84]
call fcn.10028b30
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0xa8]
call fcn.10021160
call fcn.10037460
push 0x1011ab90
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.10004110
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100293a0
add esp, 8
mov byte [ebp - 4], 7
mov ecx, esp
push str.PCStore_setup.log
push eax
push ecx
call fcn.10022aa0
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
call dword [eax + 0x68]
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002dd68
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002dd86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx + 0x94]
lea ecx, [ebx + 0x94]
call dword [eax]
push 1
push 1
lea ecx, [ebx + 0x84]
call fcn.10028b20
push 1
push 2
lea ecx, [ebx + 0x84]
call fcn.10028b20
call fcn.10023f20
mov ecx, eax
call fcn.1001be10
test eax, eax
jne 0x1002ddeb
call fcn.10037460
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jne 0x1002ddeb
push 1
push eax
push eax
push str.https:__www.ludashi.com_licence.html
push 0x1011b354
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1002ddeb
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002de09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1002de28
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10