Function at 0x140012a40
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 - 0x540]
sub rsp, 0x640
mov rax, qword [0x14010c1f0]
xor rax, rsp
mov qword [rbp + 0x530], rax
mov r14, r9
mov qword [rsp + 0x50], r8
mov r15, rdx
mov qword [rbp + 0x38], rdx
mov qword [rbp + 0x38], r9
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x110], eax
mov r12, 0xffffffffffffffff
mov r9, r12
lea r8, str.bd::process_broker::client::spawn_process_with_current_params
mov edx, 0x102
lea rcx, [rbp + 0x114]
call fcn.1400aa290
lea r8, [0x1400ee4e4]
mov edx, 0x104
lea rcx, [rbp + 0x114]
call fcn.1400b4800
mov r9, r12
lea r8, str.bd::process_broker::client::spawn_process_with_current_params
mov edx, 0x104
lea rcx, [rbp + 0x31c]
call fcn.1400aa290
mov ecx, dword [0x140112be0]
mov eax, dword [0x140112be4]
xor esi, esi
lea ebx, [rsi + 1]
add ecx, eax
je 0x140012b9a
mov dword [rsp + 0x48], esi
call fcn.1400217f0
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x140012b29
call fcn.1400217f0
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x58], 0x20
lea rax, [rbp + 0x114]
mov qword [rsp + 0x30], rax
lea rax, str.____s
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x31c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rsp + 0x58]
movsx edx, bx
call fcn.140001d00
nop
mov qword [rsp + 0x40], rsi
mov eax, r12d
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
js 0x140012b95
call fcn.14002ae80
mov eax, r12d
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
jns 0x140012b82
lock inc dword [rsp + 0x48]
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], rax
mov dword [rbp + 0x30], esi
lea rdx, [rbp + 0x30]
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
lea r13, [0x14010cea8]
test rax, rax
jne 0x140012bfd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x70], eax
mov qword [rbp - 0x68], r13
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp + 0xa0], xmm0
mov rbx, rsi
jmp 0x140012c0f
lea rax, [0x14010ce10]
mov qword [rbp + 0xa8], rax
movsxd rsi, dword [rbp + 0x30]
mov qword [rbp + 0xd8], rsi
mov qword [rbp + 0xd0], rbx
mov r13d, dword [rbp + 0xa0]
test r13d, r13d
je 0x140012d0c
xor edi, edi
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x90], rdi
mov qword [rbp + 0x98], 7
lea r8d, [rdi + 0x15]
lea rdx, str.error_parsing_cmdline
lea rcx, [rbp + 0x80]
call fcn.14003d900
mov dword [rsp + 0x60], r13d
lea rax, [0x14010cea8]
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [r15], xmm0
movups xmm0, xmmword [rbp + 0x80]
movups xmmword [r15 + 0x10], xmm0
movups xmm1, xmmword [rbp + 0x90]
movups xmmword [r15 + 0x20], xmm1
mov byte [r15 + 0x30], 1
test rbx, rbx
je 0x140012ca5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rbp + 0x110]
call fcn.140001d60
nop
cmp byte [r14 + 0x20], 0
je 0x140013490
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140012cf7
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140012cf2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400134c3
mov rcx, r8
call fcn.1400a36a0
mov qword [r14 + 0x10], rdi
mov byte [r14], 0
mov qword [r14 + 0x18], 0xf
jmp 0x140013490
xor r13d, r13d
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r13w
mov r8, r12
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], r13w
jne 0x140012d30
mov rdx, rdi
lea rcx, [rbp + 0x60]
call fcn.14003d900
nop
test rsi, rsi
je 0x140013384
lea rdx, str..exe
mov rcx, qword [rbx]
call fcn.1400a5b60
test rax, rax
je 0x140013384
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x80]
call fcn.140006e70
nop
mov edi, dword [rbp + 0xa0]
test edi, edi
je 0x140012f02
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], 7
mov r8d, 0x16
lea rdx, str.error_getting_filename
lea rcx, [rbp + 0x40]
call fcn.14003d900
mov dword [rsp + 0x60], edi
lea rax, [0x14010cea8]
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [r15], xmm0
movups xmm0, xmmword [rbp + 0x40]
movups xmmword [r15 + 0x10], xmm0
movups xmm1, xmmword [rbp + 0x50]
movups xmmword [r15 + 0x20], xmm1
mov byte [r15 + 0x30], 1
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x140012e26
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012e21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400134c9
call fcn.1400a36a0
mov qword [rbp + 0x90], r13
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r13w
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x140012e80
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012e7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400134cf
call fcn.1400a36a0
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r13w
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rbp + 0x110]
call fcn.140001d60
nop
cmp byte [r14 + 0x20], 0
je 0x140013490
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140012eed
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140012ee8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400134d5
mov rcx, r8
call fcn.1400a36a0
mov qword [r14 + 0x10], r13
mov byte [r14], 0
mov qword [r14 + 0x18], 0xf
jmp 0x140013490
mov rdx, qword [rbx]
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], r13w
mov r8, r12
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140012f30
lea rcx, [rbp + 0xb0]
call fcn.14003d900
nop
mov cl, 1
call fcn.140046b80
mov rdi, rax
mov qword [rbp - 0x58], rax
lea r8, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae r8, qword [rbp + 0x80]
mov rcx, qword [rbp + 0x90]
lea rbx, [r8 + rcx*2]
lea rsi, [rbp + 0x80]
cmovae rsi, qword [rbp + 0x80]
cmp rsi, rbx
je 0x140012fc2
nop dword [rax]
movzx edi, word [rsi]
lea rcx, [rbp - 0x60]
call fcn.140031750
mov r8, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x40]
movzx edx, di
mov rcx, r8
call qword [case.0x14003c2ce.0]
mov word [rsi], ax
add rsi, 2
cmp rsi, rbx
jne 0x140012f90
mov rdi, qword [rbp - 0x58]
mov cl, 1
call fcn.140046b80
mov qword [rbp - 0x48], rax
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x40]
call fcn.14002c370
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.140021950
mov rbx, rax
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140013033
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001302e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400134db
call fcn.1400a36a0
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r13w
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140013077
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14003c2ce.0]
mov r8, rax
test rax, rax
je 0x140013077
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [case.0x14003c2ce.0]
nop
test rdi, rdi
je 0x1400130a8
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [case.0x14003c2ce.0]
mov r8, rax
test rax, rax
je 0x1400130a8
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [case.0x14003c2ce.0]
cmp rbx, 0xffffffffffffffff
je 0x140013318
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x60]
call fcn.140021950
mov rcx, rax
add rcx, qword [rbp + 0xc0]
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], r13w
mov rax, qword [rbp + 0x70]
cmp rax, rcx
jb 0x1400134e1
sub rax, rcx
cmp rax, 0xffffffffffffffff
cmovb r12, rax
lea rax, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rax, qword [rbp + 0x60]
lea rdx, [rax + rcx*2]
mov r8, r12
lea rcx, [rbp + 0x40]
call fcn.14003d900
nop
mov r10, qword [rbp + 0x50]
mov r8, qword [rbp + 0x40]
mov r9, qword [rbp + 0x58]
test r10, r10
je 0x1400132be
lea rax, [rbp + 0x40]
cmp r9, 8
cmovae rax, r8
cmp word [rax], 0x22
jne 0x1400131e8
lea rax, [rbp + 0x40]
cmp r9, 8
cmovae rax, r8
lea rdi, [rax + r10*2]
lea rbx, [rbp + 0x40]
cmovae rbx, r8
cmp rbx, rdi
je 0x140013181
movzx ecx, word [rbx]
call fcn.1400b47f4
test eax, eax
jne 0x140013175
add rbx, 2
cmp rbx, rdi
jne 0x140013160
mov r9, qword [rbp + 0x58]
mov r10, qword [rbp + 0x50]
mov r8, qword [rbp + 0x40]
lea rcx, [rbp + 0x40]
cmp r9, 8
cmovae rcx, r8
lea rax, [rbp + 0x40]
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 + 0x40]
cmp r9, 8
cmovae rax, r8
lea rcx, [rax + rdx*2]
sub r10, rbx
mov qword [rbp + 0x50], r10
sub r10, rdx
lea r8, [r10*2 + 2]
lea rdx, [rcx + rbx*2]
call fcn.1400a5e80
mov r9, qword [rbp + 0x58]
mov r10, qword [rbp + 0x50]
mov r8, qword [rbp + 0x40]
test r10, r10
je 0x1400132be
lea rax, [rbp + 0x40]
cmp r9, 8
cmovae rax, r8
movzx ecx, word [rax]
call fcn.1400b47f4
mov r8, qword [rbp + 0x40]
mov r9, qword [rbp + 0x58]
mov r10, qword [rbp + 0x50]
test eax, eax
je 0x1400132be
lea rax, [rbp + 0x40]
cmp r9, 8
cmovae rax, r8
lea rdi, [rax + r10*2]
lea rbx, [rbp + 0x40]
cmovae rbx, r8
cmp rbx, rdi
je 0x140013257
movzx ecx, word [rbx]
call fcn.1400b47f4
test eax, eax
je 0x14001324b
add rbx, 2
cmp rbx, rdi
jne 0x140013236
mov r9, qword [rbp + 0x58]
mov r10, qword [rbp + 0x50]
mov r8, qword [rbp + 0x40]
lea rcx, [rbp + 0x40]
cmp r9, 8
cmovae rcx, r8
lea rax, [rbp + 0x40]
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 + 0x40]
cmp r9, 8
cmovae rax, r8
lea rcx, [rax + rdx*2]
sub r10, rbx
mov qword [rbp + 0x50], r10
sub r10, rdx
lea r8, [r10*2 + 2]
lea rdx, [rcx + rbx*2]
call fcn.1400a5e80
mov r9, qword [rbp + 0x58]
mov r10, qword [rbp + 0x50]
mov r8, qword [rbp + 0x40]
lea rdx, [rbp + 0x40]
cmp r9, 8
cmovae rdx, r8
mov r8, r10
lea rcx, [rbp + 0x60]
call fcn.14003d900
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x140013318
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013312
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400134e7
call fcn.1400a36a0
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 8
jb 0x14001335e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013359
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400134bd
call fcn.1400a36a0
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], r13w
lea rcx, [rbp + 0x80]
call fcn.140006060
mov qword [rbp + 0xe8], r13
movdqa xmm0, xmmword [0x1400f2490]
movdqu xmmword [rbp + 0xf8], xmm0
mov byte [rbp + 0xe8], 0
cmp qword [rbp + 0x70], 0
je 0x140013424
lea rcx, [rbp + 0x60]
call fcn.140021b60
mov rdx, rax
lea r8, [rbp + 0xa0]
lea rcx, [rbp - 0x20]
call fcn.140009910
mov rdx, rax
lea rcx, [rbp + 0xe8]
call fcn.1400222c0
lea rcx, [rbp - 0x20]
call fcn.14000fcb0
mov edx, dword [rbp + 0xa0]
test edx, edx
je 0x140013424
lea r8, str.error_converting_cmdline_from_utf16_to_utf8
lea rcx, [rbp]
call fcn.14002c260
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14002c2f0
mov rdx, rax
mov rcx, r15
call fcn.14002c330
lea rcx, [rsp + 0x60]
call fcn.140013ca0
lea rcx, [rbp]
call fcn.140013ca0
jmp 0x140013457
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.14000f8e0
mov rcx, qword [rbp + 0x5a0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xe8]
mov r8, qword [rsp + 0x50]
mov rdx, r15
call fcn.1400123e0
nop
lea rcx, [rbp + 0xe8]
call fcn.14000fcb0
nop
lea rcx, [rbp + 0x60]
call fcn.140006060
nop
lea rcx, [rbp + 0xd0]
call fcn.14001f330
nop
lea rcx, [rbp + 0x110]
call fcn.140001d60
nop
mov rcx, r14
call fcn.14000f800
mov rax, r15
mov rcx, qword [rbp + 0x530]
xor rcx, rsp
call fcn.1400a3640
mov rbx, qword [rsp + 0x680]
add rsp, 0x640
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400aa5b0
nop
call fcn.1400aa5b0
nop
call fcn.1400aa5b0
nop
call fcn.1400aa5b0
nop
call fcn.1400aa5b0
nop
call fcn.1400aa5b0
nop
call fcn.140028a70
int3
call fcn.1400aa5b0
int3