joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400047c0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x60
xor r13d, r13d
mov rdi, r8
mov rsi, rdx
mov r12, rcx
mov ebp, 0xf003f
mov qword [r11 - 0x38], r13
mov dword [r11 + 0x10], r13d
test rdx, rdx
je 0x1400048c1
test r8, r8
je 0x1400048c1
cmp dword [rsp + 0xb0], r13d
mov eax, 0xf013f
mov qword [r11 + 8], rbx
cmovne ebp, eax
lea rax, [r11 - 0x38]
xor r8d, r8d
mov r9d, ebp
mov qword [r11 - 0x68], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
je 0x14000486d
cmp eax, 2
jne 0x140004869
lea rax, [rsp + 0x98]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov rcx, r12
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, eax
test ebx, ebx
jne 0x14000489b
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0xa8]
mov r9d, 4
xor r8d, r8d
mov rdx, rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400048ab
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, 0x57
add rsp, 0x60
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400048e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
xor eax, eax
mov rdi, r9
mov rsi, r8
lea r9d, [rax + 1]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x58], eax
test rdx, rdx
je 0x14000499f
test r8, r8
je 0x14000499f
test rdi, rdi
je 0x14000499f
cmp dword [rsp + 0x78], 0
mov eax, 0x101
mov qword [rsp + 0x50], rbx
cmovne r9d, eax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x14000497d
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
jne 0x14000497d
cmp dword [rsp + 0x58], 3
je 0x14000497d
mov ebx, 0x3f2
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000498d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov eax, 0x57
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400049b0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x60
xor r14d, r14d
mov rdi, r9
mov rsi, r8
mov rbp, rdx
mov r13, rcx
mov r12d, 0xf003f
mov qword [r11 - 0x38], r14
mov dword [r11 + 0x10], r14d
test rdx, rdx
je 0x140004ac5
test r8, r8
je 0x140004ac5
test r9, r9
je 0x140004ac5
cmp dword [rsp + 0xb8], r14d
mov eax, 0xf013f
mov qword [r11 + 8], rbx
cmovne r12d, eax
lea rax, [r11 - 0x38]
xor r8d, r8d
mov r9d, r12d
mov qword [r11 - 0x68], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
je 0x140004a6d
cmp eax, 2
jne 0x140004a69
lea rax, [rsp + 0x98]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov rdx, rbp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov rcx, r13
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, eax
test ebx, ebx
jne 0x140004a96
mov eax, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0x50]
mov r9d, 3
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140004aa6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xa0]
add rsp, 0x60
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov eax, 0x57
jmp 0x140004ab0

