Function at 0x140002c60
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 - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14005a080]
xor rax, rsp
mov qword [rbp + 0xc0], rax
xor r12d, r12d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1403b13a0], xmm0
movups xmmword [0x1403b13b0], xmm0
movups xmmword [0x1403b13c0], xmm0
movups xmmword [0x1403b13d0], xmm0
movups xmmword [0x1403b13e0], xmm0
movups xmmword [0x1403b13f0], xmm0
mov dword [0x1403b1400], eax
call fcn.140020de0
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, 0xa
movsxd rdi, r8d
lea rsi, [0x1403b13a0]
test r8d, r8d
jle 0x140002d49
mov ebx, r12d
movabs r14, 0x4ec4ec4ec4ec4ec5
lea r15, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
nop dword [rax + rax]
call fcn.140020de0
movsxd rcx, eax
mov rax, r14
mul rcx
shr rdx, 4
imul rax, rdx, 0x34
sub rcx, rax
movzx eax, byte [rcx + r15]
mov byte [rbx + rsi], al
inc rbx
cmp rbx, rdi
jl 0x140002d20
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x50]
call fcn.14003aa70
lea rdx, [rbp - 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x103
ja 0x14000302e
lea rcx, [rbp - 0x50]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rcx + rax], r12b
jne 0x140002d84
cmp byte [rbp + rax - 0x51], 0x5c
jne 0x140002da8
dec rax
cmp rax, 0x104
jae 0x140003087
mov byte [rbp + rax - 0x50], r12b
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea rax, [rbp - 0x50]
mov r8, rbx
inc r8
cmp byte [rax + r8], r12b
jne 0x140002dc0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.14000ab60
nop
mov r8d, 1
lea rdx, [0x1400489b4]
lea rcx, [rsp + 0x68]
call fcn.1400085f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140002e20
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1400085f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140002ea3
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003081
call fcn.1400164f0
movdqa xmm0, xmmword [0x140052230]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140002ef2
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002eed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000308d
call fcn.1400164f0
movdqa xmm0, xmmword [0x140052230]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rcx, qword [rbp - 0x78]
call fcn.140020cfc
lea rcx, [rbp - 0x78]
call fcn.1400132e0
test al, al
jne 0x140002f42
lea rdx, str.____Failed_to_create_vulnerable_driver_file
lea rcx, [0x1403afb80]
call fcn.140009520
mov rcx, rax
call fcn.1400097d0
jmp 0x140002f7e
lea rcx, [rbp - 0x78]
call fcn.140012640
test al, al
jne 0x140002fc2
lea rdx, str.____Failed_to_register_and_start_service_for_the_vulnerable_driver
lea rcx, [0x1403afb80]
call fcn.140009520
mov rcx, rax
call fcn.1400097d0
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rcx, qword [rbp - 0x78]
call fcn.140020cfc
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140003049
inc rdx
mov rcx, qword [rbp - 0x78]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140002fb8
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000307b
call fcn.1400164f0
jmp 0x140003049
mov qword [rsp + 0x30], r12
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_CreateFileA]
mov rbx, rax
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140003029
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003024
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000307b
call fcn.1400164f0
mov rax, rbx
jmp 0x14000304b
lea rdx, str.____Failed_to_get_temp_path
lea rcx, [0x1403afb80]
call fcn.140009520
mov rcx, rax
call fcn.1400097d0
xor eax, eax
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1400164d0
lea r11, [rsp + 0x1d0]
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.1400202a0
nop
call fcn.1400202a0
nop
call fcn.140016728
nop
call fcn.1400202a0
int3