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 [0x14023d380]
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 fcn.140002120
mov rcx, rbx
call fcn.140003204
lea ecx, [r15 + 0x18]
call fcn.140002504
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400010ea
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov rcx, rax
call fcn.140003f18
mov qword [rsp + 0x40], rax
jmp 0x1400010ef
mov qword [rsp + 0x40], r15
lea rcx, str.CMFCVisualManagerWindows
call fcn.14000f870
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.1400150b0
mov rdx, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x140001132
mov ecx, 0x80004005
call fcn.140001c90
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
lea rax, [0x1401fdbd8]
or esi, 0xffffffff
test rax, 0xffffffffffff0000
jne 0x14000117c
movzx edi, ax
mov ecx, edi
call fcn.140014ad8
test rax, rax
je 0x1400011cc
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140001960
mov rbx, qword [rsp + 0x30]
jmp 0x1400011cc
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x1400011cc
cmp dword [rdx + 0x10], 0
jge 0x1400011aa
cmp dword [rbx - 0xc], 0
jge 0x1400011a0
mov ecx, 0x80070057
call fcn.140001c90
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x1400011cc
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400011ba
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.1400150b0
mov rdx, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400011ec
mov ecx, 0x80004005
call fcn.140001c90
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x38], rdi
lea rax, [0x1401fdbdc]
test rax, 0xffffffffffff0000
jne 0x140001233
movzx esi, ax
mov ecx, esi
call fcn.140014ad8
test rax, rax
je 0x14000128a
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140001960
mov rdi, qword [rsp + 0x38]
jmp 0x14000128a
lea rdx, [rdi - 0x18]
mov r14, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14000128a
cmp dword [rdx + 0x10], 0
jge 0x140001261
cmp dword [rdi - 0xc], 0
jge 0x140001257
mov ecx, 0x80070057
call fcn.140001c90
int3
mov dword [rdi - 0x10], r15d
mov word [rdi], r15w
jmp 0x14000128a
lock xadd dword [rdx + 0x10], esi
dec esi
jg 0x140001273
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 0x14000153f
mov eax, dword [rsp + 0x60]
cmp eax, r9d
jle 0x14000153f
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 dword [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, [0x1401fdbe0]
lea rcx, [rsp + 0x30]
call fcn.140001870
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, [0x1401fdbe8]
lea rcx, [rsp + 0x38]
call fcn.140001870
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 0x1400014f4
mov rcx, rbx
call fcn.1400015a0
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.140015158
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.14001594c
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 0x1400014e5
mov rcx, qword [rbx + 0x190]
call fcn.140002340
mov byte [rbx + 0x198], 0
mov qword [rsp + 0x70], rdi
lea rcx, [rsp + 0x70]
call fcn.140015234
test sil, sil
je 0x140001535
lea rdx, [0x1401fdc20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x14000151d
mov edx, dword [rbx + 0x178]
mov rcx, rax
call fcn.140002420
jmp 0x140001535
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 2
mov rcx, rbx
call fcn.1400016b0
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
cmp dword [rbx - 0x10], 0
je 0x14000157d
cmp dword [rdi - 0x10], 0
je 0x14000157d
mov dword [rsp + 0x64], r15d
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
mov r8, rbx
mov rdx, rdi
call fcn.140002210
test eax, eax
jne 0x140001571
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000157d
cmp dword [rsp + 0x64], 0
setne r15b
inc r15d
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140001592
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, r15d
call fcn.14017a154
int3