Function at 0x14000ca50
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x40]
mov eax, 0x140
call fcn.14024eae0
sub rsp, rax
mov rax, qword [0x14035d028]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rbx, rdx
mov r14d, ecx
lea rcx, [rsp + 0x58]
call fcn.14000e434
nop
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov r12d, 0x1000
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
or edi, 0xffffffff
mov edx, edi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x14000cc0b
mov edx, eax
lea rcx, [rbp - 0x18]
call fcn.14000d7f0
mov rbx, rax
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
lea esi, [rdi + 8]
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x68], r15w
lea rdx, str.HResult
lea rcx, [rsp + 0x68]
call fcn.14000ae4c
nop
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], rsi
mov word [rbp - 0x78], r15w
lea rdx, str.CoInitializeSecurity_failed
lea rcx, [rbp - 0x78]
call fcn.14000ae4c
nop
mov r9, rbx
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 8]
call fcn.14000d964
mov qword [rsp + 0x20], rax
lea r9, str.wmain
mov ecx, 0x30187d5
lea r8d, [r15 + 0xa]
call fcn.14000d110
lea rcx, [rbp + 0x10]
call fcn.14000ac30
nop
mov rax, qword [rbp - 0x60]
cmp rax, 8
jb 0x14000cba4
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rdx, rcx
cmp rax, r12
jb 0x14000cb9e
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000cb9e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], rsi
mov word [rbp - 0x78], r15w
mov rax, qword [rbp - 0x80]
cmp rax, 8
jb 0x14000cbee
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rdx, rcx
cmp rax, r12
jb 0x14000cbe8
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000cbe8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x68], r15w
lea rcx, [rbp - 0x18]
call fcn.14000ac30
jmp 0x14000cf13
mov dword [0x140367c48], 0x42
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov esi, 7
mov qword [rbp - 0x80], rsi
lea rdx, [0x1402864a8]
lea rcx, [rsp + 0x68]
call fcn.14000ae4c
lea rcx, [0x140378720]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14000cc53
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
lea rdx, [rsp + 0x68]
lea rcx, [0x14036ded0]
call fcn.14000ac98
lea rcx, [0x140378720]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rax, qword [rbp - 0x80]
cmp rax, 8
jb 0x14000ccae
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rdx, rcx
cmp rax, r12
jb 0x14000cca8
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000cca8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rsp + 0x50]
call fcn.14000d668
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x38], r15w
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], rsi
mov word [rbp - 0x78], r15w
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], rsi
mov word [rbp - 0x58], r15w
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
nop dword [rax]
nop word [rax + rax]
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.14000ae4c
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x38]
call fcn.14018cc60
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
call fcn.1402405ec
cmp r14d, 1
jle 0x14000cdb5
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x68], r15w
mov rdx, qword [rbx + 8]
lea rcx, [rsp + 0x68]
call fcn.14000ae4c
nop
lea rcx, [rsp + 0x68]
call fcn.14000c8a8
mov ebx, eax
mov rcx, qword [rbp - 0x80]
cmp rcx, 8
jb 0x14000cda5
lea rcx, [rcx*2 + 2]
mov rdx, qword [rsp + 0x68]
mov rax, rdx
cmp rcx, r12
jb 0x14000cd9c
mov rdx, qword [rdx - 8]
sub rax, rdx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cd9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test ebx, ebx
jne 0x14000ce07
lea rcx, str._nUnknown_mode_to_trigger._Quit_n
call fcn.14000d5a4
lea rdx, [0x1402864a8]
lea rcx, str._n_s___register__unregister__service__update_path__n_n
call fcn.14000d5a4
nop
mov rax, qword [rbp - 0x40]
cmp rax, 8
jb 0x14000ce75
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rdx, rcx
cmp rax, r12
jb 0x14000ce6f
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000ce6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dil, r15b
sub ebx, 1
je 0x14000ce47
sub ebx, 1
je 0x14000ce40
sub ebx, 1
je 0x14000ce39
sub ebx, 1
je 0x14000ce2e
cmp ebx, 1
jne 0x14000ce4f
lea rcx, [rbp - 0x58]
call fcn.14002201c
jmp 0x14000ce4c
lea rcx, [rbp - 0x58]
call fcn.140019720
jmp 0x14000ce4c
call fcn.140015d74
jmp 0x14000ce4c
call fcn.1400181c8
jmp 0x14000ce4c
call fcn.140016890
mov dil, al
call fcn.140226c74
call fcn.1400bc5d8
call qword [sym.imp.ole32.dll_CoUninitialize]
movzx eax, dil
lea edi, [rax*2 - 2]
jmp 0x14000cdc9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], rsi
mov word [rbp - 0x58], r15w
mov rax, qword [rbp - 0x60]
cmp rax, 8
jb 0x14000cebf
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rdx, rcx
cmp rax, r12
jb 0x14000ceb8
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000ceb8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rbp - 0x20]
cmp rax, 8
jb 0x14000cefb
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rdx, rcx
cmp rax, r12
jb 0x14000cef5
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000cef5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x38], r15w
lea rcx, [rsp + 0x50]
call fcn.14000d5fc
nop
cmp byte [rsp + 0x5c], r15b
je 0x14000cf20
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14024c6d0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret