joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1a580
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x70
mov rsi, rdx
mov rbp, rcx
lea rdx, [0x000116b8]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
xor eax, eax
xor r12d, r12d
mov qword [rsp + 0x22], rax
mov dword [rsp + 0x2a], eax
mov word [rsp + 0x2e], ax
movzx eax, word [rbp]
mov r8d, 0x70656472
xor ecx, ecx
add ax, word [rsi]
mov word [rsp + 0x20], r12w
add ax, 4
movzx edi, ax
mov word [rsp + 0x22], ax
mov rdx, rdi
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x1a5fc
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.0002b750
mov qword [rsp + 0x28], rbx
test rbx, rbx
jne 0x1a60d
xor al, al
jmp 0x1a6fb
lea rcx, [rsp + 0x20]
mov rdx, rbp
call qword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
lea rdx, [0x000116c4]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
lea rcx, [rsp + 0x20]
mov rdx, rsi
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
mov rax, qword [0x0002ece0]
xor r11d, r11d
mov rcx, qword [rax]
mov qword [rsp + 0x48], r11
lea rax, [rsp + 0x30]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], r11
mov qword [rsp + 0x58], r11
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x68], r11
lea rcx, [rsp + 0x90]
lea r8, [rsp + 0x40]
mov edx, 0xf003f
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x40], 0x30
mov dword [rsp + 0x58], 0x240
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jns 0x1a6b2
xor bl, bl
jmp 0x1a6e4
mov rcx, qword [rsp + 0x90]
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteValueKey]
mov rcx, qword [rsp + 0x90]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
cmp ebx, 0xc0000034
cmove ebx, r12d
test ebx, ebx
setns bl
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1a6f9
mov edx, 0x70656472
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov al, bl
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1b280
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
cmp byte [0x0002ed20], 0
mov r12, r8
mov esi, edx
mov rdi, rcx
jne 0x1b2b5
mov ebx, 0xc00000a3
jmp 0x1b44c
cmp edx, 0x148
jb 0x1b447
test rcx, rcx
je 0x1b447
mov ebp, 0x5a4d
cmp word [rcx], bp
jne 0x1b447
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1b447
mov ecx, 0x8664
cmp word [rax + rdi + 4], cx
jne 0x1b447
cmp word [rax + rdi + 0x5c], 1
jne 0x1b447
lea r8, [0x0002e450]
mov rcx, rdi
call fcn.00029500
test al, al
je 0x1b440
mov edx, esi
mov rcx, rdi
xor ebx, ebx
call fcn.00023710
mov rsi, rax
test rax, rax
je 0x1b44c
mov rcx, rax
call fcn.000238c0
test al, al
je 0x1b44c
mov rcx, rsi
call fcn.00023ca0
test al, al
je 0x1b44c
cmp word [rsi], bp
jne 0x1b44c
movsxd rbp, dword [rsi + 0x3c]
cmp dword [rbp + rsi], 0x4550
jne 0x1b44c
lea edx, [rbx + 0x68]
lea ecx, [rbx + 1]
mov r8d, 0x64727665
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
jne 0x1b390
mov ebx, 0xc000009a
jmp 0x1b407
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x68]
call fcn.0002b750
mov rdx, r12
mov rcx, rdi
call fcn.0001afb0
mov ebx, eax
test eax, eax
js 0x1b407
mov qword [rdi + 0x50], rsi
mov eax, dword [rbp + rsi + 0x28]
add rax, rsi
mov qword [rdi + 0x48], rax
mov rax, qword [0x0002ed28]
mov qword [rdi + 0x60], rax
mov rax, qword [0x0002eaf0]
mov qword [0x0002ed28], rdi
test rax, rax
jne 0x1b3f4
call fcn.0001aed0
mov rax, qword [0x0002eaf0]
test rax, rax
jne 0x1b3f4
mov ebx, 0xc0000001
jmp 0x1b407
lea rcx, [rdi + 0x18]
lea rdx, [0x0001b1d0]
call rax
mov ebx, eax
test eax, eax
jns 0x1b44c
test rdi, rdi
je 0x1b430
cmp qword [0x0002ed28], rdi
jne 0x1b420
mov rax, qword [rdi + 0x60]
mov qword [0x0002ed28], rax
mov rcx, rdi
mov qword [rdi + 0x50], 0
call fcn.0001b0e0
mov edx, 0x70656472
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x1b44c
mov ebx, 0xc0000022
jmp 0x1b44c
mov ebx, 0xc000000d
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r12
ret
Function at 0x1f3a0
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rsi, r8
test r8, r8
jne 0x1f3c5
mov ebx, 0xc000000d
mov dword [rsp + 0x40], ebx
jmp 0x1f53d
lea rdx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
js 0x1f53d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x1fffff
xor r8d, r8d
mov edx, 0x200
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x1f429
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1f53d
mov edx, 0x1000
mov ecx, 1
mov r8d, 0x62746c70
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
jne 0x1f46b
mov ebx, 0xc000009a
mov dword [rsp + 0x40], ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1f53d
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x1000
mov r8, rdi
mov edx, 0x1b
mov rcx, qword [rsp + 0x50]
call sub.ntoskrnl.exe_ZwQueryInformationProcess
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x1f4c0
mov edx, 0x62746c70
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1f53d
movzx edx, word [rdi]
add rdx, 2
mov word [rsi + 2], dx
movzx eax, word [rdi]
mov word [rsi], ax
movzx edx, dx
mov ecx, 1
mov r8d, 0x62746c70
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsi + 8], rax
test rax, rax
jne 0x1f4f9
mov ebx, 0xc000009a
mov dword [rsp + 0x40], ebx
jmp 0x1f519
movzx r8d, word [rsi + 2]
xor edx, edx
mov rcx, rax
call fcn.0002b750
movzx r8d, word [rsi]
mov rdx, qword [rdi + 8]
mov rcx, qword [rsi + 8]
call fcn.0002b3c0
mov edx, 0x62746c70
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1f541
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x23710
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
je 0x237f3
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x237f3
movsxd rdi, dword [rcx + 0x3c]
add rdi, rcx
cmp dword [rdi], 0x4550
jne 0x237f3
mov eax, dword [rdi + 0x50]
mov qword [rsp + 0x30], rbx
mov r8d, 0x70656472
cmp eax, edx
mov qword [rsp + 0x40], r12
cmovb eax, edx
xor ecx, ecx
mov edx, eax
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov r12, rax
test rax, rax
je 0x237ef
mov r8, rbx
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x38], rbp
call fcn.0002b750
mov r8d, dword [rdi + 0x114]
mov rdx, rsi
mov rcx, r12
call fcn.0002b3c0
xor ebp, ebp
cmp bp, word [rdi + 6]
jae 0x237d2
lea rbx, [rdi + 0x11c]
nop word [rax + rax]
mov edx, dword [rbx]
mov ecx, dword [rbx - 8]
mov r8d, dword [rbx - 4]
add rdx, rsi
add rcx, r12
call fcn.0002b3c0
movzx eax, word [rdi + 6]
inc ebp
add rbx, 0x28
cmp ebp, eax
jb 0x237b0
mov rbp, qword [rsp + 0x38]
mov rax, r12
mov rbx, qword [rsp + 0x30]
mov r12, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
xor eax, eax
jmp 0x237da
xor eax, eax
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x23ca0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x23cda
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x23cda
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x23cda
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x10b
je 0x23ce9
cmp ecx, 0x20b
je 0x23ce2
xor al, al
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rax + rbx + 0x30]
jmp 0x23ced
mov edx, dword [rax + rbx + 0x34]
cmp dword [rax + rbx], 0x4550
mov qword [rsp + 0x38], rdi
jne 0x23d8d
cmp dword [rax + rbx + 0x84], 5
jbe 0x23d8d
mov ecx, dword [rax + rbx + 0xb0]
test ecx, ecx
je 0x23d8d
mov edi, dword [rax + rbx + 0xb4]
mov r8, rcx
add r8, rbx
je 0x23d8d
test edi, edi
je 0x23d8d
mov qword [rsp + 0x30], rsi
mov rsi, rbx
sub rsi, rdx
nop word [rax + rax]
mov edx, dword [r8 + 4]
mov ecx, dword [r8]
add r8, 8
sub edi, edx
add edx, 0xfffffff8
add rcx, rbx
shr edx, 1
mov r9, rsi
call fcn.00023a60
mov r8, rax
test rax, rax
je 0x23d7b
test edi, edi
jne 0x23d40
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov al, 1
add rsp, 0x20
pop rbx
ret
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
xor al, al
add rsp, 0x20
pop rbx
ret
movzx eax, byte [rax + rbx + 0x16]
mov rdi, qword [rsp + 0x38]
not al
and al, 1
add rsp, 0x20
pop rbx
ret

