Function at 0x1400034a0
Capabilities:
Delete file
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x260
mov rax, qword [0x140014040]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r14, rdx
xor ebx, ebx
mov dword [rsp + 0x34], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x120], xmm0
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x138], 0xf
mov byte [rsp + 0x120], bl
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], 0xf
mov byte [rsp + 0x78], bl
cmp ecx, 1
jle 0x140003650
mov esi, 1
movsxd r15, ecx
nop dword [rax]
mov rdx, qword [r14 + rsi*8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140003550
lea rcx, [rsp + 0x40]
call fcn.140009970
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
cmova rax, rcx
cmp qword [rsp + 0x50], 7
jne 0x14000359e
cmp dword [rax], 0x65642d2d
jne 0x14000359e
cmp word [rax + 4], 0x7562
jne 0x14000359e
cmp byte [rax + 6], 0x67
jne 0x14000359e
mov dil, 1
jmp 0x1400035a1
xor dil, dil
cmp rdx, 0xf
jbe 0x1400035d4
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400035cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400047b4
call fcn.14000b4cc
test dil, dil
je 0x1400035e2
mov byte [0x140014c50], 1
jmp 0x140003644
cmp qword [rsp + 0x130], 0
jne 0x140003614
mov rdx, qword [r14 + rsi*8]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140003600
lea rcx, [rsp + 0x120]
jmp 0x14000363f
cmp qword [rsp + 0x88], 0
jne 0x140003644
mov rdx, qword [r14 + rsi*8]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140003630
lea rcx, [rsp + 0x78]
call fcn.140006f80
inc rsi
cmp rsi, r15
jl 0x140003530
lea rcx, str.Program_started
call fcn.140007e80
cmp qword [rsp + 0x130], 0
je 0x14000488e
cmp qword [rsp + 0x88], 0
je 0x14000488e
mov edi, ebx
mov qword [rsp + 0x68], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x68]
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400036d8
mov dword [rsp + 0xd8], 4
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x70]
mov edx, 0x14
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne edi, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400036e8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x1400037cb
lea rcx, str._ERROR__This_program_requires_administrator_privileges.
call fcn.140007e80
nop
mov rdx, qword [rsp + 0x90]
cmp rdx, 0xf
jbe 0x14000373d
inc rdx
mov rcx, qword [rsp + 0x78]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003738
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004940
call fcn.14000b4cc
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], 0xf
mov byte [rsp + 0x78], 0
mov rdx, qword [rsp + 0x138]
cmp rdx, 0xf
jbe 0x140003799
inc rdx
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003794
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400049ab
call fcn.14000b4cc
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14000b470
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, str.Running_with_administrator_privileges
call fcn.140007e80
lea rdx, [rsp + 0x120]
lea rcx, str.COE_file:_
call fcn.140008aa0
lea rdx, [rsp + 0x78]
lea rcx, str.Raw_PCI_Address_input:_
call fcn.140008aa0
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x100]
call fcn.140002490
nop
mov rax, qword [rsp + 0x108]
cmp qword [rsp + 0x100], rax
jne 0x140003890
lea rcx, str._ERROR__Failed_to_parse_COE_file_or_file_is_empty.
call fcn.140007e80
nop
mov rcx, qword [rsp + 0x100]
test rcx, rcx
je 0x1400036fd
mov rdx, qword [rsp + 0x110]
sub rdx, rcx
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003872
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400047b4
call fcn.14000b4cc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x100], xmm0
mov qword [rsp + 0x110], rbx
jmp 0x1400036fd
xor r12b, r12b
mov dword [rsp + 0xd8], r12d
xor r14b, r14b
mov dword [rsp + 0x30], r14d
xor r15b, r15b
mov dword [rsp + 0x70], r15d
xor edx, edx
mov r8d, 0xf0
lea rcx, [rsp + 0x160]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14000e9f0]
mov qword [rsp + 0x160], rax
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x34], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x160]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x160]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x160], r13
mov rax, qword [rsp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x15c], edx
lea rax, [rsp + 0x170]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x170]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x170], rax
lea rdx, [rsp + 0x78]
cmp qword [rsp + 0x90], 0xf
cmova rdx, qword [rsp + 0x78]
mov r9d, 2
mov r8, qword [rsp + 0x88]
lea rcx, [rsp + 0x170]
call fcn.140006cf0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], 0xf
mov byte [rsp + 0x98], r15b
mov r8b, 0x3a
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x160]
call fcn.140009f30
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x140003a4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rsi, rax
lea rdi, [rsp + 0x98]
cmp qword [rsp + 0xb0], 0xf
cmova rdi, qword [rsp + 0x98]
mov dword [rax], ebx
mov r8d, 0x10
lea rdx, [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
mov r12d, eax
mov dword [rsp + 0xd8], eax
cmp rdi, qword [rsp + 0x68]
jne 0x140003a3c
lea rcx, str.invalid_stoul_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
cmp dword [rsi], 0x22
jne 0x140003a4e
lea rcx, str.stoul_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
mov r8b, 0x3a
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x160]
call fcn.140009f30
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x140003ae0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rsi, rax
lea rdi, [rsp + 0x98]
cmp qword [rsp + 0xb0], 0xf
cmova rdi, qword [rsp + 0x98]
mov dword [rax], ebx
mov r8d, 0x10
lea rdx, [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
mov r14d, eax
mov dword [rsp + 0x30], eax
cmp rdi, qword [rsp + 0x68]
jne 0x140003ace
lea rcx, str.invalid_stoul_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
cmp dword [rsi], 0x22
jne 0x140003ae0
lea rcx, str.stoul_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
mov rax, qword [rsp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x160]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x160]
call fcn.140009f30
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x140003b93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rsi, rax
lea rdi, [rsp + 0x98]
cmp qword [rsp + 0xb0], 0xf
cmova rdi, qword [rsp + 0x98]
mov dword [rax], ebx
mov r8d, 0x10
lea rdx, [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
mov r15d, eax
mov dword [rsp + 0x70], eax
cmp rdi, qword [rsp + 0x68]
jne 0x140003b80
lea rcx, str.invalid_stoul_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
cmp dword [rsi], 0x22
jne 0x140003b93
lea rcx, str.stoul_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
nop
cmp r14b, 0x1f
ja 0x1400046ac
cmp r15b, 7
ja 0x1400046ac
movzx eax, r15b
mov dword [rsp + 0x34], eax
movzx eax, r14b
mov dword [rsp + 0x38], eax
movzx eax, r12b
mov dword [rsp + 0x68], eax
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x68]
lea rcx, str.Parsed_PCI_Address:_:X::X::X
call fcn.140008100
xorps xmm0, xmm0
movups xmmword [rsp + 0xb8], xmm0
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], rbx
mov ecx, 0x210
call fcn.14000b490
mov rdx, rax
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc8], 0x104
mov qword [rsp + 0xd0], 0x107
movzx eax, bx
mov rdi, rdx
mov ecx, 0x104
rep stosw word [rdi], ax
mov word [rdx + 0x208], bx
lea rdx, [rsp + 0xb8]
cmp qword [rsp + 0xd0], 7
cmova rdx, qword [rsp + 0xb8]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [rax - 1]
cmp ecx, 0x103
ja 0x14000463e
mov edx, eax
mov r8, qword [rsp + 0xc8]
cmp rdx, r8
ja 0x140003ca2
mov qword [rsp + 0xc8], rdx
lea rax, [rsp + 0xb8]
cmp qword [rsp + 0xd0], 7
cmova rax, qword [rsp + 0xb8]
mov word [rax + rdx*2], bx
jmp 0x140003d06
sub rdx, r8
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
sub rax, r8
cmp rdx, rax
ja 0x140003cf6
lea rax, [rdx + r8]
mov qword [rsp + 0xc8], rax
lea r9, [rsp + 0xb8]
cmp rcx, 7
cmova r9, qword [rsp + 0xb8]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140003ceb
movzx eax, bx
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], bx
jmp 0x140003d06
mov r9, rdx
lea rcx, [rsp + 0xb8]
call fcn.140009a70
mov r15, qword [rsp + 0xc8]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r15
cmp rax, 0xc
jb 0x1400049b2
lea r12, [rsp + 0xb8]
cmp qword [rsp + 0xd0], 7
cmova r12, qword [rsp + 0xb8]
xorps xmm0, xmm0
movups xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0xf8], rbx
lea r14, [r15 + 0xc]
mov edi, 7
lea rsi, [rsp + 0xe0]
cmp r14, rdi
jbe 0x140003e06
mov rdi, r14
or rdi, 7
cmp rdi, rcx
jbe 0x140003dc9
mov rdi, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140003df6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400049b8
mov rcx, rax
call fcn.14000b490
test rax, rax
je 0x140004403
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140003dfe
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400049b8
add rcx, rcx
jne 0x140003d94
mov rsi, rbx
jmp 0x140003dfe
call fcn.14000b490
mov rsi, rax
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xf0], r14
mov qword [rsp + 0xf8], rdi
lea rdi, [r15 + r15]
mov r8, rdi
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.RTCore64.sys]
movups xmmword [rdi + rsi], xmm0
movsd xmm0, qword [0x14000e350]
movsd qword [rdi + rsi + 0x10], xmm0
mov word [rsi + r14*2], bx
lea rdx, [rsp + 0xe0]
lea rcx, str.Attempting_to_extract_driver_to:_
call fcn.140007830
lea rcx, [rsp + 0xe0]
call fcn.140001790
test al, al
jne 0x140003ffe
lea rcx, str._ERROR__Failed_to_extract_embedded_driver_file.
call fcn.140007e80
nop
mov rdx, qword [rsp + 0xf8]
cmp rdx, 7
jbe 0x140003ec4
mov rcx, qword [rsp + 0xe0]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ebf
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004403
call fcn.14000b4cc
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0xf8], 7
mov word [rsp + 0xe0], bx
mov rdx, qword [rsp + 0xd0]
cmp rdx, 7
jbe 0x140003f28
mov rcx, qword [rsp + 0xb8]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f23
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046a5
call fcn.14000b4cc
mov word [rsp + 0xb8], bx
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], rbx
mov rdx, qword [rsp + 0xb0]
cmp rdx, 0xf
jbe 0x140003f87
inc rdx
mov rcx, qword [rsp + 0x98]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003f82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400047f5
call fcn.14000b4cc
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], 0xf
mov byte [rsp + 0x98], 0
mov rax, qword [rsp + 0x160]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x160], r13
mov rax, qword [rsp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x15c], edx
lea rcx, [rsp + 0x170]
call fcn.140004f60
lea rcx, [rsp + 0x178]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x140003831
lea rcx, str.Driver_extracted_successfully._Attempting_to_load...
call fcn.140007e80
mov ecx, 0x18
call fcn.14000b490
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], 0xffffffffffffffff
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov qword [0x140014c48], rax
lea rdx, [rsp + 0xe0]
call fcn.140001340
test al, al
jne 0x14000409c
lea rcx, str._ERROR__Failed_to_load_RTCore_driver.
call fcn.140007e80
lea rcx, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 7
cmova rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdi, qword [0x140014c48]
test rdi, rdi
je 0x140003e7c
mov rcx, rdi
call fcn.1400015a0
mov edx, 0x18
mov rcx, rdi
call fcn.14000b4cc
jmp 0x140003e7c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x140], xmm0
mov qword [rsp + 0x150], rax
mov eax, dword [rsp + 0x70]
mov byte [rsp + 0x20], al
movzx r9d, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0xd8]
lea rcx, [rsp + 0x140]
call fcn.140002260
nop
mov rcx, qword [rsp + 0x140]
mov rax, qword [rsp + 0x148]
cmp rcx, rax
jne 0x140004188
lea rcx, str._ERROR__Failed_to_read_PCIe_config_space.
call fcn.140007e80
mov rcx, qword [0x140014c48]
call fcn.1400015a0
mov rdi, qword [0x140014c48]
test rdi, rdi
je 0x140004129
mov rcx, rdi
call fcn.1400015a0
mov edx, 0x18
mov rcx, rdi
call fcn.14000b4cc
nop
mov rcx, qword [rsp + 0x140]
test rcx, rcx
je 0x140003e7c
mov rdx, qword [rsp + 0x150]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000416a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400043a4
call fcn.14000b4cc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x140], xmm0
mov qword [rsp + 0x150], rbx
jmp 0x140003e7c
sub rax, rcx
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x68]
call fcn.140009100
cmp byte [0x140014c50], 0
je 0x1400041b0
lea rcx, [rsp + 0x140]
call fcn.140001df0
mov rcx, qword [rsp + 0x140]
movzx eax, word [rcx]
mov word [rsp + 0x70], ax
movzx eax, word [rcx + 2]
mov word [rsp + 0x30], ax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x70]
lea rcx, str.Raw_Read_Vendor_ID:_0x:X__Device_ID:_0x:X
call fcn.1400093f0
movzx esi, word [rsp + 0x70]
movzx edi, word [rsp + 0x30]
cmp si, word [rsp + 0x118]
jne 0x1400041fd
cmp di, word [rsp + 0x11a]
je 0x14000422f
lea rcx, str.Endianness_mismatch_detected._Swapping_bytes.
call fcn.140007e80
movzx eax, si
shr ax, 8
shl si, 8
or ax, si
mov word [rsp + 0x70], ax
movzx eax, di
shr ax, 8
shl di, 8
or ax, di
mov word [rsp + 0x30], ax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x70]
lea rcx, str.Corrected_Vendor_ID:_0x:X__Device_ID:_0x:X
call fcn.1400093f0
lea rdx, str.Device_Information:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140007320
mov rcx, rax
lea rdx, [0x140007500]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, str.Vendor_ID:_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140007320
mov rcx, rax
lea rdx, [0x140001320]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
movzx edx, word [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, str.__Device_ID:_0x
call fcn.140007320
mov rcx, rax
movzx edx, word [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, [0x140001300]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x140007500]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x100]
call fcn.140002f80
lea rcx, str.Program_completed_successfully
call fcn.140007e80
mov rcx, qword [0x140014c48]
call fcn.1400015a0
mov rdi, qword [0x140014c48]
test rdi, rdi
je 0x140004324
mov rcx, rdi
call fcn.1400015a0
mov edx, 0x18
mov rcx, rdi
call fcn.14000b4cc
mov qword [0x140014c48], rbx
lea rcx, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 7
cmova rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000436b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0x68]
lea rcx, str.Failed_to_delete_temporary_driver_file._Error_code:_
call fcn.140007540
nop
mov rcx, qword [rsp + 0x140]
test rcx, rcx
je 0x1400043c4
mov rdx, qword [rsp + 0x150]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400043ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400043ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b4cc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x140], xmm0
mov qword [rsp + 0x150], rbx
mov rdx, qword [rsp + 0xf8]
cmp rdx, 7
jbe 0x14000440f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000440a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000440a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b4cc
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0xf8], 7
mov word [rsp + 0xe0], bx
mov rdx, qword [rsp + 0xd0]
cmp rdx, 7
jbe 0x140004473
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000446e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046a5
call fcn.14000b4cc
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], 7
mov word [rsp + 0xb8], bx
mov rdx, qword [rsp + 0xb0]
cmp rdx, 0xf
jbe 0x1400044d2
inc rdx
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400044cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400047f5
call fcn.14000b4cc
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], 0xf
mov byte [rsp + 0x98], 0
mov rax, qword [rsp + 0x160]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x160], r13
mov rax, qword [rsp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x15c], edx
lea rcx, [rsp + 0x170]
call fcn.140004f60
lea rcx, [rsp + 0x178]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x100]
test rcx, rcx
je 0x14000459b
mov rdx, qword [rsp + 0x110]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004582
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400047b4
call fcn.14000b4cc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x100], xmm0
mov qword [rsp + 0x110], rbx
mov rdx, qword [rsp + 0x90]
cmp rdx, 0xf
jbe 0x1400045db
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004940
call fcn.14000b4cc
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], 0xf
mov byte [rsp + 0x78], 0
mov rdx, qword [rsp + 0x138]
cmp rdx, 0xf
jbe 0x140004637
inc rdx
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004632
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400049ab
call fcn.14000b4cc
xor eax, eax
jmp 0x14000379e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0x68]
lea rcx, str._ERROR__Failed_to_get_temp_path._Error_code:_
call fcn.140007540
nop
mov rdx, qword [rsp + 0xd0]
cmp rdx, 7
jbe 0x140003f28
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rcx, str._ERROR__Invalid_PCI_address_values._Bus__0_255___Device__0_31___Function__0_7_
call fcn.140007e80
nop
mov rdx, qword [rsp + 0xb0]
cmp rdx, 0xf
jbe 0x1400046fc
inc rdx
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400046f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400047f5
call fcn.14000b4cc
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], 0xf
mov byte [rsp + 0x98], 0
mov rax, qword [rsp + 0x160]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x160], r13
mov rax, qword [rsp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x15c], edx
lea rcx, [rsp + 0x170]
call fcn.140004f60
lea rcx, [rsp + 0x178]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x100]
test rcx, rcx
je 0x1400036fd
mov rdx, qword [rsp + 0x110]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003872
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003872
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, qword [rsp + 0xb0]
cmp rdx, 0xf
jbe 0x140004801
inc rdx
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400047fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b4cc
xor ebx, ebx
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], 0xf
mov byte [rsp + 0x98], bl
mov rax, qword [rsp + 0x160]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x160], r13
mov rax, qword [rsp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x15c], edx
lea rcx, [rsp + 0x170]
call fcn.140004f60
lea rcx, [rsp + 0x178]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x100]
call fcn.140002ec0
jmp 0x1400036fd
lea rdx, str.Usage:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140007320
mov rcx, rax
mov rdx, qword [r14]
call fcn.140008830
mov rcx, rax
lea rdx, str.__coe_file___bus:device:function_____debug_
call fcn.140007320
mov rcx, rax
lea rdx, [0x140007500]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, str.Example:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140007320
mov rcx, rax
mov rdx, qword [r14]
call fcn.140008830
mov rcx, rax
lea rdx, str._file.coe_13:0:0___debug
call fcn.140007320
mov rcx, rax
lea rdx, [0x140007500]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x90]
cmp rdx, 0xf
jbe 0x14000494c
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004947
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004947
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b4cc
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], 0xf
mov byte [rsp + 0x78], 0
mov rdx, qword [rsp + 0x138]
cmp rdx, 0xf
jbe 0x140003799
inc rdx
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003794
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003794
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001220
int3
call fcn.140001180
int3