joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800029a0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x1800029d2
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x1800029d2
nop word cs:[rax + rax]
jmp 0x1800029d0
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002aa8
mov rsi, r10
test r8b, r8b
je 0x180002ac0
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002a40
test r9b, r9b
je 0x180002ad0
sub rsi, rcx
je 0x180002aa4
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002aa0
test ebp, ebp
jne 0x180002aa0
add rbx, 1
cmp rsi, rbx
jne 0x180002a60
jmp 0x180002aa4
test ebp, ebp
jne 0x180002a2c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002ac0
jmp 0x180002ad0
Function at 0x140003070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
mov r12d, ecx
movzx r13d, dx
lea rcx, [0x14002bc10]
xor r14d, r14d
xor edx, edx
mov rbx, r14
call fcn.14000ea0c
lea ebp, [r14 + 1]
test rax, rax
mov rsi, rax
je 0x140003186
nop
nop
test rbx, rbx
jne 0x140003186
mov eax, r12d
lea edx, [rbx + 6]
movzx r9d, r13w
shr eax, 4
mov rcx, rsi
add ax, 1
movzx r8d, ax
call qword [sym.imp.KERNEL32.dll_FindResourceExA]
test rax, rax
mov rdi, rax
jne 0x1400030f4
mov rbx, r14
jmp 0x140003169
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x14000310a
mov rbx, r14
jmp 0x140003164
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rbx, rax
jne 0x140003120
mov rbx, r14
jmp 0x140003164
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, r12d
mov r11d, eax
add r11, rbx
and ecx, 0xf
jbe 0x140003152
nop
nop
cmp rbx, r11
jae 0x140003157
add ecx, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x140003140
cmp rbx, r11
jb 0x14000315c
mov rbx, r14
jmp 0x140003164
cmp word [rbx], r14w
cmove rbx, r14
test rbx, rbx
jne 0x1400031a7
lea rcx, [0x14002bc10]
mov edx, ebp
call fcn.14000ea0c
add ebp, 1
test rax, rax
mov rsi, rax
jne 0x1400030c0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
mov rax, rsi
jmp 0x140003188
Function at 0x140004070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov eax, r8d
mov rsi, rdx
mov ebx, r8d
shr eax, 4
mov rbp, rcx
mov r8d, 6
add ax, 1
mov rcx, rsi
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
mov r12, rax
je 0x1400041d9
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400041d9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdi, rax
je 0x1400041d9
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rdi
and ebx, 0xf
jbe 0x14000410a
cmp rdi, r11
jae 0x1400041d9
add ebx, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x1400040f4
cmp rdi, r11
jae 0x1400041d9
movzx eax, word [rdi]
test ax, ax
je 0x1400041d9
mov qword [rsp + 0x60], r13
movzx ebx, ax
call qword [0x14002a430]
xor r13d, r13d
lea r12, [rdi + 2]
mov r9d, ebx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov ecx, eax
mov r8, r12
xor edx, edx
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rbp]
mov edx, 1
movsxd rsi, eax
sub edx, dword [rcx - 8]
mov ecx, dword [rcx - 0xc]
sub ecx, esi
or edx, ecx
jge 0x14000417a
mov edx, esi
mov rcx, rbp
call fcn.140003800
mov rbx, qword [rbp]
movzx edi, word [rdi]
call qword [0x14002a430]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov ecx, eax
mov r9d, edi
mov r8, r12
xor edx, edx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test esi, esi
mov r13, qword [rsp + 0x60]
js 0x1400041ce
mov rcx, qword [rbp]
cmp esi, dword [rcx - 0xc]
jg 0x1400041ce
mov dword [rcx - 0x10], esi
mov rcx, qword [rbp]
mov eax, 1
mov byte [rsi + rcx], 0
jmp 0x1400041db
mov ecx, 0x80070057
call fcn.140003050
int3
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
Function at 0x1400058a0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x38
ret

Function at 0x1400058e0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
sub rsp, 0x30
test r8, r8
mov rsi, r8
mov rbp, rdx
mov r12, rcx
jne 0x140005909
mov ecx, 0x80004005
call fcn.140003050
int3
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
xor edi, edi
mov rbx, r8
nop
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov ecx, eax
add edi, eax
add rbx, rcx
cmp eax, 1
jne 0x140005920
mov rcx, qword [r12]
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov ebp, dword [rsp + 0x50]