Function at 0x24060
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
xor eax, eax
xor ebp, ebp
mov r12, rdx
lea rdx, [0x000121a8]
lea rcx, [rsp + 0x20]
mov ebx, 0x1000
mov dword [rsp + 0x60], ebp
mov word [rsp + 0x20], bp
mov qword [rsp + 0x22], rax
mov dword [rsp + 0x2a], eax
mov word [rsp + 0x2e], ax
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
nop word [rax + rax]
mov r8d, 0x73726973
mov edx, ebx
mov ecx, 1
mov esi, ebx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x24120
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.0002b750
lea r9, [rsp + 0x60]
mov r8d, ebx
mov rdx, rdi
mov ecx, 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov esi, eax
test eax, eax
jns 0x24135
mov ebx, dword [rsp + 0x60]
mov edx, 0x73726973
mov rcx, rdi
add ebx, 0x20
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp esi, 0xc0000004
je 0x240b0
mov edx, 0x73726973
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov rbx, rdi
nop dword [rax + rax]
mov rax, qword [rbx + 0x50]
test rax, rax
je 0x24172
cmp rax, 4
je 0x24172
lea rdx, [rbx + 0x38]
lea rcx, [rsp + 0x20]
mov r8b, 1
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
je 0x24172
mov rcx, qword [rbx + 0x50]
call fcn.00025a50
test al, al
je 0x2417d
mov eax, dword [rbx]
test eax, eax
je 0x24191
add rbx, rax
jmp 0x24140
mov rbp, qword [rbx + 0x50]
test r12, r12
je 0x24191
mov rcx, qword [rbx + 0x130]
mov qword [r12], rcx
mov edx, 0x73726973
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbp
jmp 0x24122
Function at 0x25d70
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x20
xor r12d, r12d
mov rbp, rcx
mov edi, 0x1000
mov dword [rsp + 0x48], r12d
nop word [rax + rax]
mov r8d, 0x73726973
mov edx, edi
mov ecx, 1
mov esi, edi
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x25e10
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.0002b750
lea r9, [rsp + 0x48]
mov r8d, edi
mov rdx, rbx
mov ecx, 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov rcx, rbx
mov esi, eax
test eax, eax
jns 0x25e25
mov edi, dword [rsp + 0x48]
mov edx, 0x73726973
add edi, 0x20
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp esi, 0xc0000004
je 0x25da0
mov edx, 0x73726973
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r12
pop rdi
pop rsi
ret
cmp qword [rbx + 0x50], rbp
je 0x25e3f
nop dword [rax + rax]
mov eax, dword [rcx]
test eax, eax
je 0x25e46
add rcx, rax
cmp qword [rcx + 0x50], rbp
jne 0x25e30
mov r12, qword [rcx + 0x130]
mov edx, 0x73726973
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, r12
jmp 0x25e12

