Function at 0x10063a64
Capabilities:
Create process on windows

Disassembly:
push 0x88
mov eax, 0x1008c32d
call fcn.1002f923
mov edi, edx
mov byte [ebp - 0x11], cl
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.PhotoBase.dll_public:_static_class_ATL::CAtlStringMgr____stdcall_Base::String::GetBaseStringManager_void_]
push eax
lea ecx, [ebp - 0x20]
call fcn.10015daa
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x10063aaa
lea edx, [ebp - 0x20]
call fcn.1006392e
test eax, eax
jns 0x10063aaa
push eax
call dword [sym.imp.PhotoBase.dll_void___stdcall_Base::Throw_long_int_]
call dword [sym.imp.PhotoBase.dll_public:_static_class_ATL::CAtlStringMgr____stdcall_Base::String::GetBaseStringManager_void_]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10015daa
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.1006392e
test eax, eax
js 0x10063aa3
push 0x10010b08
lea ecx, [ebp - 0x2c]
call fcn.10015f77
mov esi, eax
push 0x10010b10
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.10015f77
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.10040576
push esi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.10040576
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
push dword [eax]
call fcn.10015f77
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.10015dfc
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.10015dfc
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.10015dfc
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.10015dfc
call dword [sym.imp.PhotoBase.dll_public:_static_class_ATL::CAtlStringMgr____stdcall_Base::String::GetBaseStringManager_void_]
push eax
lea ecx, [ebp - 0x28]
call fcn.10015daa
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.1006392e
test eax, eax
js 0x10063aa3
call dword [sym.imp.PhotoBase.dll_public:_static_class_ATL::CAtlStringMgr____stdcall_Base::String::GetBaseStringManager_void_]
push eax
lea ecx, [ebp - 0x24]
call fcn.10015daa
push dword [ebp + 0x14]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.100158c8
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x18]
push dword [esi - 0xc]
push esi
call fcn.1001b2c9
cmp byte [ebp - 0x11], 0
je 0x10063bf8
push 0x3c
lea eax, [ebp - 0x80]
push ebx
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x78], edi
mov edi, dword [ebp - 0x1c]
push eax
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], 0x10010b14
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x10063ca4
call dword [sym.imp.PhotoBase.dll_void___stdcall_Base::ThrowLastError_void_]
push 0x44
pop edi
push edi
lea eax, [ebp - 0x88]
push ebx
push eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0x88], edi
xor eax, eax
lea edi, [ebp - 0x44]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
neg edi
sbb edi, edi
and edi, dword [ebp - 0x20]
cmp dword [eax - 4], 1
jle 0x10063c3c
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
call fcn.10015b67
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x88]
push ecx
push edi
mov edi, dword [ebp - 0x1c]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x18]
call fcn.10012c6e
push eax
lea ecx, [ebp - 0x18]
call fcn.10015d03
mov byte [ebp - 4], 0xd
test ebx, ebx
je 0x10063bf2
cmp dword [ebp - 0x44], 0
je 0x10063c93
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x40], 0
je 0x10063ca2
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
lea ecx, [esi - 0x10]
call fcn.10015dfc
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.10015dfc
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.10015dfc
lea ecx, [edi - 0x10]
call fcn.10015dfc
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.10015dfc
jmp 0x10063cf5
mov eax, ebx
call fcn.10085364
ret 0x10