Function at 0x140001040
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14023e380]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
lea rcx, str.MessageToRemoveHook
call qword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [rbx + 0x178], eax
xor r15d, r15d
mov dword [rsp + 0x68], 8
mov dword [rsp + 0x6c], 0xff
lea rcx, [rsp + 0x68]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov rcx, rbx
call fcn.140002e54
lea ecx, [r15 + 0x18]
call fcn.140002154
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400010eb
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov rcx, rax
call fcn.140003b68
mov qword [rsp + 0x40], rax
jmp 0x1400010f0
mov qword [rsp + 0x40], r15
lea rcx, str.CMFCVisualManagerWindows
call fcn.14000f544
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r13, rax
call fcn.140014f6c
mov rdx, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x140001133
mov ecx, 0x80004005
call fcn.140001cb0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
lea rax, [0x1401fe188]
or esi, 0xffffffff
test rax, 0xffffffffffff0000
jne 0x14000117d
movzx edi, ax
mov ecx, edi
call fcn.14001497c
test rax, rax
je 0x1400011cd
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140001980
mov rbx, qword [rsp + 0x30]
jmp 0x1400011cd
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x1400011cd
cmp dword [rdx + 0x10], 0
jge 0x1400011ab
cmp dword [rbx - 0xc], 0
jge 0x1400011a1
mov ecx, 0x80070057
call fcn.140001cb0
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x1400011cd
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400011bb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
call fcn.140014f6c
mov rdx, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400011ed
mov ecx, 0x80004005
call fcn.140001cb0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x38], rdi
lea rax, [0x1401fe18c]
test rax, 0xffffffffffff0000
jne 0x140001234
movzx esi, ax
mov ecx, esi
call fcn.14001497c
test rax, rax
je 0x14000128b
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140001980
mov rdi, qword [rsp + 0x38]
jmp 0x14000128b
lea rdx, [rdi - 0x18]
mov r14, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14000128b
cmp dword [rdx + 0x10], 0
jge 0x140001262
cmp dword [rdi - 0xc], 0
jge 0x140001258
mov ecx, 0x80070057
call fcn.140001cb0
int3
mov dword [rdi - 0x10], r15d
mov word [rdi], r15w
jmp 0x14000128b
lock xadd dword [rdx + 0x10], esi
dec esi
jg 0x140001274
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x38], rdi
mov rbx, qword [rsp + 0x30]
xor r14b, r14b
xor sil, sil
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9d, 1
test r13, r13
je 0x140001553
mov eax, dword [rsp + 0x60]
cmp eax, r9d
jle 0x140001553
mov r12d, r9d
mov dword [rbp + 0xa0], 0x70002d
mov dword [rbp + 0xa8], 0x68
mov ecx, 0x2d
mov dword [rbp + 0xa4], 0x740061
mov word [rbp + 0x90], cx
mov word [rbp + 0x96], r15w
mov dword [rbp + 0x9a], 0x680072
mov word [rbp + 0x9e], r15w
mov word [rbp + 0x98], cx
add r13, 8
nop word [rax + rax]
mov rax, qword [r13]
lea r8, [rbp + 0xa0]
sub r8, rax
nop
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140001334
add rax, 2
test ecx, ecx
jne 0x140001320
test edx, edx
jne 0x14000134d
mov r8, qword [r13 + 8]
lea rdx, [0x1401fe190]
lea rcx, [rsp + 0x30]
call fcn.140001890
mov dword [rbp + 0x92], 0x640069
mov rax, qword [r13]
lea r8, [rbp + 0x90]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140001384
add rax, 2
test ecx, ecx
jne 0x140001370
test edx, edx
jne 0x14000139d
mov r8, qword [r13 + 8]
lea rdx, [0x1401fe198]
lea rcx, [rsp + 0x38]
call fcn.140001890
mov dword [rbp + 0x92], 0x680073
mov rax, qword [r13]
mov rcx, rax
lea r9, [rsp + 0x50]
sub r9, rax
nop word [rax + rax]
movzx r8d, word [rcx]
movzx edx, word [rcx + r9]
sub r8d, edx
jne 0x1400013d6
add rcx, 2
test edx, edx
jne 0x1400013c0
movzx r14d, r14b
test r8d, r8d
mov r9d, 1
cmove r14d, r9d
lea r8, [rbp + 0x98]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140001405
add rax, 2
test ecx, ecx
jne 0x1400013f1
movzx esi, sil
test edx, edx
cmove esi, r9d
inc r12d
add r13, 8
cmp r12d, dword [rsp + 0x60]
jl 0x140001310
test r14b, r14b
mov r15d, 0
mov rbx, qword [rsp + 0x48]
je 0x1400014fb
mov rcx, rbx
call fcn.1400015c0
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], r15
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp], xmm1
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x28], r15
movdqa xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r15
movdqa xmmword [rbp + 0x50], xmm1
movdqa xmmword [rbp + 0x60], xmm0
movdqa xmmword [rbp + 0x70], xmm1
mov qword [rbp + 0x80], r15
xor r8d, r8d
lea edx, [r15 + 0x66]
lea rcx, [rsp + 0x70]
call fcn.140015040
lea rdi, vtable.DriverInstallToolx64Wnd.0
mov qword [rsp + 0x70], rdi
lea rax, [rsp + 0x70]
mov qword [rbx + 0x40], rax
lea rcx, [rsp + 0x70]
call fcn.140015834
mov rcx, qword [rbx + 0x180]
test rcx, rcx
je 0x1400014c9
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x180], r15
cmp byte [rbx + 0x198], 0
je 0x1400014e6
mov rcx, qword [rbx + 0x190]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov byte [rbx + 0x198], 0
mov qword [rsp + 0x70], rdi
lea rcx, [rsp + 0x70]
call fcn.14001511c
mov r9d, 1
test sil, sil
je 0x140001549
lea rdx, [0x1401fe1d0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x14000152b
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rbx + 0x178]
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140001543
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 2
mov rcx, rbx
call fcn.1400016d0
mov r9d, 1
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
cmp dword [rbx - 0x10], 0
je 0x140001594
cmp dword [rdi - 0x10], 0
je 0x140001594
mov dword [rsp + 0x64], r15d
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
mov r8, rbx
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.newdev.dll_UpdateDriverForPlugAndPlayDevicesW]
test eax, eax
jne 0x140001588
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140001594
cmp dword [rsp + 0x64], 0
setne r15b
inc r15d
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400015a9
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, r15d
call fcn.140179da4
int3