Function at 0x140001390
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x140
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rax, str.CNNefarius_Software_Solutions
mov dword [0x14001fe50], 1
xor edi, edi
mov qword [0x14001fe40], rax
mov dword [0x14001fe20], edi
lea rbp, str.usb_device.inf
mov r15, rdx
mov dword [0x14001fe54], 1
mov esi, ecx
mov dword [0x14001fe58], 1
lea r14, str.usb_driver
call fcn.140001b50
cmp eax, 0xffffffff
je 0x14000165d
lea r12, [0x140000000]
nop word [rax + rax]
dec eax
cmp eax, 0x79
ja case.0x140001441.20
cdqe
movzx eax, byte [r12 + rax + 0x1938]
mov ecx, dword [r12 + rax*4 + 0x18e8]
add rcx, r12
jmp rcx
mov dword [0x14001fe18], 1
jmp 0x14000164a
mov dword [0x14001fe68], 1
jmp 0x14000164a
mov rax, qword [0x14001fec0]
mov qword [str.Microsoft_XBox_Controller_Type_S], rax
jmp 0x14000164a
mov rax, qword [0x14001fec0]
mov qword [0x14001fe28], rax
jmp 0x14000164a
mov rbp, qword [0x14001fec0]
jmp 0x14000164a
mov r14, qword [0x14001fec0]
jmp 0x14000164a
mov rdi, qword [0x14001fec0]
jmp 0x14000164a
mov rcx, qword [0x14001fec0]
xor r8d, r8d
xor edx, edx
call fcn.140004978
mov word [0x14001e998], ax
jmp 0x14000164a
mov rcx, qword [0x14001fec0]
xor r8d, r8d
xor edx, edx
call fcn.1400049a8
mov dword [0x14001fe6c], eax
jmp 0x14000164a
mov rcx, qword [0x14001fec0]
xor r8d, r8d
xor edx, edx
call fcn.140004978
mov word [0x14001e99a], ax
jmp 0x14000164a
mov rcx, qword [0x14001fec0]
xor r8d, r8d
xor edx, edx
mov dword [0x14001e99c], 1
call fcn.140004978
mov byte [0x14001e9a0], al
jmp 0x14000164a
mov rcx, qword [0x14001fec0]
xor r8d, r8d
xor edx, edx
call fcn.140004978
mov dword [0x14001fe20], eax
jmp 0x14000164a
mov dword [0x14001fe48], 1
jmp 0x14000164a
mov dword [0x14001fe70], 1
jmp 0x14000164a
mov dword [0x14001fe5c], 1
mov dword [0x14001e9e0], 4
jmp 0x14000164a
mov rcx, qword [0x14001fec0]
test rcx, rcx
je 0x1400015a6
xor r8d, r8d
xor edx, edx
call fcn.140004978
movsxd rbx, eax
mov qword [0x14001fe60], rbx
mov qword [0x14001fe10], rbx
jmp 0x14000164a
mov edx, 0x80
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, ebx
lea rdx, str._d__d
mov r8d, eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 0x28
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
lea rcx, [rsp + 0xb0]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov qword [0x14001fe60], rbx
mov qword [0x14001fe10], rbx
jmp 0x14000164a
mov rcx, qword [0x14001fec0]
xor r8d, r8d
xor edx, edx
call fcn.140004978
mov dword [0x14001e9e0], eax
jmp 0x14000164a
mov rax, qword [0x14001fec0]
mov qword [0x14001fe30], rax
mov rdx, r15
mov ecx, esi
call fcn.140001b50
cmp eax, 0xffffffff
jne 0x140001420
cmp esi, 1
jle 0x1400018bf
mov ecx, dword [0x14001e9e0]
call qword [sym.imp.libwdi.dll_wdi_set_log_level]
cmp dword [0x14001fe5c], 0
jne 0x140001687
lea rcx, str.Extracting_driver_files..._n
call fcn.1400011f0
lea r9, [0x14001fe20]
mov r8, rbp
mov rdx, r14
lea rcx, [0x14001e990]
call qword [sym.imp.libwdi.dll_wdi_prepare_driver]
mov ebx, eax
mov eax, dword [0x14001fe5c]
test eax, eax
jne 0x1400016ca
mov ecx, ebx
call qword [sym.imp.libwdi.dll_wdi_strerror]
mov rdx, rax
lea rcx, str.___s_n
call fcn.1400011f0
mov eax, dword [0x14001fe5c]
test ebx, ebx
jne 0x140001891
cmp dword [0x14001fe70], ebx
jne 0x140001891
test rdi, rdi
je 0x14000172e
test eax, eax
jne 0x1400016f6
mov rdx, rdi
lea rcx, str.Installing_certificate__s_as_a_Trusted_Publisher..._n
call fcn.1400011f0
lea rdx, [0x14001fe10]
mov rcx, rdi
call qword [sym.imp.libwdi.dll_wdi_install_trusted_certificate]
cmp dword [0x14001fe5c], 0
mov ebx, eax
jne 0x14000173e
mov ecx, eax
call qword [sym.imp.libwdi.dll_wdi_strerror]
mov rdx, rax
lea rcx, str.___s_n
call fcn.1400011f0
mov eax, dword [0x14001fe5c]
test eax, eax
jne 0x14000173e
lea rcx, str.Installing_driver_s_..._n
call fcn.1400011f0
lea rdx, [0x14001fe50]
mov dword [0x14001fe74], 0
lea rcx, [0x14001fe78]
call qword [sym.imp.libwdi.dll_wdi_create_list]
test eax, eax
jne 0x14000184c
mov rcx, qword [0x14001fe78]
xor ebx, ebx
test rcx, rcx
je 0x14000184c
test ebx, ebx
jne 0x14000184c
movzx eax, word [0x14001e998]
cmp word [rcx + 8], ax
jne 0x140001839
movzx eax, word [0x14001e99a]
cmp word [rcx + 0xa], ax
jne 0x140001839
movzx eax, byte [0x14001e9a0]
cmp byte [rcx + 0x10], al
jne 0x140001839
cmp dword [0x14001fe5c], ebx
mov rdx, qword [rcx + 0x30]
mov qword [0x14001e9c0], rdx
mov rax, qword [rcx + 0x28]
mov qword [0x14001e9b8], rax
mov dword [0x14001fe74], 1
jne 0x1400017e4
lea rcx, str.___s:
call fcn.1400011f0
mov ecx, 1
call fcn.140004314
mov rcx, rax
call fcn.140004550
lea r9, [0x14001fe60]
mov r8, rbp
mov rdx, r14
lea rcx, [0x14001e990]
call qword [sym.imp.libwdi.dll_wdi_install_driver]
cmp dword [0x14001fe5c], 0
mov ebx, eax
jne 0x140001832
mov ecx, eax
call qword [sym.imp.libwdi.dll_wdi_strerror]
mov rdx, rax
lea rcx, [0x14001b4dc]
call fcn.1400011f0
mov rcx, qword [0x14001fe78]
mov rcx, qword [rcx]
mov qword [0x14001fe78], rcx
test rcx, rcx
jne 0x140001776
cmp dword [0x14001fe74], 0
jne 0x140001891
lea r9, [0x14001fe60]
mov r8, rbp
mov rdx, r14
lea rcx, [0x14001e990]
call qword [sym.imp.libwdi.dll_wdi_install_driver]
cmp dword [0x14001fe5c], 0
mov ebx, eax
jne 0x140001891
mov ecx, eax
call qword [sym.imp.libwdi.dll_wdi_strerror]
mov rdx, rax
lea rcx, str.___s_n
call fcn.1400011f0
mov eax, ebx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140002420
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.140001250
xor ecx, ecx
call fcn.1400041e8
int3
call fcn.140001250
xor ecx, ecx
call fcn.1400041e8
int3
call fcn.140001250
xor ecx, ecx
call fcn.1400041e8
int3