Function at 0x140004ad0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
xor eax, eax
mov rdi, r9
mov rsi, r8
mov dword [rsp + 0x30], 4
lea r9d, [rax + 1]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x58], eax
test rdx, rdx
je 0x140004b97
test r8, r8
je 0x140004b97
test rdi, rdi
je 0x140004b97
cmp dword [rsp + 0x70], 0
mov eax, 0x101
mov qword [rsp + 0x50], rbx
cmovne r9d, eax
lea rax, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x140004b75
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
jne 0x140004b75
cmp dword [rsp + 0x58], 4
je 0x140004b75
mov ebx, 0x3f2
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140004b85
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov eax, 0x57
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140004bb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
xor eax, eax
mov rdi, r9
mov rsi, r8
lea r9d, [rax + 1]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x58], eax
test rdx, rdx
je 0x140004c7b
test r8, r8
je 0x140004c7b
test rdi, rdi
je 0x140004c7b
cmp dword [rsp + 0x78], 0
mov eax, 0x101
mov qword [rsp + 0x50], rbx
cmovne r9d, eax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x140004c59
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
jne 0x140004c59
mov eax, dword [rsp + 0x58]
cmp eax, 1
je 0x140004c59
cmp eax, 7
je 0x140004c59
cmp eax, 2
je 0x140004c59
mov ebx, 0x3f2
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140004c69
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov eax, 0x57
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140004c90
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push r12
push r13
push r14
sub rsp, 0x60
xor r14d, r14d
mov rbx, r9
mov rsi, r8
mov rbp, rdx
mov r13, rcx
mov r12d, 0xf003f
mov qword [r11 - 0x38], r14
mov dword [r11 + 0x10], r14d
test rdx, rdx
je 0x140004dad
test r8, r8
je 0x140004dad
test rbx, rbx
je 0x140004dad
cmp dword [rsp + 0xb0], r14d
mov eax, 0xf013f
mov qword [r11 + 8], rdi
cmovne r12d, eax
lea rax, [r11 - 0x38]
xor r8d, r8d
mov r9d, r12d
mov qword [r11 - 0x68], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
test eax, eax
je 0x140004d4d
cmp eax, 2
jne 0x140004d49
lea rax, [rsp + 0x98]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov rdx, rbp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov rcx, r13
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, eax
test edi, edi
jne 0x140004d7e
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
lea r9d, [rax + 2]
xor r8d, r8d
not rcx
mov rdx, rsi
dec rcx
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140004d8e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rdi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
mov eax, 0x57
jmp 0x140004d98
Function at 0x140004dc0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor ebx, ebx
mov eax, r9d
mov rdi, r8
mov r9d, 0xf003f
mov qword [rsp + 0x48], rbx
test rdx, rdx
je 0x140004e3c
test r8, r8
je 0x140004e3c
mov r8d, 0xf013f
test eax, eax
lea rax, [rsp + 0x48]
cmovne r9d, r8d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140004e0f
cmp eax, 2
je 0x140004e1f
mov rcx, qword [rsp + 0x48]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140004e2f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov eax, 0x57
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140004e50
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0xe0
xor r13d, r13d
mov rsi, r8
mov r12, rcx
mov rbp, rdx
lea rcx, [rsp + 0x70]
lea r8d, [r13 + 0x68]
xor edx, edx
mov ebx, r9d
mov dword [rax + 0x20], r13d
call fcn.140013580
mov dword [rsp + 0x70], WSAGetLastError
test ebx, ebx
jne 0x140004eae
mov dword [rsp + 0xac], 1
mov word [rsp + 0xb0], r13w
mov rdi, qword [rsp + 0x130]
test rdi, rdi
je 0x140004ebe
mov dword [rdi], r13d
mov rbx, qword [rsp + 0x128]
test rbx, rbx
je 0x140004ece
mov qword [rbx], r13
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov rdx, rbp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r13
mov rcx, r12
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140004f1a
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140004fb0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x140004f30
mov eax, dword [rsp + 0x60]
mov dword [rdi], eax
test rbx, rbx
je 0x140004f3d
mov rax, qword [rsp + 0x50]
mov qword [rbx], rax
cmp dword [rsp + 0x120], r13d
je 0x140004f92
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x118], eax
test eax, eax
jne 0x140004f99
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x118]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x140004f86
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x118], eax
jmp 0x140004f99
mov eax, r13d
mov dword [rsp + 0x118], eax
jmp 0x140004f99
mov eax, dword [rsp + 0x118]
test rbx, rbx
jne 0x140004fb0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x118]
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x140005580
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1401507e0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
lea rcx, [rsp + 0x41]
xor ebx, ebx
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x40], bl
call fcn.140013580
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000563b
test al, 0x10
je 0x14000563b
lea r9, [rsp + 0x40]
lea rdx, [0x140022678]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x1400055f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000563b
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x40]
lea r8d, [r9 + 3]
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x14000563b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, 1
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140013680
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret

