Function at 0x140012080
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 - 0x550]
sub rsp, 0x650
mov rax, qword [0x140098010]
xor rax, rsp
mov qword [rbp + 0x540], rax
mov r13, r9
mov qword [rsp + 0x70], r8
mov rsi, rdx
mov qword [rbp + 0x40], rdx
mov qword [rbp + 0x40], r9
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x120], 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 + 0x124]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x1400802d4]
mov edx, 0x104
lea rcx, [rbp + 0x124]
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 + 0x32c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x14009c6fc]
mov eax, dword [0x14009c6f8]
xor r15d, r15d
lea ebx, [r14 + 2]
add ecx, eax
je 0x1400121e0
mov dword [rsp + 0x48], r15d
call fcn.140002930
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x14001216f
call fcn.140002930
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x78], 0x20
lea rax, [rbp + 0x124]
mov qword [rsp + 0x30], rax
lea rax, str.____s
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x32c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rsp + 0x78]
movsx edx, bx
call fcn.140001eb0
nop
mov qword [rsp + 0x40], r15
mov eax, r14d
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
js 0x1400121db
call fcn.140002cc0
mov eax, r14d
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
jns 0x1400121c8
lock inc dword [rsp + 0x48]
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], rax
mov dword [rbp + 0x68], r15d
lea rdx, [rbp + 0x68]
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
lea r12, [0x140099200]
test rax, rax
jne 0x140012244
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
mov qword [rbp - 0x28], r12
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp + 0xd0], xmm0
mov rbx, r15
jmp 0x140012256
lea rax, [0x1400991b8]
mov qword [rbp + 0xd8], rax
movsxd r15, dword [rbp + 0x68]
mov qword [rbp + 0xe8], r15
mov qword [rbp + 0xe0], rbx
mov r12d, dword [rbp + 0xd0]
test r12d, r12d
je 0x1400122e0
xor edi, edi
mov qword [rbp + 0x70], rdi
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], 7
lea r8d, [rdi + 0x15]
lea rdx, str.error_parsing_cmdline
lea rcx, [rbp + 0x70]
call fcn.140002a90
mov dword [rbp - 0x60], r12d
lea rax, [0x140099200]
mov qword [rbp - 0x58], rax
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rsi], xmm0
movups xmm0, xmmword [rbp + 0x70]
movups xmmword [rsi + 0x10], xmm0
movups xmm1, xmmword [rbp + 0x80]
movups xmmword [rsi + 0x20], xmm1
mov byte [rsi + 0x30], 1
test rbx, rbx
je 0x140012af2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140012af2
xor r12d, r12d
mov qword [rbp + 0x90], r12
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], 7
mov word [rbp + 0x90], r12w
mov r8, r14
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], r12w
jne 0x140012310
mov rdx, rdi
lea rcx, [rbp + 0x90]
call fcn.140002a90
nop
test r15, r15
je 0x1400129f5
lea rdx, str..exe
mov rcx, qword [rbx]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x1400129f5
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x70]
call fcn.140007780
nop
mov edi, dword [rbp + 0xd0]
test edi, edi
je 0x14001248b
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 7
mov r8d, 0x16
lea rdx, str.error_getting_filename
lea rcx, [rsp + 0x50]
call fcn.140002a90
mov dword [rbp - 0x60], edi
lea rax, [0x140099200]
mov qword [rbp - 0x58], rax
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rsi], xmm0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x10], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rsi + 0x20], xmm1
mov byte [rsi + 0x30], 1
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x140012403
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400123fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400129e9
call fcn.14003edd0
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], r12w
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x140012463
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001245e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001245e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003edd0
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], 7
mov word [rbp + 0x90], r12w
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140012af2
mov rdx, qword [rbx]
mov qword [rbp + 0xb0], r12
mov qword [rbp + 0xc0], r12
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], r12w
mov r8, r14
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400124b2
lea rcx, [rbp + 0xb0]
call fcn.140002a90
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 - 0x18], rax
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rdx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x80]
lea rbx, [rdx + rax*2]
lea rdi, [rbp + 0x70]
cmovae rdi, qword [rbp + 0x70]
lea rax, [rbp - 0x20]
mov qword [rbp + 0x68], rax
cmp rdi, rbx
je 0x140012528
nop dword [rax + rax]
mov rdx, rdi
lea rcx, [rbp + 0x68]
call fcn.140025990
mov word [rdi], ax
add rdi, 2
cmp rdi, rbx
jne 0x140012510
mov cl, 1
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_]
mov rdi, rax
mov qword [rbp - 0x68], rax
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 8
cmovae rdx, qword [rbp + 0xb0]
mov rcx, qword [rbp + 0xc0]
lea r15, [rdx + rcx*2]
lea rax, [rbp + 0xb0]
cmovae rax, qword [rbp + 0xb0]
mov rbx, r12
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], r12
mov r12d, 7
mov qword [rsp + 0x68], r12
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x78], rcx
lea rcx, [rsp + 0x50]
mov qword [rbp + 0x68], rcx
cmp rax, r15
je 0x14001260b
xor edi, edi
nop dword [rax]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140025990
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
cmp rdx, r8
jae 0x1400125de
lea rcx, [rdx + 1]
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x50]
cmp r8, 8
cmovae rcx, qword [rsp + 0x50]
mov word [rcx + rdx*2], ax
mov word [rcx + rdx*2 + 2], di
jmp 0x1400125ec
movzx r9d, ax
lea rcx, [rsp + 0x50]
call fcn.1400277f0
mov rax, qword [rbp - 0x80]
add rax, 2
mov qword [rbp - 0x80], rax
cmp rax, r15
jne 0x1400125a0
mov rdi, qword [rbp - 0x68]
mov r12, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x70]
call fcn.14001eae0
mov r15, rax
cmp r12, 8
jb 0x14001265e
lea rdx, [r12*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140012652
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012652
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14003edd0
mov rdi, qword [rbp - 0x68]
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r12w
test rdi, rdi
je 0x14001269a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
test rax, rax
je 0x14001269a
mov rcx, qword [rax]
mov r8, qword [rcx]
lea edx, [r12 + 1]
mov rcx, rax
call r8
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400126bf
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400126bf
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
cmp r15, 0xffffffffffffffff
je 0x140012949
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x90]
call fcn.14001eae0
mov rcx, rax
add rcx, qword [rbp + 0xc0]
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x60], 7
mov word [rbp + 0x48], r12w
mov rax, qword [rbp + 0xa0]
cmp rax, rcx
jb 0x140012b34
sub rax, rcx
cmp rax, 0xffffffffffffffff
cmovb r14, rax
lea rax, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae rax, qword [rbp + 0x90]
lea rdx, [rax + rcx*2]
mov r8, r14
lea rcx, [rbp + 0x48]
call fcn.140002a90
nop
mov r10, qword [rbp + 0x58]
mov r8, qword [rbp + 0x48]
mov r9, qword [rbp + 0x60]
test r10, r10
je 0x1400128e9
lea rax, [rbp + 0x48]
cmp r9, 8
cmovae rax, r8
cmp word [rax], 0x22
jne 0x14001280f
lea rax, [rbp + 0x48]
cmp r9, 8
cmovae rax, r8
lea rdi, [rax + r10*2]
lea rbx, [rbp + 0x48]
cmovae rbx, r8
cmp rbx, rdi
je 0x1400127a8
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswspace]
test eax, eax
jne 0x14001279c
add rbx, 2
cmp rbx, rdi
jne 0x140012786
mov r9, qword [rbp + 0x60]
mov r10, qword [rbp + 0x58]
mov r8, qword [rbp + 0x48]
lea rcx, [rbp + 0x48]
cmp r9, 8
cmovae rcx, r8
lea rax, [rbp + 0x48]
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 + 0x48]
cmp r9, 8
cmovae rax, r8
lea rcx, [rax + rdx*2]
sub r10, rbx
mov qword [rbp + 0x58], r10
sub r10, rdx
lea r8, [r10*2 + 2]
lea rdx, [rcx + rbx*2]
call sub.VCRUNTIME140.dll_memmove
mov r9, qword [rbp + 0x60]
mov r10, qword [rbp + 0x58]
mov r8, qword [rbp + 0x48]
test r10, r10
je 0x1400128e9
lea rax, [rbp + 0x48]
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 + 0x48]
mov r9, qword [rbp + 0x60]
mov r10, qword [rbp + 0x58]
test eax, eax
je 0x1400128e9
lea rax, [rbp + 0x48]
cmp r9, 8
cmovae rax, r8
lea rdi, [rax + r10*2]
lea rbx, [rbp + 0x48]
cmovae rbx, r8
cmp rbx, rdi
je 0x140012882
nop
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswspace]
test eax, eax
je 0x140012876
add rbx, 2
cmp rbx, rdi
jne 0x140012860
mov r9, qword [rbp + 0x60]
mov r10, qword [rbp + 0x58]
mov r8, qword [rbp + 0x48]
lea rcx, [rbp + 0x48]
cmp r9, 8
cmovae rcx, r8
lea rax, [rbp + 0x48]
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 + 0x48]
cmp r9, 8
cmovae rax, r8
lea rcx, [rax + rdx*2]
sub r10, rbx
mov qword [rbp + 0x58], r10
sub r10, rdx
lea r8, [r10*2 + 2]
lea rdx, [rcx + rbx*2]
call sub.VCRUNTIME140.dll_memmove
mov r9, qword [rbp + 0x60]
mov r10, qword [rbp + 0x58]
mov r8, qword [rbp + 0x48]
lea rdx, [rbp + 0x48]
cmp r9, 8
cmovae rdx, r8
mov r8, r10
lea rcx, [rbp + 0x90]
call fcn.140002a90
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 8
jb 0x140012949
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012943
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012943
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003edd0
nop
mov r9, qword [rbp + 0xc8]
cmp r9, 8
jb 0x140012995
lea rdx, [r9*2 + 2]
mov r8, qword [rbp + 0xb0]
mov rax, r8
cmp rdx, 0x1000
jb 0x14001298d
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001298d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14003edd0
mov qword [rbp + 0xc0], r12
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], r12w
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x1400129f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400129f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400129f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003edd0
mov qword [rbp + 0xf8], r12
movdqa xmm0, xmmword [0x1400848a0]
movdqu xmmword [rbp + 0x108], xmm0
mov byte [rbp + 0xf8], 0
cmp qword [rbp + 0xa0], 0
je 0x140012a99
lea rcx, [rbp + 0x90]
call fcn.140002a80
mov rdx, rax
lea r8, [rbp + 0xd0]
lea rcx, [rbp - 0x10]
call fcn.14000b4e0
mov rdx, rax
lea rcx, [rbp + 0xf8]
call fcn.14001f180
lea rcx, [rbp - 0x10]
call fcn.14000d860
mov edx, dword [rbp + 0xd0]
test edx, edx
je 0x140012a99
lea r8, str.error_converting_cmdline_from_utf16_to_utf8
lea rcx, [rbp + 0x10]
call fcn.140026010
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.1400260a0
mov rdx, rax
mov rcx, rsi
call fcn.1400260e0
lea rcx, [rbp - 0x60]
call fcn.1400134a0
lea rcx, [rbp + 0x10]
call fcn.1400134a0
jmp 0x140012acb
mov rdx, r13
lea rcx, [rbp - 0x60]
call fcn.14000d3a0
mov rcx, qword [rbp + 0x5b0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xf8]
mov r8, qword [rsp + 0x70]
mov rdx, rsi
call fcn.140011b10
nop
lea rcx, [rbp + 0xf8]
call fcn.14000d860
nop
lea rcx, [rbp + 0x90]
call fcn.140005340
nop
lea rcx, [rbp + 0xe0]
call fcn.14001cc50
nop
lea rcx, [rbp + 0x120]
call fcn.140001f10
nop
mov rcx, r13
call fcn.14001dd30
mov rax, rsi
mov rcx, qword [rbp + 0x540]
xor rcx, rsp
call fcn.14003edb0
mov rbx, qword [rsp + 0x690]
add rsp, 0x650
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140022740
nop
int3