Function at 0x25e60
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x20
xor r12d, r12d
mov rsi, rcx
mov edi, 0x1000
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x40], rbp
mov edx, edi
mov ecx, 1
mov r8d, 0x73726973
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x25ee3
lea r9, [rsp + 0x48]
mov r8d, edi
mov rdx, rax
mov ecx, 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov ebp, eax
test eax, eax
jns 0x25ef8
mov edi, dword [rsp + 0x48]
mov edx, 0x73726973
mov rcx, rbx
add edi, 0x20
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp ebp, 0xc0000004
je 0x25e82
mov edx, 0x73726973
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r12
pop rdi
pop rsi
ret
mov rcx, rbx
cmp qword [rbx + 0x50], rsi
je 0x25f10
mov eax, dword [rcx]
test eax, eax
je 0x25f14
add rcx, rax
cmp qword [rcx + 0x50], rsi
jne 0x25f01
mov r12, qword [rcx + 0x58]
mov edx, 0x73726973
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, r12
jmp 0x25ee5
Function at 0x28b30
Capabilities:
Create device object

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
lea rdx, [0x00012390]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r11, [0x0002f2f0]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x30], r11
mov r9d, 0x9c40
xor edx, edx
mov rcx, rbx
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
js 0x28bc0
lea rdx, [0x000123f0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov ebx, eax
test eax, eax
jns 0x28bbe
mov rcx, qword [0x0002f2f0]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov qword [0x0002f2f0], 0
mov eax, ebx
add rsp, 0x60
pop rbx
ret
Function at 0x29500
Capabilities:
Encode data using xor
Hash data with crc32
Hash data with md5

Disassembly:
mov r11, rsp
push rbx
push r12
sub rsp, 0x258
xor r12b, r12b
mov rbx, rcx
cmp edx, 0x40
jb 0x29750
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x29750
mov ecx, dword [rcx + 0x20]
test ecx, ecx
je 0x29750
mov eax, edx
mov qword [r11 + 0x18], rsi
mov rsi, rcx
sub rax, 0x200
cmp rcx, rax
ja 0x29748
cmp dword [rcx + rbx + 4], 0xccb520be
lea r9, [rcx + rbx + 4]
jne 0x29748
mov qword [r11 - 0x18], r13
mov r13d, dword [rcx + rbx + 0xc]
mov r11d, dword [rcx + rbx + 8]
lea eax, [r11 + r13]
cmp eax, ecx
ja 0x29740
mov qword [rsp + 0x288], rdi
mov r10d, 0x1fc
or r8d, 0xffffffff
lea rdi, [0x0002e010]
nop word [rax + rax]
movzx ecx, byte [r9]
mov eax, r8d
inc r9
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r8d, dword [rdi + rdx*4]
xor r8d, eax
sub r10d, 1
jne 0x295a0
not r8d
cmp r8d, dword [rsi + rbx]
jne 0x29738
lea r8d, [r10 + 0x54]
lea rcx, [rsp + 0x34]
xor edi, edi
xor edx, edx
mov qword [rsp + 0x270], rbp
mov rbp, r11
mov dword [rsp + 0x30], edi
call fcn.0002b750
add rbp, rbx
je 0x29730
lea rcx, [rsp + 0x30]
mov r8d, r13d
mov rdx, rbp
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x30], 0x67452301
mov dword [rsp + 0x34], 0xefcdab89
mov dword [rsp + 0x38], 0x98badcfe
mov dword [rsp + 0x3c], 0x10325476
call fcn.00029830
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x180]
call fcn.00029940
mov ebp, dword [0x0002e450]
mov r9d, dword [rsi + rbx + 0x10]
add ebp, 7
shr ebp, 3
cmp r9d, ebp
ja 0x29730
lea rax, [0x0002e450]
lea r8, [rsi + rbx + 0x14]
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.0002a2a0
test eax, eax
jne 0x29730
cmp dword [rsp + 0x278], ebp
jne 0x29730
cmp byte [rsp + 0x30], dil
jne 0x29730
cmp byte [rsp + 0x31], 1
jne 0x29730
lea edx, [rbp - 1]
mov ecx, 2
cmp edx, ecx
jbe 0x296ce
lea rax, [rsp + 0x32]
nop word [rax + rax]
cmp byte [rax], 0xff
jne 0x296ce
inc ecx
inc rax
cmp ecx, edx
jb 0x296c0
mov eax, ecx
inc ecx
cmp byte [rsp + rax + 0x30], dil
jne 0x29730
mov ebx, ebp
sub ebx, ecx
lea eax, [rbx + 0xb]
cmp eax, ebp
ja 0x29730
lea rdx, [rsp + rcx + 0x30]
test rdx, rdx
je 0x296fe
lea rcx, [rsp + 0xb0]
mov r8d, ebx
call fcn.0002b3c0
cmp ebx, 0x10
jne 0x29730
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0x180]
mov rdx, qword [rax]
cmp rdx, qword [rcx]
jne 0x29725
mov rdx, qword [rax + 8]
cmp rdx, qword [rcx + 8]
je 0x2972a
sbb edi, edi
sbb edi, 0xffffffff
test edi, edi
sete r12b
mov rbp, qword [rsp + 0x270]
mov rdi, qword [rsp + 0x288]
mov r13, qword [rsp + 0x250]
mov rsi, qword [rsp + 0x280]
mov al, r12b
add rsp, 0x258
pop r12
pop rbx
ret
Function at 0x29760
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x100
xor r9d, r9d
lea rcx, [rsp]
mov r8d, 0x100
mov eax, r9d
nop dword [rax]
mov byte [rcx], al
inc eax
inc rcx
cmp eax, r8d
jb 0x29780
mov ebx, r9d
mov r10, r9
lea r11, [rsp]
lea rdi, [0x0002e990]
nop dword [rax]
movzx edx, byte [r11]
movzx ecx, byte [r10 + rdi]
inc r10
add ecx, ebx
add ecx, edx
cmp r10, 0x70
movzx ebx, cl
cmovae r10, r9
inc r11
sub r8, 1
movzx eax, byte [rsp + rbx]
mov byte [r11 - 1], al
mov byte [rsp + rbx], dl
jne 0x297a0
mov ebx, r9d
lea r10, [0x0002eec0]
mov r11d, r9d
nop dword [rax]
lea eax, [rbx + 1]
inc r11d
inc r10
movzx ebx, al
movzx edx, byte [rsp + rbx]
lea eax, [r9 + rdx]
movzx r9d, al
movzx eax, byte [rsp + r9]
mov byte [rsp + rbx], al
mov byte [rsp + r9], dl
movzx ecx, byte [rsp + rbx]
add ecx, edx
movzx eax, cl
movzx ecx, byte [rsp + rax]
xor byte [r10 - 1], cl
cmp r11d, 0x262
jb 0x297e0
mov rbx, qword [rsp + 0x110]
add rsp, 0x100
pop rdi
ret
Function at 0x32058
Capabilities:
Create device object
Print debug messages

