joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2d9e3c0b10
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x2d9e419e50]
mov rbx, qword [rax]
cmp rbx, rax
je 0x2d9e3c0b9d
mov qword [rsp + 0x40], rsi
xor esi, esi
mov qword [rsp + 0x48], rdi
mov rdi, qword [rbx + 0x10]
mov rax, qword [rdi]
test rax, rax
je 0x2d9e3c0b87
cmp dword [rdi + 0x34], esi
je 0x2d9e3c0b87
cmp dword [rax + 4], esi
jne 0x2d9e3c0b51
mov rcx, rdi
call fcn.2d9e3c0890
jmp 0x2d9e3c0b87
cmp dword [rdi + 0x40], esi
jne 0x2d9e3c0b87
cmp dword [rdi + 0x44], esi
jne 0x2d9e3c0b87
cmp qword [rdi + 0x28], rsi
je 0x2d9e3c0b87
cmp dword [rax + 0x24], esi
jbe 0x2d9e3c0b87
mov qword [rsp + 0x28], rsi
lea r8, [0x2d9e3c0740]
mov r9, rdi
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x38], rax
mov rbx, qword [rbx]
cmp rbx, qword [0x2d9e419e50]
jne 0x2d9e3c0b31
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
Function at 0x2d9e3c0bd0
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x4f0
mov rax, qword [0x2d9e415008]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov edi, ecx
lea rdx, [rsp + 0x70]
lea rcx, [0x2d9e408e34]
call fcn.2d9e3c9800
lea r8, [rsp + 0x70]
lea rdx, [0x2d9e407f00]
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x58]
xor esi, esi
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x2d0]
mov rcx, 0xffffffff80000002
mov ebx, esi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x2d9e3c0d67
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0xc0]
mov qword [rsp + 0x30], rsi
xor edx, edx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x50], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x2d9e3c0d5c
inc ebx
cmp dword [rsp + 0x50], 0x10
jne 0x2d9e3c0d1e
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rsi
lea rdx, [rsp + 0xc0]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0x20106
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x68], rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x2d9e3c0d1e
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 4
lea rdx, [0x2d9e407fc8]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0xc0]
mov qword [rsp + 0x30], rsi
mov edx, ebx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x50], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x2d9e3c0c93
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x2d9e3c0d72
call fcn.2d9e3c0b10
jmp 0x2d9e3c0d96
mov rax, qword [0x2d9e419e50]
mov rbx, qword [rax]
cmp rbx, rax
je 0x2d9e3c0d96
mov rcx, qword [rbx + 0x10]
call fcn.2d9e3c0a30
mov rbx, qword [rbx]
cmp rbx, qword [0x2d9e419e50]
jne 0x2d9e3c0d81
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.2d9e3da7d0
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x2d9e3c1110
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x2d0
mov rax, qword [0x2d9e415008]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov esi, edx
mov rbx, rcx
cmp edx, 0x5c
jae 0x2d9e3c1140
xor eax, eax
jmp 0x2d9e3c12dc
mov ecx, dword [rcx + 0x24]
add ecx, dword [rbx + 0x20]
mov eax, dword [rbx + 0x1c]
add eax, 0x5c
add ecx, eax
cmp esi, ecx
jne 0x2d9e3c1139
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x2f0], rdi
lea rcx, [0x2d9e408e34]
call fcn.2d9e3c9800
lea r9, [rbx + 0x28]
lea r8, [rsp + 0x60]
lea rdx, [0x2d9e408e40]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov edx, esi
mov rcx, rbx
call fcn.2d9e3c8bf0
xor edi, edi
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0xb0]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x20106
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x50], rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x2d9e3c1217
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
lea r9d, [rdi + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x2d9e407fc8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0xb0]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x20106
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x50], rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x2d9e3c128e
mov rcx, qword [rsp + 0x50]
lea r9d, [rax + 3]
mov dword [rsp + 0x28], esi
lea rdx, [0x2d9e407f34]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
sete dil
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 1
jbe 0x2d9e3c12d2
movzx eax, byte [rbx]
lea ecx, [rsi - 1]
xor byte [rcx + rbx], al
add ecx, 0xffffffff
je 0x2d9e3c12c5
mov r8d, ecx
lea r9d, [rcx + 1]
add r8, rbx
nop dword [rax + rax]
movzx edx, byte [r9 + rbx]
lea r9d, [r9 - 1]
xor byte [r8], dl
lea r8, [r8 - 1]
add ecx, 0xffffffff
jne 0x2d9e3c12b0
mov r8d, ecx
inc ecx
movzx ecx, byte [rcx + rbx]
xor byte [r8 + rbx], cl
mov eax, edi
mov rdi, qword [rsp + 0x2f0]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.2d9e3da7d0
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2d0
pop rsi
ret
Function at 0x2d9e3c1570
Capabilities:
Delete registry key

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x2b0
mov rax, qword [0x2d9e415008]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rdx, qword [0x2d9e419e50]
mov rdi, rcx
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov ebp, r8d
mov rbx, qword [rdx]
cmp rbx, rdx
je 0x2d9e3c1638
nop
mov rax, qword [rbx + 0x10]
mov rax, qword [rax]
mov rcx, qword [rax + 0x28]
cmp rcx, qword [rdi]
jne 0x2d9e3c15d3
mov rcx, qword [rax + 0x30]
cmp rcx, qword [rdi + 8]
jne 0x2d9e3c15d3
movzx ecx, byte [rax + 0x38]
cmp cl, byte [rdi + 0x10]
je 0x2d9e3c15dd
mov rbx, qword [rbx]
cmp rbx, rdx
jne 0x2d9e3c15b0
jmp 0x2d9e3c1638
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x2d8], rsi
call fcn.2d9e3c0a30
mov rsi, qword [rbx + 0x10]
test rsi, rsi
je 0x2d9e3c160c
mov rcx, rsi
call fcn.2d9e3c0640
mov edx, 0x50
mov rcx, rsi
call fcn.2d9e3da7f4
mov rdx, qword [rbx + 8]
mov rcx, rbx
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
dec qword [0x2d9e419e58]
call fcn.2d9e3da86c
mov rsi, qword [rsp + 0x2d8]
mov rbx, qword [rsp + 0x2c8]
test ebp, ebp
mov rbp, qword [rsp + 0x2d0]
je 0x2d9e3c16d0
lea rdx, [rsp + 0x40]
lea rcx, [0x2d9e408e34]
call fcn.2d9e3c9800
mov r9, rdi
lea r8, [rsp + 0x40]
lea rdx, [0x2d9e408e40]
lea rcx, [rsp + 0x90]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov r9d, 0x20106
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x90]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x2d9e3c16d0
mov rcx, qword [rsp + 0x30]
lea rdx, [0x2d9e406058]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.2d9e3da7d0
add rsp, 0x2b0
pop rdi
ret
Function at 0x2d9e3c3260
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rsi, r9
mov qword [rax - 0x10], rbx
mov rbp, r8
mov dword [rax - 0x18], ebx
mov r9d, 0x103
mov dword [rax + 0x28], ebx
lea rax, [rax - 0x10]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edi, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x2d9e3c3383
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x2d9e3c3383
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2d9e3c3383
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x2d9e3c330e
mov ecx, eax
call fcn.2d9e3da838
mov rbx, rax
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2d9e3c3383
mov eax, dword [rsp + 0x70]
xor r8d, r8d
mov r9d, dword [rsp + 0x30]
mov rdx, rsi
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x2d9e3c3383
mov rcx, qword [rsp + 0x38]
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x2d9e3c3375
lea edi, [rax + 1]
jmp 0x2d9e3c3383
mov rcx, qword [rsp + 0x38]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x2d9e3c3393
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x2d9e3c33a0
mov rcx, rbx
call fcn.2d9e3da7f4
mov rbx, qword [rsp + 0x50]
mov eax, edi
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x2d9e3c33c0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x60
xor ebx, ebx
lea rax, [r11 - 0x18]
mov qword [r11 - 0x28], rbx
mov edi, r9d
mov qword [r11 - 0x30], rax
mov rsi, r8
mov qword [r11 - 0x38], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x20106
xor r8d, r8d
mov dword [rsp + 0x20], ebx
mov qword [r11 - 0x18], rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x2d9e3c341a
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov eax, dword [rsp + 0x98]
mov r9d, edi
mov rcx, qword [rsp + 0x90]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rsi
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
sete bl
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x2d9e3c4620
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov qword [rcx + 8], rdx
lea rax, [0x2d9e408cf8]
mov qword [rcx], rax
xor r9d, r9d
mov qword [rdx + 0x68], rcx
mov rdi, rcx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x10], rax
lea rcx, [rdi + 0x40]
lea rax, [0x2d9e409360]
mov qword [rdi], rax
call fcn.2d9e3c44a0
mov ecx, 0x1d8
mov byte [rdi + 0x24], 2
mov dword [rdi + 0x2c], 0x20
call fcn.2d9e3da7fc
xor r8d, r8d
mov rcx, rax
lea edx, [r8 + 0x20]
call fcn.2d9e3c5190
mov qword [rdi + 0x148], rax
xor ebx, ebx
movabs rax, 0x3ff0000000000000
mov byte [rdi + 0x18], 1
mov qword [rdi + 0x150], rax
xor r9d, r9d
lea rax, [0x2d9e3c4d80]
mov qword [rdi + 0x1c], rbx
xor r8d, r8d
mov qword [rsp + 0x30], rax
xor edx, edx
mov dword [rdi + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x40], 1
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rbx
lea r8, [0x2d9e3c8af0]
mov qword [rsp + 0x48], rax
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call fcn.2d9e3e4db4
mov rcx, qword [rsp + 0x48]
or edx, 0xffffffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x30], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x2d9e3c4dc0
Capabilities:
Log keystrokes

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x30
mov r9d, r8d
movabs rax, 0x2492492492492493
mov rsi, rdx
mov ebx, r8d
mul r9
mov rbp, rcx
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 4
imul rax, rbx, 0x1c
sub r9, rax
jne 0x2d9e3c4fb7
mov qword [rsp + 0x50], rdi
call fcn.2d9e3c8d10
movsxd rdi, ebx
test ebx, ebx
jle 0x2d9e3c4fb2
mov qword [rsp + 0x58], r14
lea rbx, [rsi + 8]
xor esi, esi
lea r14, [0x2d9e3b0000]
mov eax, dword [rbx - 4]
add eax, 0xfffffe00
cmp eax, 8
ja 0x2d9e3c4e87
movzx eax, word [rbx + 4]
movsd xmm1, qword [rbp + 0x150]
movd xmm0, eax
mov eax, dword [rbx + 4]
cvtdq2pd xmm0, xmm0
shr rax, 0x10
movzx eax, ax
divsd xmm0, xmm1
cvttsd2si ecx, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov dword [rsp + 0x68], ecx
divsd xmm0, xmm1
cvttsd2si edx, xmm0
mov dword [rsp + 0x6c], edx
call qword [sym.imp.USER32.dll_SetCursorPos]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_WindowFromPoint]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [rbx - 4]
cmp eax, 0x201
ja 0x2d9e3c4efa
je 0x2d9e3c4eee
sub eax, 0x100
je 0x2d9e3c4ece
sub eax, 1
je 0x2d9e3c4ead
sub eax, 3
je 0x2d9e3c4ece
cmp eax, 1
jne case.0x2d9e3c4f13.521
mov ecx, dword [rbx]
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx ecx, byte [rbx]
xor r9d, r9d
mov edx, eax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
jmp case.0x2d9e3c4f13.521
mov ecx, dword [rbx]
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx ecx, byte [rbx]
xor r9d, r9d
mov edx, eax
xor r8d, r8d
call qword [sym.imp.USER32.dll_keybd_event]
jmp case.0x2d9e3c4f13.521
xor r9d, r9d
lea ecx, [r9 + 2]
jmp 0x2d9e3c4f8f
add eax, 0xfffffdfe
cmp eax, 8
ja case.0x2d9e3c4f13.521
mov ecx, dword [r14 + rax*4 + 0x14fc0]
add rcx, r14
jmp rcx
xor r9d, r9d
lea ecx, [r9 + 4]
jmp 0x2d9e3c4f8f
xor r9d, r9d
lea ecx, [r9 + 8]
jmp 0x2d9e3c4f8f
xor r9d, r9d
lea ecx, [r9 + 0x10]
jmp 0x2d9e3c4f8f
xor edx, edx
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 6]
call qword [sym.imp.USER32.dll_mouse_event]
xor r9d, r9d
lea ecx, [r9 + 6]
jmp 0x2d9e3c4f8f
xor edx, edx
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 0x18]
call qword [sym.imp.USER32.dll_mouse_event]
xor r9d, r9d
lea ecx, [r9 + 0x18]
jmp 0x2d9e3c4f8f
xor r9d, r9d
lea ecx, [r9 + 0x20]
jmp 0x2d9e3c4f8f
xor r9d, r9d
lea ecx, [r9 + 0x40]
jmp 0x2d9e3c4f8f
mov eax, dword [rbx]
mov ecx, 0x800
shr rax, 0x10
movsx r9d, ax
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.USER32.dll_mouse_event]
add rbx, 0x1c
sub rdi, 1
jne 0x2d9e3c4e22
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
pop rbp
pop rbx
ret
Function at 0x2d9e3c70e0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
lea rax, [0x2d9e409480]
mov rbx, rcx
mov qword [rcx], rax
xor edx, edx
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x38]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbx + 0x40]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x50]
mov edx, 0x7d0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x2d9e3c7141
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x2d9e3c7150
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x2d9e3c715f
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x2d9e3c716e
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x10]
lea rax, [0x2d9e408cf8]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [0x2d9e408d18]
mov qword [rbx], rax
add rsp, 0x20
pop rbx
ret
Function at 0x2d9e3c77c0
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor edi, edi
mov esi, r8d
mov rbp, rdx
mov r14, rcx
test r8d, r8d
je 0x2d9e3c7811
mov r8d, dword [rdi + rbp]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 4
cmp edi, esi
jb 0x2d9e3c77e2
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.2d9e3c8150
mov rbx, rax
test rax, rax
je 0x2d9e3c784d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalSize]
mov rcx, qword [r14 + 8]
mov r9b, 0x3f
mov r8d, eax
mov rdx, rbx
call fcn.2d9e3b1ff0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x68], 0
lea rcx, [0x2d9e3c8730]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x2d9e3c78a3
mov byte [rax], 0x82
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x2d9e3c78a3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalSize]
mov rcx, qword [r14 + 8]
mov r9b, 0x3f
mov r8d, eax
mov rdx, rbx
call fcn.2d9e3b1ff0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x2d9e3c7a60
Capabilities:
Get disk information
Get process image filename

