Function at 0x1400025b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x14005be30], xmm0
movups xmmword [0x14005be40], xmm0
movups xmmword [0x14005be50], xmm0
movups xmmword [0x14005be60], xmm0
movups xmmword [0x14005be70], xmm0
movups xmmword [0x14005be80], xmm0
mov dword [0x14005be90], eax
call fcn.14001b9a8
mov r8d, eax
mov eax, 0x66666667
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
shl ecx, 2
sub r8d, ecx
add r8d, 6
movsxd rsi, r8d
xor edi, edi
lea r14, [0x14005be30]
test r8d, r8d
jle 0x140002682
mov ebx, edi
movabs r15, 0x4ec4ec4ec4ec4ec5
lea r12, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
call fcn.14001b9a8
movsxd rcx, eax
mov rax, r15
mul rcx
shr rdx, 4
imul rax, rdx, 0x34
sub rcx, rax
movzx eax, byte [rcx + r12]
mov byte [rbx + r14], al
inc rbx
cmp rbx, rsi
jl 0x140002658
lea rcx, str.____Loading_vulnerable_driver._n
call fcn.1400011d0
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0xb0]
call fcn.140017380
lea rdx, [rbp + 0xb0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x103
ja 0x140002aa8
lea rcx, [rbp + 0xb0]
mov rbx, 0xffffffffffffffff
mov rax, rbx
lea rax, [rax + 1]
cmp byte [rcx + rax], dil
jne 0x1400026d2
cmp byte [rbp + rax + 0xaf], 0x5c
jne 0x1400026ee
mov byte [rbp + rax + 0xaf], dil
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], dil
lea rax, [rbp + 0xb0]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x140002710
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x80]
call fcn.140007830
nop
mov r8d, 1
lea rdx, [0x140048860]
lea rcx, [rbp - 0x80]
call fcn.140007990
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
nop word [rax + rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x140002770
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.140007990
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400027f1
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002add
call fcn.140014b18
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14000283f
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000283a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002ae3
call fcn.140014b18
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call fcn.14001b8c8
mov rdx, r14
lea rcx, str.___Loading_driver_name:__s_n
call fcn.1400011d0
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140006930
nop
mov r8d, 0x8708
lea rdx, [0x140049480]
lea rcx, [rbp - 0x60]
call fcn.140006a50
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbp - 0x58]
test byte [rdx + rax + 0x10], 6
je 0x14000296a
call fcn.1400073a0
test rax, rax
jne 0x1400028f2
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea r9, [rbp - 0x60]
add rcx, r9
mov edx, 6
mov eax, 2
cmp qword [rcx + 0x48], 0
cmovne edx, eax
or edx, dword [rcx + 0x10]
xor r8d, r8d
call fcn.140002410
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x58]
call fcn.140006680
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x64], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x48], rax
lea rcx, [rbp + 0x48]
call fcn.140013834
nop
lea rcx, str.____Failed_to_create_vulnerable_driver_file_n
call fcn.1400011d0
jmp 0x140002a6a
call fcn.1400073a0
test rax, rax
jne 0x1400029a1
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea r9, [rbp - 0x60]
add rcx, r9
mov edx, 6
mov eax, 2
cmp qword [rcx + 0x48], 0
cmovne edx, eax
or edx, dword [rcx + 0x10]
xor r8d, r8d
call fcn.140002410
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x58]
call fcn.140006680
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x64], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x48], rax
lea rcx, [rbp + 0x48]
call fcn.140013834
nop
lea rcx, [rsp + 0x40]
call fcn.140010020
test al, al
jne 0x140002a3a
lea rcx, str.____Failed_to_register_and_start_service_for_the_vulnerable_driver_n
call fcn.1400011d0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call fcn.14001b8c8
jmp 0x140002a6a
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, str..Nal
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140002aa3
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002ad7
call fcn.140014b18
mov rax, rdi
jmp 0x140002ab6
lea rcx, str.____Failed_to_get_temp_path_n
call fcn.1400011d0
xor eax, eax
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14001eb84
nop
call fcn.14001eb84
nop
call fcn.14001eb84
int3