joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022580
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rbx, qword [rcx]
xor edi, edi
mov esi, edi
mov qword [rbp + 0x28], rdi
test rdx, rdx
je 0x140022744
cmp r8, 0xffffffffffffffff
jne 0x1400225b8
lea rcx, [rbp - 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
jmp 0x1400225cf
add r8w, r8w
mov qword [rbp - 0x38], rdx
mov word [rbp - 0x40], r8w
add r8w, 2
mov word [rbp - 0x3e], r8w
lea rax, [rbp - 0x40]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
lea r8, [rbp - 0x30]
lea rcx, [rbp + 0x28]
xor r9d, r9d
movdqu xmmword [rbp - 0x10], xmm0
mov edx, 0xf003f
mov dword [rsp + 0x28], edi
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x30], 0x30
mov qword [rbp - 0x28], rbx
mov dword [rbp - 0x18], 0x240
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ntoskrnl.exe_ZwCreateKey]
cmp qword [rbp + 0x28], rsi
je 0x140022744
xor ebx, ebx
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rbx
nop dword [rax]
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x20]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, esi
mov dword [rsp + 0x20], 0
mov dword [rbp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x140022707
mov qword [rbp + 0x38], rax
cmp rbx, rax
jae 0x1400226aa
mov ecx, eax
cmp rax, rbx
mov r8, rbx
cmovb rcx, rbx
mov qword [rbp - 0x40], rcx
mov rdx, rcx
mov rcx, rdi
call fcn.140022a30
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x14002269e
xor edi, edi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x28], rdi
jmp 0x1400226a6
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp + 0x38]
lea rcx, [rbp - 0x30]
mov rdx, rax
call fcn.140001f50
mov rdi, qword [rbp - 0x30]
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x20]
mov r9, rdi
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov eax, dword [rbp - 0x20]
mov edx, esi
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
test eax, eax
js 0x140022707
mov r8d, dword [rdi + 0xc]
lea rdx, [rdi + 0x10]
lea rcx, [rbp + 0x28]
shr r8, 1
call fcn.140022580
mov rbx, qword [rbp - 0x28]
test al, al
jne 0x140022630
inc esi
jmp 0x140022630
mov rcx, qword [rbp + 0x28]
test rcx, rcx
jne 0x140022714
xor bl, bl
jmp 0x140022723
call qword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
mov rcx, qword [rbp + 0x28]
test eax, eax
setns bl
test rdi, rdi
je 0x140022734
mov rcx, rdi
call fcn.140022b00
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14002273f
call qword [sym.imp.ntoskrnl.exe_ZwClose]
movzx eax, bl
jmp 0x140022746
xor al, al
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400234b0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x70
cmp qword [rcx + 0x48], 0
mov rbx, rcx
je 0x1400234cb
mov eax, 0xc0000718
add rsp, 0x70
pop rbx
ret
mov ecx, 0x30
mov qword [rsp + 0x80], rbp
call fcn.140022a10
xor ebp, ebp
test rax, rax
je 0x1400234ee
mov rcx, rax
call fcn.14002a360
jmp 0x1400234f1
mov rax, rbp
mov qword [rbx + 0x48], rax
test rax, rax
jne 0x14002350d
mov eax, 0xc0000017
mov rbp, qword [rsp + 0x80]
add rsp, 0x70
pop rbx
ret
lea rax, [0x140024250]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea rcx, [rbx + 0x50]
lea r8, [rsp + 0x40]
movdqu xmmword [rsp + 0x60], xmm0
xor r9d, r9d
mov edx, 0x1fffff
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x88], rsi
mov dword [rsp + 0x40], 0x30
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x58], 0x200
mov qword [rsp + 0x50], rbp
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov esi, eax
test eax, eax
jns 0x14002359c
mov qword [rsp + 0x90], rdi
mov rdi, qword [rbx + 0x48]
test rdi, rdi
je 0x14002358c
mov rcx, rdi
call fcn.14002a410
mov rcx, rdi
call fcn.1400229f0
mov rdi, qword [rsp + 0x90]
mov qword [rbx + 0x48], rbp
mov eax, esi
jmp 0x14002359e
xor eax, eax
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
add rsp, 0x70
pop rbx
ret

Function at 0x140023930
Capabilities:
Complete processing asynchronous io request

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
mov r9, rcx
test rdx, rdx
jne 0x14002394c
mov eax, 0xc000000d
add rsp, 0x20
pop rbx
ret
cmp qword [rcx + 0x48], 0
jne 0x14002395e
mov eax, 0xc00000e5
add rsp, 0x20
pop rbx
ret
lock or dword [rdx + 8], 4
mov rax, qword [rdx]
mov rcx, qword [rax + 0xb8]
or byte [rcx + 3], 1
movsxd r8, dword [rdx + 8]
mov rdx, qword [rdx]
mov rcx, qword [r9 + 0x48]
call fcn.14002a500
test al, al
jne 0x1400239be
mov rax, qword [rbx]
mov dword [rax + 0x30], 0xc0000056
lock or dword [rbx + 8], 8
lock or dword [rbx + 8], 2
test byte [rbx + 8], 0x20
je 0x1400239a8
mov rcx, qword [rbx]
call qword [sym.imp.ntoskrnl.exe_PoStartNextPowerIrp]
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, 0xc0000056
add rsp, 0x20
pop rbx
ret
mov eax, 0x103
add rsp, 0x20
pop rbx
ret
Function at 0x140023ac0
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x70], 0
mov rbx, rdx
mov rdi, rcx
jne 0x140023b09
mov rax, qword [rdx]
mov edi, dword [rax + 0x30]
lock or dword [rdx + 8], 2
test byte [rdx + 8], 0x20
je 0x140023af1
mov rcx, qword [rdx]
call qword [sym.imp.ntoskrnl.exe_PoStartNextPowerIrp]
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lock or dword [rdx + 8], 1
test byte [rdx + 8], 0x20
je 0x140023b1d
mov rcx, qword [rdx]
call qword [sym.imp.ntoskrnl.exe_PoStartNextPowerIrp]
mov rax, qword [rbx]
inc byte [rax + 0x43]
add qword [rax + 0xb8], 0x48
test byte [rbx + 8], 0x10
mov rdx, qword [rbx]
mov rcx, qword [rdi + 0x70]
je 0x140023b49
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ntoskrnl.exe_PoCallDriver]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ntoskrnl.exe_IofCallDriver]
Function at 0x14002dae0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
lea rbx, [rcx + 0x40]
mov rsi, rdx
mov rdi, rcx
test rbx, rbx
je 0x14002db18
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
cmp qword [rdi + 0x10], 0
jne 0x14002db27
xor dil, dil
jmp 0x14002dbbc
mov rax, qword [rdi + 8]
lea rdi, [0x1400359e8]
lea rcx, [rsp + 0x50]
test rax, rax
mov rdx, rdi
cmovne rdx, rax
xor r8d, r8d
call fcn.1400223e0
cmp qword [rsp + 0x50], 0
jne 0x14002db56
xor dil, dil
jmp 0x14002dbbc
mov rax, qword [rsi]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
test rax, rax
cmovne rdi, rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
call fcn.140022320
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x14002db90
xor dil, dil
jmp 0x14002dbac
call qword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
mov rcx, qword [rsp + 0x60]
test eax, eax
setns dil
test rcx, rcx
je 0x14002dbac
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002dbbc
call qword [sym.imp.ntoskrnl.exe_ZwClose]
test rbx, rbx
je 0x14002dbcc
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeReleaseMutex]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
movzx eax, dil
add rsp, 0x40
pop rdi
ret
Function at 0x14002eb30
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r14
sub rsp, 0x50
lea rbx, [rcx + 0x40]
mov esi, r8d
mov r14, rdx
mov rdi, rcx
test rbx, rbx
je 0x14002eb69
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
cmp qword [rdi + 0x10], 0
je 0x14002ec3a
mov rax, qword [rdi + 8]
lea rdi, [0x1400359e8]
lea rcx, [rsp + 0x88]
test rax, rax
mov rdx, rdi
cmovne rdx, rax
xor r8d, r8d
call fcn.1400223e0
cmp qword [rsp + 0x88], 0
je 0x14002ec3a
mov rax, qword [r14]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
test rax, rax
cmovne rdi, rax
lea rax, [rsp + 0x88]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
call fcn.140022320
lea rdx, str.LastAutoMountStatus
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x70], esi
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x70]
lea rdx, [rsp + 0x38]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002ec27
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14002ec3a
call qword [sym.imp.ntoskrnl.exe_ZwClose]
test rbx, rbx
je 0x14002ec4a
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeReleaseMutex]
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x180004fd0
Capabilities:
Create process on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rax, qword [0x1800f6b40]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x70], WSAGetLastError
lea rax, [rsp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov dword [rsp + 0xac], 1
xor eax, eax
mov word [rsp + 0xb0], ax
lea rax, [0x1800f9c48]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x120]
mov rcx, qword [0x1800f9c48]
mov qword [rax], rcx
mov rax, qword [rsp + 0x128]
mov rcx, qword [0x1800f9c50]
mov qword [rax], rcx
cmp dword [rsp + 0x60], 0
je 0x1800050c4
mov al, 1
jmp 0x1800050c6
xor al, al
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.18009db10
add rsp, 0xf0
pop rdi
ret