Disassembly:
push rbx
push r14
sub rsp, 0x268
mov rax, qword [0x2d9e415008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov r14, rdx
mov rbx, rcx
mov rcx, r14
xor edx, edx
mov r8d, 0x208
call fcn.2d9e3e3840
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.2d9e3e3840
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x2d9e3c7c6f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
test eax, eax
je 0x2d9e3c7c6f
lea edx, [rax + 1]
mov qword [rsp + 0x290], rbp
mov eax, 2
mov qword [rsp + 0x258], r12
mul rdx
mov r12, 0xffffffffffffffff
cmovo rax, r12
mov rcx, rax
call fcn.2d9e3da838
lea r8d, [rbx*2 + 2]
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.2d9e3e3840
mov rdx, rbp
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x2d9e3c7b34
mov rcx, rbp
call fcn.2d9e3da7f4
jmp 0x2d9e3c7c5f
mov eax, dword [0x2d9e4094ac]
mov ecx, 0x208
mov dword [rsp + 0x20], eax
movzx eax, word [0x2d9e4094b0]
mov qword [rsp + 0x260], rdi
mov word [rsp + 0x24], ax
mov qword [rsp + 0x250], r15
call fcn.2d9e3da838
mov rdi, rax
mov qword [rsp + 0x298], rsi
mov rbx, rbp
mov r15d, 1
nop dword [rax + rax]
movzx ecx, word [rbx]
mov r8d, 0x104
mov word [rsp + 0x20], cx
mov rdx, rdi
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x2d9e3c7be3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x2d9e3c7c37
mov rcx, rdi
call fcn.2d9e3da7f4
mov eax, 2
mul r15
cmovo rax, r12
mov rcx, rax
call fcn.2d9e3da838
mov r8d, r15d
lea rcx, [rsp + 0x20]
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x2d9e3c7c37
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x30]
mov esi, eax
call fcn.2d9e3e4ab4
test eax, eax
je 0x2d9e3c7c19
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x2d9e3c7c02
cmp word [rbx], ax
jne 0x2d9e3c7b80
jmp 0x2d9e3c7c37
lea r9, [rsp + 0x30]
mov rcx, r14
lea r9, [r9 + rsi*2]
lea r8, [rsp + 0x20]
lea rdx, [0x2d9e407a80]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, rbp
call fcn.2d9e3da7f4
mov rcx, rdi
call fcn.2d9e3da7f4
mov r15, qword [rsp + 0x250]
mov rdi, qword [rsp + 0x260]
mov rsi, qword [rsp + 0x298]
mov rbp, qword [rsp + 0x290]
mov r12, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.2d9e3da7d0
add rsp, 0x268
pop r14
pop rbx
ret
Function at 0x2d9e3c8b70
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
movzx eax, byte [rsp + 0x90]
xor edx, edx
mov qword [rsp + 0x30], r8
xor ecx, ecx
mov qword [rsp + 0x38], r9
xor r8d, r8d
xor r9d, r9d
mov byte [rsp + 0x40], al
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x30]
lea r8, [0x2d9e3c8af0]
xor edx, edx
xor eax, eax
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
call fcn.2d9e3e4db4
mov rcx, qword [rsp + 0x48]
or edx, 0xffffffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
add rsp, 0x50
pop rbx
ret

