Function at 0x1000a030
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1260
call fcn.1000db20
mov eax, dword [0x10047140]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push edi
push ebx
push esi
push str._SKUtil__SK_LaunchAppAndWait2W_program_s__cmdline_s__wait_d_n
call fcn.100010e0
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1000a090
push str._SKUtil__SK_LaunchAppAndWait_file_not_exist
call fcn.100010e0
add esp, 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000db11
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.100105b0
lea eax, [ebp - 0x204]
push eax
push 0
push 0
push 0
push esi
call fcn.1000f6ce
add esp, 0x20
lea eax, [ebp - 0x204]
push str..exe
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x1000a215
push 0xffe
push eax
mov word [ebp - 0x1204], ax
lea eax, [ebp - 0x1202]
push eax
call fcn.100105b0
push 0x44
xorps xmm0, xmm0
lea eax, [ebp - 0x1260]
push 0
push eax
mov dword [ebp - 0x1208], 0
mov dword [ebp - 0x120c], 0
movq qword [ebp - 0x121c], xmm0
movq qword [ebp - 0x1214], xmm0
call fcn.100105b0
add esp, 0x18
cmp dword [ebp + 0x14], 0
mov dword [ebp - 0x1260], 0x44
mov dword [ebp - 0x1234], 1
jne 0x1000a156
xor eax, eax
mov dword [ebp - 0x120c], 0x8000000
jmp 0x1000a15b
mov eax, 1
push ebx
push esi
mov word [ebp - 0x1230], ax
lea eax, [ebp - 0x1204]
push str.__s___s
push eax
call fcn.10004f60
add esp, 0x10
lea eax, [ebp - 0x121c]
push eax
lea eax, [ebp - 0x1260]
push eax
push 0
push 0
push dword [ebp - 0x120c]
lea eax, [ebp - 0x1204]
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000a07c
test edi, edi
je 0x1000a1df
push str._SKUtil__SK_LaunchAppAndWait2_Waiting
call fcn.100010e0
add esp, 4
push 0xffffffffffffffff
push dword [ebp - 0x121c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x1208]
push eax
push dword [ebp - 0x121c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x121c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1218]
call esi
mov eax, dword [ebp - 0x1214]
test edi, edi
cmovne eax, dword [ebp - 0x1208]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000db11
mov esp, ebp
pop ebp
ret
push 0x3c
lea eax, [ebp - 0x1258]
push 0
push eax
call fcn.100105b0
xor eax, eax
add esp, 0xc
cmp dword [ebp + 0x14], eax
mov dword [ebp - 0x1258], 0x3c
setne al
mov dword [ebp - 0x1254], 0x40
mov dword [ebp - 0x1248], esi
mov dword [ebp - 0x1244], ebx
mov dword [ebp - 0x123c], eax
lea eax, [ebp - 0x1258]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1000a07c
test edi, edi
je 0x1000a296
push str._SKUtil__SK_LaunchAppAndWait2_Waiting
call fcn.100010e0
add esp, 4
push 0xffffffffffffffff
push dword [ebp - 0x1220]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1220]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.1000db11
mov esp, ebp
pop ebp
ret