Function at 0x140005660
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1401507e0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
lea rdx, [rsp + 0x20]
mov rbx, rcx
mov qword [rsp + 0x21], rax
mov qword [rsp + 0x29], rax
mov qword [rsp + 0x31], rax
mov dword [rsp + 0x39], eax
mov word [rsp + 0x3d], ax
mov byte [rsp + 0x3f], al
mov eax, reloc.WS2_32.dll_WSAStartup
xor edi, edi
mov dword [rsp + 0x20], 0x676f7250
mov dword [rsp + 0x24], 0x206d6172
mov dword [rsp + 0x28], 0x656c6946
mov word [rsp + 0x2c], ax
call fcn.1400078f0
test rax, rax
je 0x1400056d4
mov eax, 1
jmp 0x14000572a
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x74737953
mov dword [rsp + 0x24], 0x32336d65
mov byte [rsp + 0x28], dil
call fcn.1400078f0
test rax, rax
jne 0x1400056cd
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x57737953
mov dword [rsp + 0x24], 0x3436776f
mov byte [rsp + 0x28], dil
call fcn.1400078f0
test rax, rax
mov ecx, 1
cmovne edi, ecx
mov eax, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140013680
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140005750
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1401507e0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
mov rbx, rcx
movsx ecx, byte [rcx]
xor edi, edi
mov qword [rsp + 0x21], rax
mov qword [rsp + 0x29], rax
mov qword [rsp + 0x31], rax
mov dword [rsp + 0x39], eax
mov word [rsp + 0x3d], ax
mov byte [rsp + 0x20], dil
mov byte [rsp + 0x3f], al
call fcn.1400143bc
test eax, eax
jne 0x1400057a7
mov ecx, 1
jmp 0x14000594d
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x746f6f42
mov byte [rsp + 0x24], dil
call fcn.1400078f0
test rax, rax
jne 0x14000579d
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x736e6977
mov dword [rsp + 0x24], 0x7378
call fcn.1400078f0
test rax, rax
jne 0x14000579d
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x6f636552
mov dword [rsp + 0x24], 0x79726576
mov byte [rsp + 0x28], dil
call fcn.1400078f0
test rax, rax
jne 0x14000579d
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x79636552
mov dword [rsp + 0x24], 0x656c63
call fcn.1400078f0
test rax, rax
jne 0x14000579d
mov eax, WSAGetLastError
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x74737953
mov dword [rsp + 0x24], 0x56206d65
mov dword [rsp + 0x28], 0x6d756c6f
mov dword [rsp + 0x2c], 0x6e492065
mov dword [rsp + 0x30], 0x6d726f66
mov dword [rsp + 0x34], 0x6f697461
mov word [rsp + 0x38], ax
call fcn.1400078f0
test rax, rax
jne 0x14000579d
mov eax, reloc.WS2_32.dll_WSAStartup
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x6576694c
mov dword [rsp + 0x24], 0x6e72654b
mov dword [rsp + 0x28], 0x65526c65
mov dword [rsp + 0x2c], 0x74726f70
mov word [rsp + 0x30], ax
call fcn.1400078f0
test rax, rax
jne 0x14000579d
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x696e694d
mov dword [rsp + 0x24], 0x706d7564
mov byte [rsp + 0x28], dil
call fcn.1400078f0
test rax, rax
jne 0x14000579d
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x66657250
mov dword [rsp + 0x24], 0x68637465
mov byte [rsp + 0x28], dil
call fcn.1400078f0
test rax, rax
jne 0x14000579d
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x7774654e
mov dword [rsp + 0x24], 0x4c6b726f
mov dword [rsp + 0x28], 0x747369
call fcn.1400078f0
mov ecx, 1
test rax, rax
cmovne edi, ecx
mov ecx, edi
mov eax, ecx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140013680
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140006310
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1401507e0]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor eax, eax
mov byte [rsp + 0x30], 0
mov edi, edx
mov qword [r11 - 0x67], rax
mov qword [r11 - 0x5f], rax
mov qword [r11 - 0x57], rax
mov qword [r11 - 0x4f], rax
mov qword [r11 - 0x47], rax
mov qword [r11 - 0x3f], rax
mov qword [r11 - 0x37], rax
mov rbx, rcx
lea edx, [rax + 0x40]
lea rcx, [r11 - 0x68]
mov esi, r8d
mov dword [rsp + 0x69], eax
mov word [rsp + 0x6d], ax
mov byte [rsp + 0x6f], al
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, dword [rsp + 0xc0]
lea rcx, [rsp + 0x30]
mov r9d, esi
mov dword [rsp + 0x28], eax
mov r8d, edi
mov rdx, rbx
mov dword [rsp + 0x20], 0
mov byte [rsp + 0x33], 0
call fcn.140005970
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140013680
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x140006ba0
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x1401507e0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rdx
lea rcx, [rsp + 0x21]
mov r8d, 0x103
xor edx, edx
mov byte [rsp + 0x20], 0
call fcn.140013580
lea rdx, str.SystemCurrentControlSetServices_s
lea rcx, [rsp + 0x20]
mov r8, rbx
call fcn.140014060
lea r8, str.Type
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov rcx, 0xffffffff80000002
call fcn.140004dc0
lea r8, str.ErrorControl
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov rcx, 0xffffffff80000002
call fcn.140004dc0
lea r8, str.Start
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov rcx, 0xffffffff80000002
call fcn.140004dc0
lea r8, str.ImagePath
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov rcx, 0xffffffff80000002
call fcn.140004dc0
lea rdx, str.SystemCurrentControlSetServices_sParameters
lea rcx, [rsp + 0x20]
mov r8, rbx
call fcn.140014060
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, str.SystemCurrentControlSetServices_sSecurity
lea rcx, [rsp + 0x20]
mov r8, rbx
call fcn.140014060
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, str.SystemCurrentControlSetServices_sEnum
lea rcx, [rsp + 0x20]
mov r8, rbx
call fcn.140014060
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, str.SystemCurrentControlSetServices_s
lea rcx, [rsp + 0x20]
mov r8, rbx
call fcn.140014060
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140013680
add rsp, 0x140
pop rbx
ret
Function at 0x140006d10
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
push r13
push r14
sub rsp, 0x170
mov rax, qword [0x1401507e0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r14, rcx
mov r13, rdx
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x40], 0
call fcn.140013580
xor r11d, r11d
xor eax, eax
lea rcx, str.ntdll.dll
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
jne 0x140006d87
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140006eca
lea rdx, str.NtLoadDriver
mov rcx, rax
mov qword [rsp + 0x168], rdi
call fcn.1400034c4
mov rdi, rax
test rax, rax
jne 0x140006db3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140006ec2
lea rdx, str.RtlAnsiStringToUnicodeString
mov rcx, rbx
mov qword [rsp + 0x1a0], rbp
call fcn.1400034c4
mov rbp, rax
test rax, rax
jne 0x140006ddf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140006eba
lea rdx, str.RtlInitAnsiString
mov rcx, rbx
mov qword [rsp + 0x160], r12
call fcn.1400034c4
mov r12, rax
test rax, rax
jne 0x140006e0b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140006eb2
lea rdx, str.RtlFreeUnicodeString
mov rcx, rbx
mov qword [rsp + 0x1a8], rsi
call fcn.1400034c4
mov rsi, rax
test rax, rax
jne 0x140006e34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140006eaa
mov rdx, r13
mov rcx, r14
call fcn.140006aa0
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_s
lea rcx, [rsp + 0x40]
mov r8, r13
call fcn.140014060
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call r12
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
mov r8b, 1
call rbp
mov ebx, eax
test eax, eax
jne 0x140006eaa
lea rcx, str.SeLoadDriverPrivilege
call fcn.1400068a0
lea rcx, [rsp + 0x20]
call rdi
mov ebx, eax
test eax, eax
je 0x140006ea3
lea rcx, str.SeDebugPrivilege
call fcn.1400068a0
lea rcx, [rsp + 0x20]
call rdi
mov ebx, eax
lea rcx, [rsp + 0x20]
call rsi
mov rsi, qword [rsp + 0x1a8]
mov r12, qword [rsp + 0x160]
mov rbp, qword [rsp + 0x1a0]
mov rdi, qword [rsp + 0x168]
mov rdx, r13
mov rcx, r14
call fcn.140006ba0
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140013680
add rsp, 0x170
pop r14
pop r13
pop rbx
ret

Function at 0x140007210
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1401507e0]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
lea r8, [rsp + 0x20]
xor edx, edx
mov qword [rsp + 0x21], rax
mov qword [rsp + 0x29], rax
mov ecx, 0x100000
mov dword [rsp + 0x20], 0x6f6c7055
mov dword [rsp + 0x24], 0x6f546461
mov dword [rsp + 0x28], 0x6f206c6f
mov dword [rsp + 0x2c], 0x796c6e
mov dword [rsp + 0x31], eax
mov word [rsp + 0x35], ax
mov byte [rsp + 0x37], al
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
test rax, rax
je 0x140007293
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140013680
add rsp, 0x48
ret
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140013680
add rsp, 0x48
ret