Function at 0x140005ec0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x14002a528]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, rcx
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
xor ebp, ebp
mov r9d, 0x2001f
xor r8d, r8d
mov rsi, rdx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x50], rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x40]
test eax, eax
mov ebx, eax
jne 0x140005ff9
test rcx, rcx
mov ebx, ebp
je 0x140005f2d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
test ebx, ebx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x40], rcx
jne 0x140005ff9
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x48], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x140005fd1
nop
nop
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140005ec0
mov rcx, qword [rsp + 0x40]
test eax, eax
mov ebx, eax
jne 0x140005ff9
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x48], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x140005f80
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140005fe6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov rcx, qword [rdi]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
test rcx, rcx
je 0x140006004
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400105b0
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x170
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400077e0
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x2d8
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov rax, qword [0x14002a528]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0x7c], r9d
mov qword [rsp + 0x80], r8
mov rbp, rdx
mov rax, rcx
mov qword [rsp + 0x70], rcx
xor edi, edi
mov qword [rsp + 0x60], rdi
mov ecx, dword [rsp + 0x320]
mov dword [rsp + 0x90], ecx
mov rcx, rax
call fcn.140005b00
mov esi, eax
invalid
Function at 0x14000ab60
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov r8, qword [rcx + 0x10]
mov rcx, qword [rcx]
lea rdx, str.open
xor r9d, r9d
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
add rsp, 0x38
ret

Function at 0x14000aca0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov rax, qword [rsp + 0x60]
lea rdx, str.open
xor r9d, r9d
mov dword [rax], 1
mov r8, qword [rcx + 0x58]
mov rcx, qword [rcx + 0x48]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
add rsp, 0x38
ret

