Function at 0x140001a20
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
lea rcx, [0x14001b008]
mov rax, qword [0x14001b008]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x68], rbx
xor eax, eax
or r12, 0xffffffffffffffff
mov rcx, r12
lea rdi, str.ParseCmdLineInfo
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
xor r13d, r13d
test ecx, ecx
jne 0x140001ade
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140001b65
cmp dword [rdx + 0x10], eax
jge 0x140001aaf
cmp dword [rbx - 0xc], eax
jge 0x140001aa3
mov ecx, 0x80070057
call fcn.1400017f0
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], ax
jmp 0x140001b65
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140001ac7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x68], rbx
jmp 0x140001b65
mov esi, dword [rbx - 0x10]
lea rbp, str.ParseCmdLineInfo
sub rbp, rbx
sar rbp, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x140001b10
mov edx, edi
lea rcx, [rsp + 0x68]
call fcn.140001810
mov rbx, qword [rsp + 0x68]
cmp rbp, rsi
ja 0x140001b30
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbx + rbp*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.140003020
jmp 0x140001b4c
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, str.ParseCmdLineInfo
mov rdx, rsi
mov rcx, rbx
call fcn.140002f50
test edi, edi
js 0x140001dcf
cmp edi, dword [rbx - 0xc]
jg 0x140001dcf
mov dword [rbx - 0x10], edi
mov word [rsi + rbx], r13w
mov r8, rbx
lea rdx, str._FUNCTION___s__entering_n
lea rcx, [0x14001d980]
call fcn.140002160
nop
xor edx, edx
mov r8d, 0x210
lea rcx, [0x14001d770]
call fcn.140003ec0
mov dword [0x14001d770], r13d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbp, rax
test rax, rax
jne 0x140001bed
mov r8, rbx
lea rdx, str._FUNCTION___s__leaving_n
lea rcx, [0x14001d980]
call fcn.140002160
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r12d
add r12d, 0xffffffff
test r12d, r12d
jg 0x140001be6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor al, al
jmp 0x140001dda
cmp dword [rsp + 0x60], 0
jle 0x140001d8e
mov rsi, rax
lea r14, [0x14001d778]
nop
nop
nop
nop
mov r8d, 6
lea rdx, str._INST:
mov rcx, qword [rsi]
call fcn.140003320
test eax, eax
jne 0x140001cad
mov dword [0x14001d770], 1
lea rdx, str._INFO_Mode:Driver_Install_n
lea rcx, [0x14001d980]
call fcn.140002160
mov rdi, qword [rsi]
add rdi, 0xc
mov edx, 0x104
mov rcx, r14
sub rdi, r14
nop
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140001c84
movzx eax, word [rdi + rcx]
test ax, ax
je 0x140001c84
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140001c60
jmp 0x140001c89
test rdx, rdx
jne 0x140001c8d
sub rcx, 2
mov word [rcx], 0
mov r8, r14
lea rdx, str._INFO_Driver_INF_Path:__s_n
lea rcx, [0x14001d980]
call fcn.140002160
jmp 0x140001d48
mov r8d, 8
lea rdx, str._UNINST:
mov rcx, qword [rsi]
call fcn.140003320
test eax, eax
jne 0x140001d48
mov dword [0x14001d770], 2
lea rdx, str._INFO_Mode:Driver_Uninstall_n
lea rcx, [0x14001d980]
call fcn.140002160
mov rdi, qword [rsi]
add rdi, 0x10
mov edx, 0x104
mov rcx, r14
sub rdi, r14
nop
nop
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140001d24
movzx eax, word [rdi + rcx]
test ax, ax
je 0x140001d24
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140001d00
jmp 0x140001d29
test rdx, rdx
jne 0x140001d2d
sub rcx, 2
mov word [rcx], 0
mov r8, r14
lea rdx, str._INFO_Driver_INF_Path:__s_n
lea rcx, [0x14001d980]
call fcn.140002160
mov r8d, 6
lea rdx, str._FORCE
mov rcx, qword [rsi]
call fcn.140003320
test eax, eax
jne 0x140001d7b
lea rdx, str._INFO_Option:Force_Install_Uninstall_n
lea rcx, [0x14001d980]
call fcn.140002160
or dword [0x14001d774], 4
add r13d, 1
add rsi, 8
cmp r13d, dword [rsp + 0x60]
jl 0x140001c10
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov r8, rbx
lea rdx, str._FUNCTION___s__leaving_n
lea rcx, [0x14001d980]
call fcn.140002160
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r12d
add r12d, 0xffffffff
test r12d, r12d
jg 0x140001dcb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov al, 1
jmp 0x140001dda
mov ecx, 0x80070057
call fcn.1400017f0
nop
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret