joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140183950
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
xor r12d, r12d
mov r14d, r8d
cmp dword [0x14042a900], r12d
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x58], r12
jne 0x14018399a
mov edx, 0xc004d101
mov ecx, edx
call fcn.140075fa0
jmp 0x140183ae0
test rdi, rdi
jne 0x1401839a6
mov edx, 0x80070057
jmp 0x14018398e
mov ecx, 0x20
call fcn.140073e30
test rax, rax
je 0x1401839bf
mov rcx, rax
call fcn.140181c14
jmp 0x1401839c2
mov rax, r12
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140181cf8
mov rbx, qword [rbp - 0x50]
test rbx, rbx
jne 0x1401839de
mov edx, 0x8007000e
jmp 0x14018398e
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.14019bd58
mov edx, eax
test eax, eax
jns 0x1401839f6
mov ecx, eax
jmp 0x140183990
lea rax, [0x14004a540]
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
lea rax, [rbp + 0x48]
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x30], rax
xor r9d, r9d
mov rax, qword [0x14042aae8]
mov ecx, 0xb9
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rbp - 0x10], rax
lea r8d, [r9 + 0x38]
mov dword [rbp - 0x18], 0xa0000
call sub.ntdll.dll_NtQuerySystemInformation
mov edx, dword [rbp + 0x48]
cmp edx, 0xc004d315
mov r15d, edx
cmove edx, r12d
test edx, edx
js 0x14018398e
lea r9, [rbp - 0x58]
mov r8d, 4
mov rdx, rbx
call fcn.1401848c4
mov edx, eax
test eax, eax
js 0x1401839f2
cmp r15d, 0xc004d315
jne 0x140183ad5
test r14b, 4
je 0x140183b20
lea rax, [0x1400631c0]
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
xor r9d, r9d
mov qword [rbp - 0x20], rsi
lea rax, [rbp - 0x60]
mov ecx, 0xb9
mov qword [rbp - 0x30], rax
mov rax, qword [0x14042aae8]
lea r8d, [r9 + 0x38]
mov qword [rbp - 0x28], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov edx, dword [rbp - 0x60]
test edx, edx
js 0x14018398e
mov rax, qword [rbp - 0x58]
mov qword [rdi], rax
mov qword [rbp - 0x58], r12
mov ecx, edx
call fcn.140181d1c
mov ecx, eax
mov ebx, eax
call fcn.140083bac
lea rcx, [rbp - 0x58]
call fcn.140072d60
lea rcx, [rbp - 0x50]
call fcn.140181c98
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov edx, 0xc004d315
jmp 0x14018398e
Function at 0x140184058
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x60
xor ebx, ebx
cmp dword [0x14042a900], ebx
mov qword [rbp + 0x10], rbx
jne 0x140184083
mov ecx, 0xc004d101
jmp 0x1401840d4
lea rax, [0x140062b40]
mov qword [rbp - 0x10], r8
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
xor r9d, r9d
mov qword [rbp - 0x40], 3
lea rax, [rbp + 0x18]
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x30], rax
mov ecx, 0xb9
mov rax, qword [0x14042aae8]
lea r8d, [r9 + 0x38]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x18], 0xa0014
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x18]
test ecx, ecx
jns 0x1401840d9
call fcn.140075fa0
call fcn.140181d1c
mov ecx, eax
mov ebx, eax
call fcn.140083bac
lea rcx, [rbp + 0x10]
call fcn.140181c98
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret

Function at 0x140199bfc
Capabilities:
Delete registry key

Disassembly:
sub rsp, 0x28
and dword [rsp + 0x40], 0
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, eax
lea rdx, [rsp + 0x40]
call fcn.140075580
test eax, eax
jne 0x140199c24
mov ecx, dword [rsp + 0x40]
call fcn.140075fa0
mov ecx, dword [rsp + 0x40]
call fcn.140083bac
mov eax, dword [rsp + 0x40]
add rsp, 0x28
ret

