Function at 0x140001818
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140006010]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r15, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, 0x22
mov rbx, rax
lea r12d, [rdx - 2]
cmp word [rax], dx
jne 0x140001887
lea rcx, [rax + 2]
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
xor edi, edi
mov rbx, rax
test rax, rax
je 0x1400018ce
cmp word [rax], di
je 0x140001902
add rbx, 2
jmp 0x1400018c9
mov r8d, 0x104
lea rdx, [rbp - 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edi, edi
test eax, eax
je 0x1400018ba
mov r8d, eax
lea rcx, [rbp - 0x80]
mov rdx, rbx
mov esi, eax
call fcn.140002138
test eax, eax
jne 0x1400018ba
lea rbx, [rbx + rsi*2]
jmp 0x1400018c9
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov rbx, rax
test rbx, rbx
jne 0x140001902
mov eax, 0x80070057
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140002200
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
add rbx, 2
movzx eax, word [rbx]
cmp ax, r12w
je 0x1400018fe
cmp ax, 0x7b
jne 0x1400018ce
mov edx, 0x7d
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov rsi, rax
test rax, rax
je 0x1400018ce
mov rcx, rax
sub rcx, rbx
and rcx, 0xfffffffffffffffe
cmp rcx, 0x4a
jne 0x1400018ce
movups xmm0, xmmword [rbx]
mov rdx, r15
lea rcx, [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rbx + 0x20]
movaps xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rbx + 0x30]
movaps xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [rbx + 0x40]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [rbx + 0x48]
mov dword [rsp + 0x78], eax
mov word [rsp + 0x7c], di
call qword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x1400018ce
lea rbx, [rsi + 2]
cmp word [rbx], r12w
jne 0x1400018ce
add rbx, 2
cmp word [rbx], r12w
je 0x140001995
mov r8d, 8
lea rdx, str._prefix
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x140001a1f
add rbx, 0x10
mov esi, edi
movzx eax, word [rbx]
jmp 0x1400019d0
cmp ax, r12w
je 0x1400019d5
inc esi
movzx eax, word [rbx + rsi*2]
test ax, ax
jne 0x1400019c4
mov edx, esi
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rcx, qword [r15 + 0x18]
mov r14, rax
cmp rax, rcx
je 0x140001a13
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r14, r14
je 0x140001a0f
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [r15 + 0x18], rax
test rax, rax
je 0x140001b34
jmp 0x140001a13
mov qword [r15 + 0x18], rdi
mov eax, esi
lea rbx, [rbx + rax*2]
jmp 0x140001a1f
add rbx, 2
cmp word [rbx], r12w
je 0x140001a1b
mov r8d, 2
lea rdx, [0x14000444c]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x1400018ce
add rbx, 4
cmp word [rbx], r12w
jne 0x1400018ce
add rbx, 2
cmp word [rbx], r12w
je 0x140001a51
mov esi, 0xa
lea rdx, [rsp + 0x20]
mov r8d, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
mov r14d, 0xfffffffd
lea ecx, [rax - 1]
cmp ecx, r14d
ja 0x1400018ce
mov rbx, qword [rsp + 0x20]
mov dword [r15 + 0x10], eax
cmp word [rbx], r12w
jne 0x1400018ce
add rbx, 2
cmp word [rbx], r12w
je 0x140001a96
mov r8d, 3
lea rdx, [0x140004458]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x140001ac1
mov eax, 6
jmp 0x140001ae2
mov r8d, 5
lea rdx, str._tid
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x1400018ce
mov rax, rsi
lea rcx, [rax + rbx]
jmp 0x140001aec
add rcx, 2
cmp word [rcx], r12w
je 0x140001ae8
mov r8d, esi
lea rdx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
lea ecx, [rax - 1]
cmp ecx, r14d
ja 0x1400018ce
mov rcx, qword [rsp + 0x20]
mov dword [r15 + 0x14], eax
jmp 0x140001b1b
lea rcx, [rcx + 2]
movzx eax, word [rcx]
cmp ax, r12w
je 0x140001b17
test ax, ax
jne 0x1400018ce
xor eax, eax
jmp 0x1400018d3
mov ecx, 0x8007000e
call fcn.140001008
int3