Function at 0x140001370
Capabilities:
Install driver
Terminate process

Disassembly:
push rbp
push r15
lea rbp, [rsp - 0x4f]
sub rsp, 0x98
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r15d, r15d
lea rcx, str..EtdSupport_18.0
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
lea r8d, [r15 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
jne 0x1400013e8
lea rdx, [0x1400144a0]
lea rcx, [rbp + 0x27]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp + 0x27]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
test eax, eax
js 0x1400016ff
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
lea rcx, str..EtdSupport_18.0
mov edx, 0xc0000000
mov qword [rsp + 0xb0], rbx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001430
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0xb8], rsi
lea rcx, [rbp + 0x27]
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0x90], r14
call section..text
mov qword [rbp + 0x1f], r15
mov edi, 8
mov qword [rbp - 1], r15
mov dword [rbp - 9], r15d
movups xmm0, xmmword [rax]
xor eax, eax
mov qword [rbp + 0x17], rax
movups xmmword [rbp + 0x27], xmm0
mov r14, qword [rbp + 0x27]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
nop word [rax + rax]
mov esi, 8
sub rsi, rdi
lea rax, [rsi + r14]
mov qword [rbp + 0xf], rax
cmp rdi, 4
jb 0x1400014a4
mov qword [rbp - 1], 4
sub rdi, 4
jmp 0x1400014c5
cmp rdi, 2
jb 0x1400014b8
mov qword [rbp - 1], 2
sub rdi, 2
jmp 0x1400014c5
cmp rdi, 1
jne 0x1400014c5
mov qword [rbp - 1], rdi
mov rdi, r15
mov qword [rsp + 0x38], r15
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 1]
lea rax, [rbp - 1]
mov dword [rsp + 0x28], 0x20
mov r9d, 0x20
mov qword [rsp + 0x20], rax
mov edx, 0x8000603c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14000153b
mov rax, qword [rbp - 1]
sub rax, 1
je 0x14000152a
sub rax, 1
je 0x14000151f
cmp rax, 2
jne 0x140001532
mov eax, dword [rbp + 0x17]
mov dword [rbp + rsi + 0x1f], eax
jmp 0x140001532
movzx eax, word [rbp + 0x17]
mov word [rbp + rsi + 0x1f], ax
jmp 0x140001532
movzx eax, byte [rbp + 0x17]
mov byte [rbp + rsi + 0x1f], al
test rdi, rdi
jne 0x140001480
xorps xmm0, xmm0
mov qword [rbp - 1], r15
xor eax, eax
mov dword [rbp - 9], r15d
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rax
mov edi, 8
nop word [rax + rax]
mov ecx, 8
sub rcx, rdi
lea rax, [rcx + r14]
mov qword [rbp + 0xf], rax
cmp rdi, 4
jb 0x140001588
mov eax, dword [rbp + rcx + 0x2f]
sub rdi, 4
mov qword [rbp - 1], 4
jmp 0x1400015b3
cmp rdi, 2
jb 0x1400015a1
movzx eax, word [rbp + rcx + 0x2f]
sub rdi, 2
mov qword [rbp - 1], 2
jmp 0x1400015b3
cmp rdi, 1
jne 0x1400015b7
movzx eax, byte [rbp + rcx + 0x2f]
mov qword [rbp - 1], rdi
mov rdi, r15
mov qword [rbp + 0x17], rax
mov qword [rsp + 0x38], r15
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 1]
mov dword [rsp + 0x28], r15d
mov r9d, 0x20
mov edx, 0x8000a038
mov qword [rsp + 0x20], r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400015f4
test rdi, rdi
jne 0x140001560
lea rdx, [0x140014290]
lea rcx, [rbp + 0x27]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp + 0x27]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
mov esi, eax
test eax, eax
js 0x1400016df
xorps xmm0, xmm0
mov qword [rbp - 1], r15
xor eax, eax
mov dword [rbp - 9], r15d
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rax
mov edi, 8
nop dword [rax]
nop word [rax + rax]
mov ecx, 8
sub rcx, rdi
lea rax, [rcx + r14]
mov qword [rbp + 0xf], rax
cmp rdi, 4
jb 0x140001668
mov eax, dword [rbp + rcx + 0x1f]
sub rdi, 4
mov qword [rbp - 1], 4
jmp 0x140001693
cmp rdi, 2
jb 0x140001681
movzx eax, word [rbp + rcx + 0x1f]
sub rdi, 2
mov qword [rbp - 1], 2
jmp 0x140001693
cmp rdi, 1
jne 0x140001697
movzx eax, byte [rbp + rcx + 0x1f]
mov qword [rbp - 1], rdi
mov rdi, r15
mov qword [rbp + 0x17], rax
mov qword [rsp + 0x38], r15
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 1]
mov dword [rsp + 0x28], r15d
mov r9d, 0x20
mov edx, 0x8000a038
mov qword [rsp + 0x20], r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400016d4
test rdi, rdi
jne 0x140001640
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rdi, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xb8]
mov r14, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140003520
add rsp, 0x98
pop r15
pop rbp
ret