Function at 0x140199f90
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
sub rsp, 0x48
and qword [r11 - 0x18], 0
lea rax, [0x14005e3c0]
xor r9d, r9d
mov qword [r11 - 0x10], rcx
lea rdx, [r11 - 0x28]
mov qword [r11 - 0x28], 3
mov ecx, 0xb9
mov qword [r11 - 0x20], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
add rsp, 0x48
ret
Function at 0x1401bd038
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rdi
mov qword [r11 + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x50
and qword [rbp + 0x20], 0
lea rax, [rbp + 0x10]
lea r9, [rbp + 0x20]
mov qword [r11 - 0x38], rax
mov rbx, rdx
call fcn.1401bd174
mov edi, eax
test eax, eax
jns 0x1401bd07a
mov ecx, eax
call fcn.140075fa0
jmp 0x1401bd125
mov ecx, 0x4f8
cmp dword [rbp + 0x10], ecx
je 0x1401bd08d
mov ecx, 0x8007000d
mov edi, ecx
jmp 0x1401bd070
mov rax, qword [rbp + 0x20]
cmp dword [rax], ecx
jne 0x1401bd084
mov ecx, 9
lea edx, [rcx + 0x77]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rbx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rbx + 0x60], xmm0
add rbx, rdx
movups xmm1, xmmword [rax + 0x70]
add rax, rdx
movups xmmword [rbx - 0x10], xmm1
sub rcx, 1
jne 0x1401bd09d
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rbx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rbx + 0x60], xmm0
mov rax, qword [rax + 0x70]
mov qword [rbx + 0x70], rax
mov ecx, edi
call fcn.140083bac
and qword [rbp - 0x10], 0
lea rax, [0x14001b680]
xor r9d, r9d
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x20], 3
lea rdx, [rbp - 0x20]
mov qword [rbp - 8], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov rbx, qword [rsp + 0x68]
mov eax, edi
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
Function at 0x1401bd174
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
xor r14d, r14d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersion_
mov rsi, r9
mov qword [rbp - 0x18], r14
mov ebx, r14d
mov qword [rbp - 0x10], r14
lea r9, [rbp - 0x18]
mov qword [rbp - 0x20], rbx
lea r8d, [r14 + 1]
mov rcx, 0xffffffff80000002
call fcn.140070ac0
mov dword [rbp + 0x38], eax
mov edi, eax
test eax, eax
jns 0x1401bd1d0
mov ecx, eax
jmp 0x1401bd286
mov dword [rbp + 0x40], r14d
mov rcx, qword [rbp - 0x18]
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, str.DigitalProductId4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
lea rdx, [rbp + 0x38]
call fcn.140075580
test eax, eax
je 0x1401bd281
test rbx, rbx
jne 0x1401bd23f
mov eax, dword [rbp + 0x40]
test eax, eax
je 0x1401bd238
mov ecx, eax
call fcn.140073e30
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.1400731fc
mov rbx, qword [rbp - 0x20]
test rbx, rbx
jne 0x1401bd1d4
mov edi, 0x8007000e
jmp 0x1401bd284
mov edi, 0x8000ffff
jmp 0x1401bd284
cmp dword [rbp + 0x30], 3
je 0x1401bd24c
mov edi, 0x8007000d
jmp 0x1401bd284
lea r9, [rbp + 0x38]
mov r8, rsi
mov rcx, rbx
call fcn.14009b0ac
mov edi, eax
test eax, eax
js 0x1401bd1c9
cmp dword [rbp + 0x38], r14d
mov rcx, qword [rbp + 0x50]
cmovne rbx, r14
mov qword [rbp - 0x20], rbx
test rcx, rcx
je 0x1401bd28b
mov eax, dword [rbp + 0x40]
mov dword [rcx], eax
jmp 0x1401bd28b
mov edi, dword [rbp + 0x38]
mov ecx, edi
call fcn.140075fa0
mov ecx, edi
call fcn.140083bac
lea rcx, [rbp - 0x20]
call fcn.1401d43ac
lea rcx, [rbp - 0x10]
call fcn.140072d18
lea rcx, [rbp - 0x18]
call fcn.140072d18
mov eax, edi
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x1401bd5c0
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [rcx], 0x6a09e667
mov dword [rcx + 0x24], eax
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov qword [rcx + 0x1c], 0x5be0cd19
ret
Function at 0x180003ae7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180057098]
jne 0x1800035ea
rol rcx, 0x10
test cx, 0xffff
jne 0x1800035e6
repz ret
ror rcx, 0x10
jmp 0x180003a40
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180058470]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180058568]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180003ac5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180058470]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180003ae7
mov rax, qword [rsp + 0x88]
mov qword [0x180058568], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180058508], rax
mov rax, qword [0x180058568]
mov qword [0x1800583e0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1800584f0], rax
mov dword [0x1800583d0], 0xc0000409
mov dword [0x1800583d4], 1
mov rax, qword [0x180057098]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1800570a0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180058468], eax
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180045978]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180058468], 0
jne 0x180003b6e
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x18003fef0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
test rcx, rcx
lea rdx, [0x18004b357]
movabs rax, 0xcbf29ce484222325
cmovne rdx, rcx
movzx ecx, byte [rdx]
test cl, cl
je 0x18003ff34
movabs r8, 0x100000001b3
nop dword [rax]
imul rax, r8
movzx ecx, cl
inc rdx
xor rax, rcx
movzx ecx, byte [rdx]
test cl, cl
jne 0x18003ff20
repz ret