Function at 0x1800050e0
Capabilities:
Create process on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rax, qword [0x1800f6b40]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x70], WSAGetLastError
lea rax, [rsp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov dword [rsp + 0xac], 1
xor eax, eax
mov word [rsp + 0xb0], ax
lea rax, [0x1800f9c30]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x108]
xor edx, edx
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1800051a5
mov al, 1
jmp 0x1800051a7
xor al, al
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.18009db10
add rsp, 0xf0
pop rdi
ret
Function at 0x1800053c0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
mov rax, qword [0x1800f6b40]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x60], WSAGetLastError
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov dword [rsp + 0x9c], 1
xor eax, eax
mov word [rsp + 0xa0], ax
mov rcx, qword [rsp + 0xf0]
call fcn.180010a10
lea rcx, [0x1800f9c68]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1800054b2
lea rcx, [rsp + 0x50]
call fcn.180002180
mov ecx, eax
call fcn.1800020c0
mov rcx, qword [0x1800f9c68]
call fcn.1800421e3
nop
lea rcx, [rsp + 0x51]
call fcn.180002180
mov ecx, eax
call fcn.1800020c0
mov rcx, qword [0x1800f9c70]
call fcn.1800421e3
nop
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.18009db10
add rsp, 0xe0
pop rdi
ret
Function at 0x18000c440
Capabilities:
Get user security identifier

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x1800f6b40]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x8c], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov rcx, qword [rsp + 0xd8]
call fcn.180010120
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x8c]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
nop
cmp dword [rsp + 0x88], 0
jne 0x18000c510
lea rdx, [0x1800e5f58]
mov rcx, qword [rsp + 0xd0]
call fcn.18000aa70
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xd0]
jmp 0x18000c6ae
mov eax, dword [rsp + 0x88]
mov ecx, eax
call fcn.1800ae408
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x8c]
mov qword [rsp + 0x68], rax
mov eax, 2
mov rcx, qword [rsp + 0x68]
mul rcx
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call fcn.18009e25c
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0xd8]
call fcn.180010120
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x8c]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x88]
mov r8, qword [rsp + 0x50]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x18000c61c
mov rcx, qword [rsp + 0x50]
call fcn.1800ad750
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.18009db30
cmp qword [rsp + 0x58], 0
jne 0x18000c5dd
mov qword [rsp + 0x78], 0
jmp 0x18000c5f0
mov qword [rsp + 0x48], 0x8123
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x78], rax
lea rdx, [0x1800e5f5c]
mov rcx, qword [rsp + 0xd0]
call fcn.18000aa70
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xd0]
jmp 0x18000c6ae
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x98]
call fcn.18000b670
mov rcx, qword [rsp + 0x50]
call fcn.1800ad750
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.18009db30
cmp qword [rsp + 0x60], 0
jne 0x18000c663
mov qword [rsp + 0x80], 0
jmp 0x18000c679
mov qword [rsp + 0x48], 0x8123
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0xd0]
call fcn.1800106a0
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x98]
call fcn.1800105f0
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.18009db10
add rsp, 0xc8
ret
Function at 0x18000e200
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov rax, qword [0x1800f6b40]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0x100
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x18000e269
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x150]
call fcn.180000d90
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x150]
jmp 0x18000e290
lea rdx, [0x1800e5df2]
mov rcx, qword [rsp + 0x150]
call fcn.180000d90
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.18009db10
add rsp, 0x148
ret