Function at 0x14000ace0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x14002a528]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rcx
mov ecx, 1
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x14000ae10
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000ae10
mov ecx, 1
mov qword [rsp + 0x98], rbx
call qword [sym.imp.USER32.dll_GetClipboardData]
test rax, rax
mov rbx, rax
je 0x14000ae02
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14000ae02
mov qword [rsp + 0x48], 5
lea rcx, [rsp + 0x68]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 5
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
lea rdx, str._4s__4s__4s__4s
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x20], rcx
mov r9d, 5
mov rcx, rax
call fcn.140011280
cmp eax, 4
jne 0x14000adf9
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x60]
mov edx, 0x400
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x50]
mov edx, 0x401
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x58]
mov edx, 0x402
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x68]
mov edx, 0x403
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rsp + 0x98]
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400105b0
add rsp, 0x80
pop rdi
ret
Function at 0x14000cb30
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rdi, rcx
xor esi, esi
mov dword [rcx], esi
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x50]
call fcn.140011730
mov qword [rsp + 0x58], rsi
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareQDFV
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14000cd6e
mov rbx, qword [rsp + 0x58]
mov dword [rsp + 0x90], 8
mov qword [rsp + 0xa8], rsi
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x98]
xor r8d, r8d
lea rdx, [0x140022028]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000ccf2
cmp dword [rsp + 0x98], 3
jne 0x14000cd5c
mov r8, qword [rsp + 0x50]
mov rcx, r8
mov r9, qword [rsp + 0xa8]
sub rcx, r9
movabs rax, 0x1845c8a0ce512957
imul rcx
sar rdx, 0xd
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 0xf
ja 0x14000cc5b
mov eax, 0xf
sub eax, edx
mov dword [rdi], eax
test rbx, rbx
je 0x14000cc54
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x14000cd74
cmp r8, r9
jge 0x14000cc75
test rbx, rbx
je 0x14000cc6e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x14000cd74
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x98]
xor r8d, r8d
lea rdx, [0x140021ffc]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000ccdc
cmp dword [rsp + 0x98], 3
jne 0x14000ccdc
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0x50], rax
jge 0x14000ccdc
test rbx, rbx
je 0x14000ccd5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x14000cd74
test rbx, rbx
je 0x14000cceb
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov al, 1
jmp 0x14000cd74
cmp eax, 2
jne 0x14000cd5c
lea rcx, [rsp + 0xa8]
call fcn.140011730
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, [0x140022028]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test rbx, rbx
je 0x14000cd43
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
mov eax, 0xf
mov dword [rdi], eax
test rbx, rbx
je 0x14000cd58
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x14000cd74
test rbx, rbx
je 0x14000cd6a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x14000cd74
mov al, 1
jmp 0x14000cd74
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000cfb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rdi, rcx
xor ebx, ebx
mov qword [r11 + 0x18], rbx
lea rax, [r11 + 0x10]
mov qword [r11 - 0x38], rax
lea rax, [r11 + 0x18]
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x48], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareQDFV
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14000d138
mov rsi, qword [rsp + 0x90]
mov qword [rsp + 0x98], rsi
mov dword [rsp + 0x90], ebx
mov dword [rsp + 0x88], ebx
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str.QDFXZ
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000d126
cmp dword [rsp + 0x88], 3
jne 0x14000d126
movsxd rbp, dword [rsp + 0x90]
lea eax, [rbp - 1]
movsxd rdx, eax
mov rcx, rdi
call fcn.14000ced0
cmp qword [rdi + 0x20], 0x10
jb 0x14000d096
mov rdi, qword [rdi + 8]
jmp 0x14000d09a
add rdi, 8
mov dword [rsp + 0x90], ebp
mov dword [rsp + 0x88], ebx
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str.QDFXZ
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000d114
cmp dword [rsp + 0x88], 3
jne 0x14000d114
test rdi, rdi
je 0x14000d102
test ebp, ebp
jle 0x14000d102
nop
movzx eax, byte [rbx + rdi]
not al
mov byte [rbx + rdi], al
add rbx, 1
cmp rbx, rbp
jl 0x14000d0f0
test rsi, rsi
je 0x14000d110
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x14000d13a
test rsi, rsi
je 0x14000d122
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x14000d13a
test rsi, rsi
je 0x14000d134
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x14000d13a
xor al, al
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000d920
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
sub rsp, 0x58
mov rsi, rdx
mov rbp, rcx
call fcn.14000d6c0
test al, al
jne 0x14000d93f
xor al, al
add rsp, 0x58
pop rsi
pop rbp
ret
xor ecx, ecx
lea rax, [rsp + 0x80]
lea rdx, str.SoftwareQDFV
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14000d936
mov qword [rsp + 0x70], rbx
mov rbx, qword [rsp + 0x88]
mov rcx, rbp
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x50], r12
call fcn.1400116a0
test rax, rax
mov r12, rax
je 0x14000dab5
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r12
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx - 1]
add rdi, 1
je 0x14000d9f3
mov rdx, r12
sub rbp, r12
mov rcx, rdi
nop
movzx eax, byte [rdx + rbp]
add rdx, 1
sub rcx, 1
not al
mov byte [rdx - 1], al
jne 0x14000d9e0
lea rdx, str.QDFXZ
mov r9d, 3
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, r12
mov edi, eax
call fcn.1400105d0
test edi, edi
jne 0x14000dab5
mov rcx, rsi
call fcn.1400116a0
test rax, rax
mov rbp, rax
je 0x14000dab5
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx - 1]
add rdi, 1
je 0x14000da73
mov rdx, rbp
sub rsi, rbp
mov rcx, rdi
nop
movzx eax, byte [rsi + rdx]
add rdx, 1
sub rcx, 1
not al
mov byte [rdx - 1], al
jne 0x14000da60
lea rdx, str.QDFXZA
mov r9d, 3
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, rbp
mov edi, eax
call fcn.1400105d0
test edi, edi
jne 0x14000dab5
test rbx, rbx
je 0x14000dab1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x14000dac5
test rbx, rbx
je 0x14000dac3
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r12, qword [rsp + 0x50]
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14000dc50
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x60]
mov rsi, rcx
mov dword [rax], 1
mov rbx, qword [rcx + 0x48]
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
cmp dword [rbx - 8], 0
mov rcx, rax
jl 0x14000dc95
cmp rax, qword [rbx - 0x18]
jne 0x14000dc95
lea rdi, [rbx - 0x18]
lock add dword [rbx - 8], 1
jmp 0x14000dccf
mov rax, qword [rax]
mov edx, dword [rbx - 0x10]
mov r8d, 1
call qword [rax]
test rax, rax
mov rdi, rax
jne 0x14000dcb1
call fcn.1400033c0
int3
mov eax, dword [rbx - 0x10]
lea rcx, [rdi + 0x18]
mov r8, rbx
mov dword [rdi + 8], eax
mov eax, dword [rbx - 0x10]
add eax, 1
movsxd rdx, eax
mov r9, rdx
call fcn.14000f800
mov rcx, qword [rsi + 8]
lea r8, [rdi + 0x18]
lea rdx, str.open
xor r9d, r9d
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rdx, rdi
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000dd13
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x14000e140
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
mov dword [rcx + 0x14], eax
mov dword [rcx + 0x18], eax
mov dword [rcx + 0x5c], eax
mov dword [rcx + 0x60], eax
mov dword [rcx + 0x64], eax
ret