Function at 0x2d9e3c8bf0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rcx
cmp edx, 1
jbe 0x2d9e3c8cab
lea r9d, [rdx - 1]
xor r8d, r8d
test r9d, r9d
je 0x2d9e3c8ca3
cmp r9d, 0x20
jb 0x2d9e3c8c78
mov qword [rsp], rbx
mov r11d, 0x11
mov ebx, r9d
and ebx, 0xffffffe0
nop word [rax + rax]
movdqu xmm0, xmmword [r8 + r10]
lea eax, [r11 - 0x10]
movdqu xmm1, xmmword [rax + r10]
lea ecx, [r11 - 1]
mov eax, r11d
add r11d, 0x20
pxor xmm1, xmm0
movdqu xmmword [r8 + r10], xmm1
add r8d, 0x20
movdqu xmm1, xmmword [rax + r10]
movdqu xmm0, xmmword [rcx + r10]
pxor xmm1, xmm0
movdqu xmmword [rcx + r10], xmm1
cmp r8d, ebx
jb 0x2d9e3c8c30
mov rbx, qword [rsp]
cmp r8d, r9d
jae 0x2d9e3c8ca3
mov eax, r8d
lea edx, [r8 + 1]
add rax, r10
add rdx, r10
sub r9d, r8d
add r8d, r9d
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
xor byte [rax], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x2d9e3c8c90
movzx eax, byte [r10]
xor byte [r8 + r10], al
add rsp, 8
ret