Function at 0x18000e3e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x1800f6b40]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov byte [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x18000e479
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x18000e46d
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x290]
call fcn.18001a390
movzx eax, al
test eax, eax
je 0x18000e459
mov byte [rsp + 0x20], 1
jmp 0x18000e46d
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x18000e439
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18009db10
add rsp, 0x288
ret

Function at 0x18000e530
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
call fcn.180001500
mov qword [0x1800f91f8], rax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x21]
call fcn.18000e650
mov rcx, rax
call fcn.18000f540
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.18000aa70
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x80]
call fcn.18000e350
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.18000e2b0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.18001a1f0
movzx eax, al
test eax, eax
jne 0x18000e5ee
mov dword [rsp + 0x24], 1
jmp 0x18000e5f6
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x60]
call fcn.1800105f0
nop
lea rcx, [rsp + 0x80]
call fcn.1800105f0
nop
lea rcx, [rsp + 0xa0]
call fcn.1800105f0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18000e637
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 1
add rsp, 0xe8
ret
Function at 0x18004b5a0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x18004b682
call fcn.18005f840
test al, al
jne 0x18004b682
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x18004b5d2
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call fcn.18006bb50
test rax, rax
je 0x18004b617
sub rax, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov r8, rax
mov rcx, rbx
call fcn.18006bb50
mov rsi, rax
test rax, rax
je 0x18004b617
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x18004b64b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.18005c9e0
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x18004b630
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x18005a600
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x1800cf900]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x18005a62a
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, str.LoadLibraryExA
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1800cf920]
mov rcx, rbx
mov r14, rax
call fcn.1800b0660
test rax, rax
je 0x18005a68b
mov rcx, rbx
test r14, r14
je 0x18005a678
xor edx, edx
mov r8d, 8
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test r14, r14
je 0x18005a6c2
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18005a6c2
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
xor edx, edx
mov qword [rsp + 0x50], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r15d, eax
test eax, eax
je 0x18005a78a
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x18005a6f0
lea ecx, [rax + 1]
add rcx, rdx
call qword [fcn.1800ae408]
mov rsi, rax
test rax, rax
je 0x18005a77c
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x18005a77c
mov rax, rdi
cmp byte [rsi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x18005a720
mov word [rax + rsi], 0x5c
inc rdi
cmp byte [rsi + rdi], bpl
jne 0x18005a731
mov rax, rsi
sub rax, rbx
add rdi, rax
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rdi + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x18005a750
mov rcx, rsi
test r14, r14
je 0x18005a773
xor edx, edx
mov r8d, 8
call r14
jmp 0x18005a779
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rsi
call qword [fcn.1800ad750]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rax, rbp
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret