Function at 0x100327d0
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013dd6f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x210
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov dl, 1
xor ecx, ecx
or edi, 0xffffffff
call fcn.100e6db0
mov dword [ebp - 0x174], eax
test eax, eax
jne 0x1003286c
push str.GetUserChoice
lea edx, [edi + 9]
lea ecx, [ebp - 0x220]
call fcn.1000aed0
add esp, 4
mov dword [ebp - 4], 0
cmp byte [eax + 0x48], 0
je 0x10032859
mov edx, str.get_user_token_failed
mov ecx, eax
call fcn.10020800
lea ecx, [ebp - 0x220]
call fcn.1000ad70
or eax, 0xffffffff
jmp 0x10032c9a
push 1
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x3c], xmm0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x160], 0x14
mov dword [ebp - 0x15c], eax
lea edx, [ebp - 0x160]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x158], 0
push eax
push str.ECDF7FFE_0A7D_4EA1_B3EB_00CD07D10C3D
push 0
push 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x1019ab88
mov dword [ebp - 0x18], 0
call fcn.1002e640
add esp, 0x10
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
cmp eax, dword [0x1019ab8c]
jne 0x10032909
cmp dword [ebp - 0x24], 0
jne 0x10032909
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x28], esi
jmp 0x1003296b
push str.make_close_event
mov edx, 4
lea ecx, [ebp - 0x220]
call fcn.1000aed0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
cmp byte [esi + 0x48], 0
je 0x10032939
mov edx, str.CreateEvent_close_failed_err
mov ecx, esi
call fcn.10020800
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 0x48], 0
je 0x1003294d
push eax
mov ecx, esi
call fcn.100201d0
lea ecx, [ebp - 0x220]
call fcn.1000ad70
mov eax, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x28], esi
test eax, eax
je 0x1003296b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 3
lea eax, [ebp - 0x154]
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0x44
push 1
push dword [ebp - 0x174]
movlpd qword [ebp - 0x9c], xmm0
push eax
movlpd qword [ebp - 0x94], xmm0
movlpd qword [ebp - 0x8c], xmm0
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movups xmmword [ebp - 0x170], xmm0
mov dword [ebp - 0x154], 0
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
mov ecx, 0x8000420
mov eax, 0x8000020
cmovne eax, ecx
push 0xb0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x150]
push 0
push eax
call fcn.10117ff0
add esp, 8
lea ecx, [ebp - 0x150]
call fcn.10035c80
mov edx, str.showchoose_install_event_close
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x140]
call fcn.100205a0
mov edx, str.ECDF7FFE_0A7D_4EA1_B3EB_00CD07D10C3D
mov ecx, eax
call fcn.100205a0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x138]
call fcn.10027f70
mov byte [ebp - 4], 5
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x58]
cmovae edx, dword [ebp - 0x40]
call fcn.1002e3f0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.10002400
push str.GetUserChoice
mov edx, 0x10
lea ecx, [ebp - 0x220]
call fcn.1000aed0
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
mov cl, byte [eax + 0x48]
test cl, cl
je 0x10032ab2
mov edx, str.Run
mov ecx, eax
call fcn.10020800
mov eax, dword [ebp - 0x18]
mov cl, byte [eax + 0x48]
test cl, cl
je 0x10032ab2
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae edx, dword [ebp - 0x58]
mov ecx, eax
call fcn.10021f70
add esp, 4
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 7
call fcn.1000ad70
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x170]
push ecx
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push 0
push dword [ebp - 0x154]
push ecx
push 0
push 0
push 0
push eax
push 0
push dword [ebp - 0x174]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x10032b5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.GetUserChoice
mov edx, 4
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x220]
call fcn.1000aed0
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 9
mov cl, byte [eax + 0x48]
test cl, cl
je 0x10032b4e
mov edx, str.CreateProcessAsUser_failed_err
mov ecx, eax
call fcn.10020800
mov eax, dword [ebp - 0x20]
mov cl, byte [eax + 0x48]
test cl, cl
je 0x10032b4e
push dword [ebp - 0x18]
mov ecx, eax
call fcn.100201d0
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 7
call fcn.1000ad70
push dword [ebp - 0x154]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x154], 0
test eax, eax
je 0x10032c6e
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x1c]
push 0xffffffffffffffff
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x15c]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x10032c42
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x170]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x10032be6
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10032be2
cmp ecx, 1
je 0x10032bdb
xor eax, eax
cmp ecx, 0xffffffff
setne al
dec eax
mov dword [ebp - 0x1c], eax
mov edi, eax
jmp 0x10032c56
mov edi, 1
jmp 0x10032c56
xor edi, edi
jmp 0x10032c56
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.GetUserChoice
mov edx, 8
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x220]
call fcn.1000aed0
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0xa
mov cl, byte [eax + 0x48]
test cl, cl
je 0x10032c35
mov edx, str.GetExitCodeProcess_failed_err
mov ecx, eax
call fcn.100205a0
mov eax, dword [ebp - 0x20]
mov cl, byte [eax + 0x48]
test cl, cl
je 0x10032c35
push dword [ebp - 0x18]
mov ecx, eax
call fcn.100201d0
lea ecx, [ebp - 0x220]
call fcn.1000ad70
jmp 0x10032c56
cmp eax, 1
jne 0x10032c56
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.1002e6b0
push dword [ebp - 0x170]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x16c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x174]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x58]
call fcn.10002400
lea ecx, [ebp - 0x150]
call fcn.10035990
test esi, esi
je 0x10032c98
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret