Function at 0x140104b80
Capabilities:
Create process on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x14048f3e0]
xor rax, rsp
mov qword [rbp + 0x80], rax
lea rax, str.HD_ComRegistrar.exe
mov qword [rbp - 0x38], 0x13
xor r8d, r8d
mov qword [rbp - 0x40], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x40]
call fcn.1400039e0
lea rcx, [rbp + 0x60]
call fcn.1400e0e30
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140016af0
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.140026230
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140016af0
lea rcx, [rbp - 0x40]
call fcn.140028c40
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x20]
call fcn.1400444d0
mov rdx, rax
lea rcx, [rbp]
call fcn.140106110
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140104c53
mov rcx, qword [rbp - 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140104c4e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140104c4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
mov qword [rsp + 0x1a0], rbx
lea rcx, [rbp + 0x20]
xor ebx, ebx
mov qword [rbp - 8], 0xf
mov qword [rbp - 0x10], rbx
mov byte [rbp - 0x20], bl
call fcn.140028c40
lea rcx, [rbp + 0x60]
call fcn.140028c40
lea rcx, [rbp + 0x40]
call fcn.140028c40
cmp qword [rbp + 0x18], 8
lea rax, str.runas
xorps xmm0, xmm0
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x50], 0x70
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x60], rax
lea rax, [rbp]
cmovae rax, qword [rbp]
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x68], rax
lea rax, str._reg
movups xmmword [rbp - 0x80], xmm0
mov qword [rsp + 0x70], rax
movups xmmword [rbp - 0x70], xmm0
mov dword [rsp + 0x54], 0x40
movups xmmword [rbp - 0x60], xmm0
mov qword [rsp + 0x58], rbx
movups xmmword [rbp - 0x50], xmm0
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x80], 5
mov qword [rbp - 0x78], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rbp - 0x48]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x48]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x140104d79
call fcn.1401084b0
mov ecx, dword [0x14048f3a0]
xor edx, edx
mov r8, qword [rax]
call r8
test eax, eax
je 0x140104dd4
call fcn.1401084b0
mov edx, dword [0x14048f3a0]
lea r9, str.vmmgrGlueRunComRegistrar
lea r8, str.C:code_app_playerhdSource_vmmgr_vboxVmmgrWinnt.cpp
xor ecx, ecx
mov r10, qword [rax + 8]
lea rax, str.call_to_GetExitCodeProcess_failed_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x28
call r10
jmp 0x140104dd4
cmp dword [rsp + 0x40], ebx
je 0x140104dd9
call fcn.1401084b0
mov ecx, dword [0x14048f3a0]
xor edx, edx
mov r8, qword [rax]
call r8
test eax, eax
je 0x140104dd4
call fcn.1401084b0
mov edx, dword [0x14048f3a0]
lea r9, str.vmmgrGlueRunComRegistrar
lea r8, str.C:code_app_playerhdSource_vmmgr_vboxVmmgrWinnt.cpp
xor ecx, ecx
mov r10, qword [rax + 8]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
lea rax, str.HD_ComRegistrar_returned_error_code__d_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2d
call r10
mov ebx, 0xffffffff
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140104e1c
mov rcx, qword [rbp]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140104e17
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140104e17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
mov eax, ebx
mov rbx, qword [rsp + 0x1a0]
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140115700
add rsp, 0x190
pop rbp
ret