Function at 0x180043220
Capabilities:
Enumerate files on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x280
mov rax, qword [0x180057098]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
mov rbp, r8
mov rsi, rdx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x250
call sub.MSVCR100.dll_memset
lea rdx, [rsp + 0x20]
mov rcx, rbx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x18004332f
lea rcx, [rsp + 0x4c]
mov rdx, rbp
call rsi
test al, al
je 0x180043306
nop word [rax + rax]
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x250
call sub.MSVCR100.dll_memset
lea rdx, [rsp + 0x20]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1800432c4
lea rcx, [rsp + 0x4c]
mov rdx, rbp
call rsi
test al, al
jne 0x180043290
jmp 0x180043306
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x12
je 0x180043306
lea rcx, str.vboxDrvCfgEnumFiles:_FindNextFile_fail_dwErr_ld_n
mov edx, eax
call fcn.1800424e0
mov r11, qword [0x1800589b8]
test r11, r11
je 0x1800432f5
mov rcx, qword [0x1800589c0]
call r11
test ebx, ebx
jg 0x1800432fd
mov edi, ebx
jmp 0x180043306
movzx edi, bx
or edi, 0x80070000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1800035d0
add rsp, 0x280
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x12
je 0x18004330f
lea rcx, str.vboxDrvCfgEnumFiles:_FindFirstFile_fail_dwErr_ld_n
mov edx, eax
call fcn.1800424e0
mov r11, qword [0x1800589b8]
test r11, r11
je 0x180043360
mov rcx, qword [0x1800589c0]
call r11
test ebx, ebx
jg 0x180043368
mov eax, ebx
jmp 0x180043311
movzx eax, bx
or eax, 0x80070000
jmp 0x180043311
Function at 0x1800435b0
Capabilities:
Query service status
Start service

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x50
mov rax, qword [0x180057098]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edx, edx
mov rdi, rcx
xor ecx, ecx
lea r8d, [rdx + 0x14]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbp, rax
test rax, rax
jne 0x180043613
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.VBoxDrvCfgSvcStart:_OpenSCManager_failed__dwErr_ld_n
mov edx, eax
mov ebx, eax
call fcn.1800424e0
test ebx, ebx
jle 0x18004378c
movzx ebx, bx
or ebx, 0x80070000
jmp 0x18004378c
xor ebx, ebx
mov rdx, rdi
mov rcx, rax
lea r8d, [rbx + 0x14]
mov qword [rsp + 0x68], rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x18004375b
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x18004367d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.VBoxDrvCfgSvcStart:_QueryServiceStatus_failed_dwErr_ld_n
mov edx, eax
mov ebx, eax
call fcn.1800424e0
test ebx, ebx
jle 0x180043750
movzx ebx, bx
mov rcx, rsi
or ebx, 0x80070000
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x18004377e
mov eax, dword [rsp + 0x24]
cmp eax, 4
je 0x1800436bb
cmp eax, 2
je 0x1800436bb
lea rcx, str.Starting_service___S__n
mov rdx, rdi
call fcn.1800424e0
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x1800436bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.VBoxDrvCfgSvcStart:_StartService_failed_dwErr_ld_n
jmp 0x180043655
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x180043648
mov eax, dword [rsp + 0x24]
cmp eax, 2
jne 0x18004373a
mov edi, ebx
nop dword [rax]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x18004370f
mov eax, dword [rsp + 0x24]
cmp eax, 2
jne 0x18004373a
inc edi
cmp edi, 0x64
jl 0x1800436e0
jmp 0x18004373f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.VBoxDrvCfgSvcStart:_QueryServiceStatus_failed_dwErr_ld_n
mov edx, eax
mov ebx, eax
call fcn.1800424e0
test ebx, ebx
jle 0x180043734
movzx ebx, bx
or ebx, 0x80070000
test ebx, ebx
jne 0x18004373f
mov eax, dword [rsp + 0x24]
cmp eax, 4
je 0x180043750
lea rcx, str.VBoxDrvCfgSvcStart:_Failed_to_start_the_service_n
call fcn.1800424e0
mov ebx, 0x80004005
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x18004377e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.VBoxDrvCfgSvcStart:_OpenServiceW_failed__dwErr_ld_n
mov edx, eax
mov ebx, eax
call fcn.1800424e0
test ebx, ebx
jle 0x18004377e
movzx ebx, bx
or ebx, 0x80070000
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800035d0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400087bc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140008808
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140008800
cmp dword [rcx + 0x3c], edx
jl 0x140008800
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140008800
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140008808
mov rax, rdx
add rsp, 0x18
ret