Disassembly:
sub rsp, 0x28
mov r8, rdx
mov r9, rcx
call section.INIT
mov rdx, r8
mov rcx, r9
add rsp, 0x28
jmp fcn.00027f00
Function at 0x1408f0820
Capabilities:
Enumerate process modules

Disassembly:
push rbx
mov eax, 0x2250
call fcn.140909ca0
sub rsp, rax
mov rax, qword [0x14095e040]
xor rax, rsp
mov qword [rsp + 0x2240], rax
mov rbx, rcx
test rcx, rcx
je 0x1408f0892
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov r8d, 0x2000
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x1408f0892
mov rdx, qword [rsp + 0x30]
lea r8, [rsp + 0x2030]
mov r9d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x1408f0892
mov rax, qword [rsp + 0x30]
jmp 0x1408f0894
xor eax, eax
mov rcx, qword [rsp + 0x2240]
xor rcx, rsp
call fcn.140908d20
add rsp, 0x2250
pop rbx
ret
Function at 0x1408f7a20
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov rax, qword [rsp + 0x120]
add rax, 0x18
mov rcx, rax
call fcn.1408f82f0
mov rax, qword [rsp + 0x120]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x38]
mov eax, dword [rax + 0x50]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1408f8390
mov rax, qword [rsp + 0x120]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x40]
call fcn.1408f8270
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x38]
mov eax, dword [rax + 0x54]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x50]
call fcn.1408f8270
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov r9, qword [rsp + 0x60]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xd0]
call fcn.1408f87d0
mov qword [rsp + 0x28], 0
jmp 0x1408f7b19
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x38]
movzx eax, word [rax + 6]
cmp qword [rsp + 0x28], rax
jae 0x1408f7ca3
imul rax, qword [rsp + 0x28], 0x28
mov rcx, qword [rsp + 0x120]
add rax, qword [rcx + 0x40]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x120]
add rax, 0x18
mov rcx, rax
call fcn.1408f82d0
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0xc]
add rax, rcx
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x120]
add rax, qword [rcx + 0x30]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x120]
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x70]
call fcn.1408f8270
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xc]
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x78]
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x80]
call fcn.1408f8230
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x90]
call fcn.1408f8270
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x14]
mov qword [rsp + 0x98], rax
mov r8, qword [rsp + 0x98]
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0xa0]
call fcn.1408f8230
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb8], rax
mov r9, qword [rsp + 0xb0]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x108]
call fcn.1408f87d0
jmp 0x1408f7b0c
add rsp, 0x118
ret
Function at 0x1408f95c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWARERESOURCEMAPSystem_ResourcesPhysical_Memory
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [rsp + 0x34]
mov ecx, eax
call fcn.1409090f4
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x40]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
jmp 0x1408f9696
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x30], eax
jae 0x1408f96d2
mov rax, qword [rsp + 0x38]
add rax, 8
mov r9, rax
mov r8, qword [rsp + 0x38]
lea rdx, [rsp + 0x68]
lea rcx, [0x1409710c8]
call fcn.1408f6060
mov rax, qword [rsp + 0x38]
add rax, 0x14
mov qword [rsp + 0x38], rax
jmp 0x1408f968c
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140908d40
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x88
ret