Function at 0x140011ed0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x630]
sub rsp, 0x730
mov rax, qword [0x140085010]
xor rax, rsp
mov qword [rbp + 0x620], rax
mov r13, r9
mov qword [rsp + 0x58], r8
mov rsi, rdx
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x70], r9
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x200], eax
mov r14, 0xffffffffffffffff
mov r9, r14
lea r8, str.bd::process_broker::client::spawn_process_with_current_params
mov edx, 0x102
lea rcx, [rbp + 0x204]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x140072400]
mov edx, 0x104
lea rcx, [rbp + 0x204]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, r14
lea r8, str.bd::process_broker::client::spawn_process_with_current_params
mov edx, 0x104
lea rcx, [rbp + 0x40c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x140089580]
mov eax, dword [0x14008957c]
xor r15d, r15d
lea ebx, [r14 + 2]
add ecx, eax
je 0x140012030
mov dword [rsp + 0x48], r15d
call fcn.14002da50
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x140011fbf
call fcn.14002da50
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x54], 0x20
lea rax, [rbp + 0x204]
mov qword [rsp + 0x30], rax
lea rax, str.____s
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rsp + 0x54]
movsx edx, bx
call fcn.14002d740
nop
mov qword [rsp + 0x40], r15
mov eax, r14d
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
js 0x14001202b
call fcn.14002db90
mov eax, r14d
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
jns 0x140012018
lock inc dword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
mov dword [rsp + 0x50], r15d
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
lea r12, [0x1400861d8]
test rax, rax
jne 0x140012083
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov qword [rbp + 8], r12
movaps xmm0, xmmword [rbp]
movdqa xmmword [rsp + 0x60], xmm0
mov rbx, r15
mov r12, r15
mov qword [rbp - 0x50], r15
mov r15d, dword [rsp + 0x60]
jmp 0x14001209d
mov dword [rsp + 0x60], r15d
lea rax, [0x1400861c8]
mov qword [rsp + 0x68], rax
movsxd r12, dword [rsp + 0x50]
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x58], rbx
test r15d, r15d
je 0x140012116
xor edi, edi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], 7
lea r8d, [rdi + 0x15]
lea rdx, str.error_parsing_cmdline
lea rcx, [rbp - 0x40]
call fcn.14002e340
mov dword [rbp + 0x138], r15d
lea rax, [0x1400861d8]
mov qword [rbp + 0x140], rax
movups xmm0, xmmword [rbp + 0x138]
movups xmmword [rsi], xmm0
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rsi + 0x10], xmm0
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rsi + 0x20], xmm1
mov byte [rsi + 0x30], 1
test rbx, rbx
je 0x1400129cc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400129cc
xor r15d, r15d
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x88], r15
mov qword [rbp + 0x90], 7
mov word [rbp + 0x78], r15w
mov r8, r14
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], r15w
jne 0x140012140
mov rdx, rdi
lea rcx, [rbp + 0x78]
call fcn.14002e340
nop
test r12, r12
je 0x1400128c6
lea rdx, str..exe
mov rcx, qword [rbx]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x1400128c6
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xd8]
call fcn.140006500
nop
mov edi, dword [rsp + 0x60]
test edi, edi
je 0x1400122bd
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 7
mov r8d, 0x16
lea rdx, str.error_getting_filename
lea rcx, [rbp - 0x20]
call fcn.14002e340
mov dword [rbp + 0x168], edi
lea rax, [0x1400861d8]
mov qword [rbp + 0x170], rax
movups xmm0, xmmword [rbp + 0x168]
movups xmmword [rsi], xmm0
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rsi + 0x10], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi + 0x20], xmm1
mov byte [rsi + 0x30], 1
mov rdx, qword [rbp + 0xf0]
cmp rdx, 8
jb 0x140012238
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012233
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012233
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002f890
mov qword [rbp + 0xe8], r15
mov qword [rbp + 0xf0], 7
mov word [rbp + 0xd8], r15w
mov rdx, qword [rbp + 0x90]
cmp rdx, 8
jb 0x140012298
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012293
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012293
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002f890
mov qword [rbp + 0x88], r15
mov qword [rbp + 0x90], 7
mov word [rbp + 0x78], r15w
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400129cc
mov rdx, qword [rbx]
mov qword [rbp + 0x98], r15
mov qword [rbp + 0xa8], r15
mov qword [rbp + 0xb0], 7
mov word [rbp + 0x98], r15w
mov r8, r14
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400122e4
lea rcx, [rbp + 0x98]
call fcn.14002e340
nop
mov cl, 1
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_]
mov qword [rbp + 0x28], rax
lea rdx, [rbp + 0xd8]
cmp qword [rbp + 0xf0], 8
cmovae rdx, qword [rbp + 0xd8]
mov rax, qword [rbp + 0xe8]
lea rbx, [rdx + rax*2]
lea rdi, [rbp + 0xd8]
cmovae rdi, qword [rbp + 0xd8]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x78], rax
cmp rdi, rbx
je 0x140012368
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.14001eba0
mov word [rdi], ax
add rdi, 2
cmp rdi, rbx
jne 0x140012350
mov cl, 1
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_]
mov qword [rbp + 0x18], rax
lea rcx, [rbp + 0x98]
cmp qword [rbp + 0xb0], 8
cmovae rcx, qword [rbp + 0x98]
mov rax, qword [rbp + 0xa8]
lea rdi, [rcx + rax*2]
lea rbx, [rbp + 0x98]
cmovae rbx, qword [rbp + 0x98]
mov rax, r15
mov qword [rbp + 0xb8], rax
mov rdx, r15
mov qword [rbp + 0xc8], rdx
mov ecx, 7
mov qword [rbp + 0xd0], rcx
mov qword [rbp - 0x68], rbx
lea r8, [rbp + 0x10]
mov qword [rbp - 0x60], r8
lea r8, [rbp + 0xb8]
mov qword [rbp - 0x80], r8
cmp rbx, rdi
je 0x14001245c
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.14001eba0
mov rdx, qword [rbp + 0xc8]
mov r8, qword [rbp + 0xd0]
cmp rdx, r8
jae 0x14001242a
lea rcx, [rdx + 1]
mov qword [rbp + 0xc8], rcx
lea rcx, [rbp + 0xb8]
cmp r8, 8
cmovae rcx, qword [rbp + 0xb8]
mov word [rcx + rdx*2], ax
mov word [rcx + rdx*2 + 2], r15w
jmp 0x14001243a
movzx r9d, ax
lea rcx, [rbp + 0xb8]
call fcn.14002ead0
add rbx, 2
mov qword [rbp - 0x68], rbx
cmp rbx, rdi
jne 0x1400123e1
mov rcx, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0xc8]
mov rax, qword [rbp + 0xb8]
lea r9, [rbp + 0xb8]
cmp rcx, 8
cmovae r9, rax
lea rcx, [rbp + 0xd8]
cmp qword [rbp + 0xf0], 8
cmovae rcx, qword [rbp + 0xd8]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rbp + 0xe8]
call fcn.140001b00
cmp rax, 0xffffffffffffffff
setne bl
mov rdx, qword [rbp + 0xd0]
cmp rdx, 8
jb 0x1400124e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400124de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400124de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002f890
mov qword [rbp + 0xc8], r15
mov qword [rbp + 0xd0], 7
mov word [rbp + 0xb8], r15w
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x140012530
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14002b845.0]
mov r8, rax
test rax, rax
je 0x140012530
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [case.0x14002b845.0]
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140012562
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14002b845.0]
mov r8, rax
test rax, rax
je 0x140012562
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [case.0x14002b845.0]
test bl, bl
je 0x140012816
lea r9, [rbp + 0x98]
cmp qword [rbp + 0xb0], 8
cmovae r9, qword [rbp + 0x98]
lea rcx, [rbp + 0x78]
cmp qword [rbp + 0x90], 8
cmovae rcx, qword [rbp + 0x78]
mov rax, qword [rbp + 0xa8]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp + 0x88]
call fcn.140001b00
mov rdx, qword [rbp + 0xa8]
add rdx, rax
mov qword [rbp + 0x58], r15
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r15w
cmp qword [rbp + 0x88], rdx
jb 0x140012a0e
lfence
mov rax, qword [rbp + 0x88]
sub rax, rdx
cmp rax, 0xffffffffffffffff
cmovb r14, rax
lea rax, [rbp + 0x78]
cmp qword [rbp + 0x90], 8
cmovae rax, qword [rbp + 0x78]
lea rdx, [rax + rdx*2]
mov r8, r14
lea rcx, [rbp + 0x58]
call fcn.14002e340
nop
mov r10, qword [rbp + 0x68]
mov r8, qword [rbp + 0x58]
mov r9, qword [rbp + 0x70]
test r10, r10
je 0x1400127b9
lea rax, [rbp + 0x58]
cmp r9, 8
cmovae rax, r8
cmp word [rax], 0x22
jne 0x1400126de
lea rax, [rbp + 0x58]
cmp r9, 8
cmovae rax, r8
lea rdi, [rax + r10*2]
lea rbx, [rbp + 0x58]
cmovae rbx, r8
cmp rbx, rdi
je 0x140012677
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswspace]
test eax, eax
jne 0x14001266b
add rbx, 2
cmp rbx, rdi
jne 0x140012655
mov r9, qword [rbp + 0x70]
mov r10, qword [rbp + 0x68]
mov r8, qword [rbp + 0x58]
lea rcx, [rbp + 0x58]
cmp r9, 8
cmovae rcx, r8
lea rax, [rbp + 0x58]
cmovae rax, r8
mov rdx, rcx
sub rdx, rax
sar rdx, 1
sub rbx, rcx
sar rbx, 1
mov rax, r10
sub rax, rdx
cmp rax, rbx
cmovb rbx, rax
lea rax, [rbp + 0x58]
cmp r9, 8
cmovae rax, r8
lea rcx, [rax + rdx*2]
sub r10, rbx
mov qword [rbp + 0x68], r10
sub r10, rdx
lea r8, [r10*2 + 2]
lea rdx, [rcx + rbx*2]
call sub.VCRUNTIME140.dll_memmove
mov r9, qword [rbp + 0x70]
mov r10, qword [rbp + 0x68]
mov r8, qword [rbp + 0x58]
test r10, r10
je 0x1400127b9
lea rax, [rbp + 0x58]
cmp r9, 8
cmovae rax, r8
movzx ecx, word [rax]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswspace]
mov r8, qword [rbp + 0x58]
mov r9, qword [rbp + 0x70]
mov r10, qword [rbp + 0x68]
test eax, eax
je 0x1400127b9
lea rax, [rbp + 0x58]
cmp r9, 8
cmovae rax, r8
lea rdi, [rax + r10*2]
lea rbx, [rbp + 0x58]
cmovae rbx, r8
cmp rbx, rdi
je 0x140012752
nop dword [rax]
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswspace]
test eax, eax
je 0x140012746
add rbx, 2
cmp rbx, rdi
jne 0x140012730
mov r9, qword [rbp + 0x70]
mov r10, qword [rbp + 0x68]
mov r8, qword [rbp + 0x58]
lea rcx, [rbp + 0x58]
cmp r9, 8
cmovae rcx, r8
lea rax, [rbp + 0x58]
cmovae rax, r8
mov rdx, rcx
sub rdx, rax
sar rdx, 1
sub rbx, rcx
sar rbx, 1
mov rax, r10
sub rax, rdx
cmp rax, rbx
cmovb rbx, rax
lea rax, [rbp + 0x58]
cmp r9, 8
cmovae rax, r8
lea rcx, [rax + rdx*2]
sub r10, rbx
mov qword [rbp + 0x68], r10
sub r10, rdx
lea r8, [r10*2 + 2]
lea rdx, [rcx + rbx*2]
call sub.VCRUNTIME140.dll_memmove
mov r9, qword [rbp + 0x70]
mov r10, qword [rbp + 0x68]
mov r8, qword [rbp + 0x58]
lea rdx, [rbp + 0x58]
cmp r9, 8
cmovae rdx, r8
mov r8, r10
lea rcx, [rbp + 0x78]
call fcn.14002e340
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 8
jb 0x140012816
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012810
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012810
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002f890
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 8
jb 0x14001285f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001285a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001285a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002f890
mov qword [rbp + 0xa8], r15
mov qword [rbp + 0xb0], 7
mov word [rbp + 0x98], r15w
mov rdx, qword [rbp + 0xf0]
cmp rdx, 8
jb 0x1400128c6
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x70], rdx
mov rcx, qword [rbp + 0xd8]
mov qword [rsp + 0x78], rcx
cmp rdx, 0x1000
jb 0x1400128c1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.140003a40
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.14002f890
mov qword [rbp + 0xf8], r15
movdqa xmm0, xmmword [0x140072b60]
movdqu xmmword [rbp + 0x108], xmm0
mov byte [rbp + 0xf8], 0
cmp qword [rbp + 0x88], 0
je 0x140012979
lea rcx, [rbp + 0x78]
call fcn.14002e7b0
mov rdx, rax
lea r8, [rsp + 0x60]
lea rcx, [rbp + 0x118]
call fcn.140007520
mov rdx, rax
lea rcx, [rbp + 0xf8]
call fcn.14002e180
lea rcx, [rbp + 0x118]
call fcn.140003830
mov edx, dword [rsp + 0x60]
test edx, edx
je 0x140012979
lea r8, str.error_converting_cmdline_from_utf16_to_utf8
lea rcx, [rbp + 0x1c8]
call fcn.14001e2b0
mov rdx, rax
lea rcx, [rbp + 0x198]
call fcn.14001e000
mov rdx, rax
mov rcx, rsi
call fcn.14001eb60
lea rcx, [rbp + 0x198]
call fcn.140008380
lea rcx, [rbp + 0x1c8]
call fcn.140008380
jmp 0x1400129ab
mov rdx, r13
lea rcx, [rbp + 0x30]
call fcn.14000d7c0
mov rcx, qword [rbp + 0x690]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xf8]
mov r8, qword [rsp + 0x58]
mov rdx, rsi
call fcn.1400118b0
nop
lea rcx, [rbp + 0xf8]
call fcn.140003830
nop
lea rcx, [rbp + 0x78]
call fcn.140002c10
nop
lea rcx, [rbp - 0x58]
call fcn.140015f00
nop
lea rcx, [rbp + 0x200]
call fcn.14002cc80
nop
mov rcx, r13
call fcn.1400162f0
mov rax, rsi
mov rcx, qword [rbp + 0x620]
xor rcx, rsp
call fcn.14002f870
mov rbx, qword [rsp + 0x770]
add rsp, 0x730
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14002ea10
nop
int3