Function at 0x140004000
Capabilities:
Encode data using xor

Disassembly:
movabs rcx, 0x72d991cd3b741d89
movabs rdx, 0x1000
movabs r8, 0x3ee8
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x10]
add rdx, rax
add r8, rax
mov r9, rdx
xor qword [rdx], rcx
add rdx, 8
cmp rdx, r8
jb 0x140004034
jmp r9
Function at 0x14001532c
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov r9, rcx
test r8, r8
je 0x14001535c
lea rax, [r8 - 1]
movzx ecx, byte [r9 + rax]
xor rcx, 0x30
dec rcx
sar rcx, 0x3f
xor r8, rax
and r8, rcx
xor r8, rax
add rax, 0xffffffffffffffff
jb 0x14001533b
jmp 0x14001535f
xor r8d, r8d
test rdx, rdx
je 0x1400153b6
xor ecx, ecx
mov r10, r8
shr r10, cl
mov edi, 1
shl rdi, cl
cmp rdi, rdx
jae 0x1400153a8
and r10b, 1
neg r10b
mov r11, rdx
sub r11, rdi
add rdi, r9
xor esi, esi
mov bl, byte [r9 + rsi]
mov al, byte [rdi + rsi]
xor al, bl
and al, r10b
xor bl, al
mov byte [r9 + rsi], bl
xor byte [rdi + rsi], al
inc rsi
cmp r11, rsi
jne 0x14001538b
inc rcx
mov rax, rdx
shr rax, cl
test rax, rax
jne 0x140015366
pop rbx
pop rdi
pop rsi
ret
Function at 0x14001d75f
Capabilities:
Get session user name

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov edx, 0x37
call fcn.14000359b
cmp byte [rax], 0
je 0x14001d783
mov rcx, rax
add rsp, 0x20
pop rsi
jmp fcn.14005f215
mov rcx, rsi
mov edx, 0x38
call fcn.14000336e
test al, al
je 0x14001d79e
add rsp, 0x20
pop rsi
jmp fcn.140073abb
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x14001f5ad
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov ebp, dword [rsp + 0x70]
mov rcx, r8
mov edx, r9d
call fcn.140003425
cmp eax, 1
je 0x14001f619
cmp eax, 2
je 0x14001f622
cmp eax, 3
jne 0x14001f62b
mov rcx, rbx
mov edx, ebp
call fcn.14000359b
lea rcx, str.custom:
mov rdx, rax
xor r8d, r8d
call fcn.14005f256
mov rbx, rax
mov rcx, rdi
mov rdx, rsi
mov r8, rax
call fcn.140079170
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.1400118b0
lea r8, str.implicit
jmp 0x14001f632
lea r8, str.explicit
jmp 0x14001f632
lea r8, str.none
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140079170
Function at 0x14003a30e
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
mov r10b, byte [rcx]
mov r9b, byte [rcx + 1]
test r8d, r8d
jle 0x14003a36e
mov r8d, r8d
neg r8
mov eax, 1
inc r10b
movzx r11d, r10b
movzx esi, byte [rcx + r11 + 2]
add r9b, sil
movzx edi, r9b
mov bl, byte [rcx + rdi + 2]
mov byte [rcx + r11 + 2], bl
mov byte [rcx + rdi + 2], sil
movzx ebx, byte [rcx + r11 + 2]
add esi, ebx
movzx ebx, sil
mov bl, byte [rcx + rbx + 2]
xor byte [rdx + rax - 1], bl
lea rbx, [r8 + rax]
inc rbx
inc rax
cmp rbx, 1
jne 0x14003a328
mov byte [rcx], r10b
mov byte [rcx + 1], r9b
pop rbx
pop rdi
pop rsi
ret
Function at 0x14003c1bc
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
movaps xmm0, xmmword [str.expand_32_byte_k_]
movups xmmword [rcx], xmm0
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x20], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x24], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x28], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x2c], eax
mov dword [rcx + 0x80], 0x40
ret
Function at 0x14003d800
Capabilities:
Encode data using xor