Function at 0x14000e680
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
movsxd rax, dword [rcx + 0x5c]
mov rbx, rcx
mov byte [rax + rcx + 0x1c], 0x80
add dword [rcx + 0x5c], 1
cmp eax, 0x37
mov eax, dword [rcx + 0x5c]
jle 0x14000e6e5
cmp eax, 0x40
jge 0x14000e6c3
nop
nop
nop
nop
cdqe
mov byte [rax + rcx + 0x1c], 0
add dword [rcx + 0x5c], 1
mov eax, dword [rcx + 0x5c]
cmp eax, 0x40
jl 0x14000e6b0
call fcn.14000e180
cmp dword [rbx + 0x5c], 0x38
jge 0x14000e703
nop
movsxd rax, dword [rbx + 0x5c]
mov byte [rax + rbx + 0x1c], 0
add dword [rbx + 0x5c], 1
cmp dword [rbx + 0x5c], 0x38
jl 0x14000e6d0
jmp 0x14000e703
cmp eax, 0x38
jge 0x14000e703
nop
nop
cdqe
mov byte [rax + rcx + 0x1c], 0
add dword [rcx + 0x5c], 1
mov eax, dword [rcx + 0x5c]
cmp eax, 0x38
jl 0x14000e6f0
movzx eax, byte [rbx + 0x1b]
mov rcx, rbx
mov byte [rbx + 0x54], al
movzx eax, byte [rbx + 0x1a]
mov byte [rbx + 0x55], al
movzx eax, byte [rbx + 0x19]
mov byte [rbx + 0x56], al
movzx eax, byte [rbx + 0x18]
mov byte [rbx + 0x57], al
movzx eax, byte [rbx + 0x17]
mov byte [rbx + 0x58], al
movzx eax, byte [rbx + 0x16]
mov byte [rbx + 0x59], al
movzx eax, byte [rbx + 0x15]
mov byte [rbx + 0x5a], al
movzx eax, byte [rbx + 0x14]
mov byte [rbx + 0x5b], al
add rsp, 0x20
pop rbx
jmp fcn.14000e180
Function at 0x14000ea8c
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x14002a528]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.140010da0
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x140002000]
mov esi, 0x94
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call fcn.140010da0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x14000eb1f
cmp dword [rsp + 0x24], 5
jb 0x14000eb39
jmp 0x14000eb35
cmp dword [rsp + 0x30], esi
jne 0x14000eb39
cmp dword [rsp + 0x24], 4
ja 0x14000eb35
jne 0x14000eb39
cmp dword [rsp + 0x28], 0
jbe 0x14000eb39
mov byte [rbx + 0x18], sil
lea rax, [0x140022168]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.140005450
movzx ecx, byte [0x14002bb28]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x14002bb28], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400105b0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14000eea0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x14002bcd0]
test rcx, rcx
jne 0x14000edf7
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x14000edf0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rdi, rax
je 0x14000ee22
and qword [rax], 0
and qword [rax + 8], 0
xor eax, eax
lock cmpxchg qword [rbx + 0x40], rdi
je 0x14000edec
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbx + 0x40]
mov qword [0x14002bcd0], rcx
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x14000ee95
mov edx, 0x1000
lea r9d, [rax + 0x40]
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
mov rbx, rax
jne 0x14000ee45
xor edx, edx
lea r9, [rsp + 0x30]
mov ecx, 0xc0000017
lea r8d, [rdx + 1]
mov qword [rsp + 0x30], 0x20
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [rax]
mov rcx, qword [0x14002bcd0]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
mov rdi, rax
je 0x14000ee72
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x14000ee95
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x14002bcd0]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x14000ee79
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
jmp 0x14000ed7c