Disassembly:
push rsi
mov eax, ecx
mov r9, qword [rdx + 8]
test r9, r9
je 0x14003d865
mov r8, qword [rdx]
xor r11d, r11d
mov r10d, 0xf
movzx ecx, byte [r8 + r11]
xor ecx, eax
mov eax, ecx
and eax, r10d
shr ecx, 4
imul edx, eax, 0x11111044
xor edx, ecx
imul ecx, eax, 0x8840020
imul esi, eax, 0x4220000
xor esi, ecx
xor esi, edx
and edx, r10d
shr esi, 4
imul eax, edx, 0x11111044
imul ecx, edx, 0x8840020
xor ecx, eax
imul eax, edx, 0x4220000
xor eax, esi
xor eax, ecx
inc r11
cmp r9, r11
jne 0x14003d818
pop rsi
ret

Function at 0x14003f076
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov r9, rcx
shr r9, 0x20
mov r10d, dword [rdx + r8*4]
mov eax, r9d
rol eax, 4
xor r10d, r9d
xor eax, dword [rdx + r8*4 + 0x40]
movd xmm1, r10d
shr r10d, 8
movd xmm0, r10d
punpckldq xmm0, xmm1
movd xmm1, eax
shr eax, 8
movd xmm2, eax
punpckldq xmm2, xmm1
punpcklqdq xmm0, xmm2
pand xmm0, xmmword [0x1400a3560]
por xmm0, xmmword [0x1400a3570]
pxor xmm1, xmm1
lea rax, [0x1400a3360]
movdqa xmm2, xmmword [str._b_b_b_b_b_b_b_b]
lea rdx, [0x1400a3560]
movdqu xmm3, xmmword [rax]
pshufd xmm3, xmm3, 0x1b
pand xmm3, xmm0
pxor xmm1, xmm3
paddd xmm0, xmm2
add rax, 0x10
cmp rax, rdx
jb 0x14003f0e1
pshufd xmm2, xmm1, 0xe7
movd r8d, xmm2
mov edx, r8d
shl edx, 4
pshufd xmm2, xmm0, 0xe7
movd eax, xmm2
mov r10d, 0x40004
and eax, r10d
imul eax, eax, 0x3c00
and eax, edx
xor eax, r8d
pshufd xmm2, xmm1, 0x4e
movd r11d, xmm2
mov esi, r11d
shl esi, 4
pshufd xmm2, xmm0, 0x4e
movd edx, xmm2
and edx, r10d
imul r8d, edx, 0x3c00
and r8d, esi
xor r8d, r11d
pshufd xmm2, xmm1, 0xe5
movd r11d, xmm2
mov esi, r11d
shl esi, 4
pshufd xmm2, xmm0, 0xe5
movd edx, xmm2
and edx, r10d
imul ebx, edx, 0x3c00
and ebx, esi
xor ebx, r11d
movd r11d, xmm1
mov esi, r11d
shl esi, 4
movd edi, xmm0
and edi, r10d
imul edi, edi, 0x3c00
and edi, esi
xor edi, r11d
and edi, 0xf000f000
shr eax, 0xc
and eax, 0xf000f
shr r8d, 4
and r8d, 0xf000f00
shr ebx, 8
and ebx, 0xf000f0
or ebx, r8d
or ebx, edi
or eax, ebx
shr ebx, 4
xor ebx, eax
and ebx, 0x7030702
xor eax, ebx
shl ebx, 4
xor ebx, eax
mov edx, ebx
shr edx, 8
xor edx, eax
and edx, 0x4e009e
xor ebx, edx
shl edx, 8
xor edx, ebx
mov eax, edx
shr eax, 0x10
xor eax, edx
and eax, 0xd9d3
xor edx, eax
shl eax, 0x10
xor eax, edx
mov edx, eax
shr edx, 4
xor edx, eax
and edx, 0x5040004
mov ebx, edx
xor ebx, eax
shl edx, 4
shr eax, 1
xor eax, ebx
and eax, 0x4045015
xor edx, ecx
xor edx, ebx
xor edx, eax
add eax, eax
xor eax, edx
shl rax, 0x20
or rax, r9
pop rbx
pop rdi
pop rsi
ret