joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440657
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x004cb458]
jne 0x437d9a
rol rcx, 0x10
test cx, 0xffff
jne 0x437d96
repz ret
ror rcx, 0x10
jmp 0x4405b0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x004d1720]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x004d1818]
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 0x440635
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, [0x004d1720]
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 0x440657
mov rax, qword [rsp + 0x88]
mov qword [0x004d1818], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x004d17b8], rax
mov rax, qword [0x004d1818]
mov qword [0x004d1690], rax
mov rax, qword [rsp + 0x90]
mov qword [0x004d17a0], rax
mov dword [0x004d1680], 0xc0000409
mov dword [0x004d1684], 1
mov rax, qword [0x004cb458]
mov qword [rsp + 0x68], rax
mov rax, qword [0x004cb460]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x004d1718], eax
mov ecx, 1
call fcn.00468b80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x004ad878]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x004d1718], 0
jne 0x4406de
mov ecx, 1
call fcn.00468b80
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 0x4688c0
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.00441540
xor ebx, ebx
cmp qword [0x004d2120], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x4689f1
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x468923
xor eax, eax
jmp 0x468ad1
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x46891c
mov rcx, rax
call fcn.004414d0
lea rdx, str.GetActiveWindow
mov rcx, rbp
mov qword [0x004d2120], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004414d0
lea rdx, str.GetLastActivePopup
mov rcx, rbp
mov qword [0x004d2128], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004414d0
lea rcx, [rsp + 0x30]
mov qword [0x004d2130], rax
call fcn.0043ddb0
test eax, eax
je 0x4689a7
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.004401f0
cmp dword [rsp + 0x30], 2
jne 0x4689f1
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004414d0
test rax, rax
mov qword [0x004d2140], rax
je 0x4689f1
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004414d0
mov qword [0x004d2138], rax
mov rcx, qword [0x004d2138]
cmp rcx, rsi
je 0x468a83
cmp qword [0x004d2140], rsi
je 0x468a83
call fcn.004415a0
call rax
test rax, rax
mov rbp, rax
je 0x468a4e
mov rcx, qword [0x004d2140]
call fcn.004415a0
lea rcx, [rsp + 0x38]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x468a4e
test byte [rsp + 0x48], 1
jne 0x468a83
lea rcx, [rsp + 0x34]
call fcn.0043dea0
test eax, eax
je 0x468a70
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.004401f0
cmp dword [rsp + 0x34], 4
jb 0x468a7d
bts edi, 0x15
jmp 0x468ab7
bts edi, 0x12
jmp 0x468ab7
mov rcx, qword [0x004d2128]
cmp rcx, rsi
je 0x468ab7
call fcn.004415a0
call rax
test rax, rax
mov rbx, rax
je 0x468ab7
mov rcx, qword [0x004d2130]
cmp rcx, rsi
je 0x468ab7
call fcn.004415a0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x004d2120]
call fcn.004415a0
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140001cb0
Capabilities:
Enumerate threads
Hide thread from debugger

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
call sub.KERNEL32.dll_GetCurrentProcessId
mov esi, eax
mov ecx, 0xc
mov edx, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x140001d71
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x24], 0x1c
lea rdx, [rsp + 0x24]
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x140001d69
mov r15, qword [sym.imp.ntdll.dll_NtSetInformationThread]
lea rbx, [rsp + 0x24]
jmp 0x140001d2f
mov rcx, rdi
mov rdx, rbx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
je 0x140001d69
cmp dword [rsp + 0x30], esi
jne 0x140001d20
mov r8d, dword [rsp + 0x2c]
mov ecx, 0x60
xor edx, edx
call sub.KERNEL32.dll_OpenThread
test rax, rax
je 0x140001d20
mov r14, rax
mov rcx, rax
mov edx, 0x11
xor r8d, r8d
xor r9d, r9d
call r15
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
jmp 0x140001d20
mov rcx, rdi
call sub.KERNEL32.dll_CloseHandle
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400022d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, rdx
mov rbx, rcx
xor r14d, r14d
xor ecx, ecx
call sub.KERNEL32.dll_GetModuleHandleW
test rax, rax
je 0x140002399
mov rsi, rax
movsxd rax, dword [rax + 0x3c]
mov r12d, dword [rax + rsi + 0x88]
mov ebp, dword [r12 + rsi + 0x18]
test rbp, rbp
je 0x140002399
xor r13d, r13d
lea r14, [rsp + 0x20]
jmp 0x140002328
inc r13
cmp rbp, r13
je 0x140002396
mov eax, dword [rsi + r12 + 0x20]
add rax, rsi
mov r15d, dword [rax + r13*4]
add r15, rsi
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea r8, [rax + 1]
mov rcx, r14
mov rdx, r15
call fcn.14004fb90
cmp qword [rsp + 0x20], 0
jne 0x140002320
cmp qword [rsp + 0x30], rdi
jne 0x140002320
mov rcx, qword [rsp + 0x28]
mov rdx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140002320
mov eax, dword [rsi + r12 + 0x1c]
add rax, rsi
mov eax, dword [rax + r13*4]
movzx ecx, word [rax + rsi]
cmp ecx, 0x50f
jne 0x140002396
movzx edx, byte [rax + rsi + 2]
mov r14d, 1
jmp 0x140002399
xor r14d, r14d
mov eax, r14d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400023b0
Capabilities:
Persist via run registry key

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x30], r8
mov qword [rbp - 0x28], r9
mov qword [rbp - 8], 0xffffffff80000001
mov dword [rsp + 0x20], 0xf003f
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea rcx, [rbp - 0x20]
lea rdx, [rbp - 8]
mov r9d, 0x2d
call fcn.140014d10
cmp byte [rbp - 0x18], 0
mov rbx, qword [rbp - 0x20]
je 0x140002456
mov qword [rbp - 0x10], rbx
lea rcx, [rbp - 0x10]
lea r9, [rbp - 0x30]
mov rdx, rdi
mov r8, rsi
call fcn.1400153d0
mov rdi, rax
test rax, rax
je 0x140002486
mov qword [rbp - 0x20], rdi
movzx eax, byte [0x140108f61]
mov ecx, 8
mov edx, 8
call fcn.1400168f0
test rax, rax
je 0x1400024ad
mov rsi, rax
mov qword [rax], rdi
lea rcx, [rbp - 0x10]
call fcn.140029140
jmp 0x14000247b
mov qword [rbp - 0x20], rbx
movzx eax, byte [0x140108f61]
mov ecx, 8
mov edx, 8
call fcn.1400168f0
test rax, rax
je 0x1400024be
mov rsi, rax
mov qword [rax], rbx
lea rcx, [rbp - 8]
call fcn.140029140
jmp 0x14000249a
lea rcx, [rbp - 0x10]
call fcn.140029140
lea rcx, [rbp - 8]
call fcn.140029140
xor esi, esi
lea rdx, fcn.140001030
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov ecx, 8
mov edx, 8
call fcn.1400bf820
jmp 0x1400024cd
mov ecx, 8
mov edx, 8
call fcn.1400bf820
ud2
Function at 0x140003250
Capabilities:
Get hostname

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
movzx eax, byte [0x140108f61]
mov ecx, 0x20a
mov edx, 2
call fcn.1400168f0
test rax, rax
je 0x1400033a8
mov dword [rbp - 0x14], 0x105
lea rdx, [rbp - 0x14]
mov qword [rbp - 0x10], rax
mov rcx, rax
call sub.KERNEL32.dll_GetComputerNameW
test eax, eax
je 0x140003324
mov r8d, dword [rbp - 0x14]
lea rcx, [rbp - 0x58]
mov rdx, qword [rbp - 0x10]
call fcn.140034870
mov rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x48]
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x20], rdx
call fcn.14003c690
mov rdi, qword [rbp - 0x38]
movabs rax, 0x8000000000000000
cmp rdi, rax
jne 0x140003342
mov r14, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
test rdi, rdi
je 0x14000334c
js 0x1400033b7
movzx eax, byte [0x140108f61]
mov edx, 1
mov rcx, rdi
call fcn.1400168f0
mov rbx, rax
test rax, rax
jne 0x140003351
mov ecx, 1
mov rdx, rdi
call fcn.1400bf820
jmp 0x1400033bc
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov edx, 0x20a
mov r8d, 2
mov rcx, qword [rbp - 0x10]
jmp 0x140003394
mov rbx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
jmp 0x140003362
mov ebx, 1
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, rdi
mov rcx, qword [rbp - 0x10]
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rax
mov edx, 0x20a
mov r8d, 2
call fcn.140016900
mov rdx, qword [rbp - 0x58]
test rdx, rdx
je 0x140003399
mov r8d, 1
mov rcx, qword [rbp - 0x20]
call fcn.140016900
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov ecx, 2
mov edx, 0x20a
call fcn.1400bf820
call fcn.14004e0a0
ud2
Function at 0x140003450
Capabilities:
Get hostname

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov dword [rbp - 0xc], 0
xor edi, edi
lea rdx, [rbp - 0xc]
xor ecx, ecx
call sub.KERNEL32.dll_GetComputerNameW
mov ebx, dword [rbp - 0xc]
test rbx, rbx
mov qword [rbp - 0x18], rbx
je 0x1400034b9
lea rdi, [rbx + rbx]
movzx eax, byte [0x140108f61]
mov edx, 2
mov rcx, rdi
call fcn.1400168f0
test rax, rax
je 0x1400035d8
mov rcx, rax
mov edi, dword [rbp - 0xc]
jmp 0x1400034be
mov ecx, 2
lea rdx, [rbp - 0xc]
mov qword [rbp - 0x20], rcx
call sub.KERNEL32.dll_GetComputerNameW
test eax, eax
je 0x140003548
lea rcx, [rbp - 0x60]
mov rdx, qword [rbp - 0x20]
mov r8, rdi
call fcn.140034870
mov rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x50]
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x28], rdx
call fcn.14003c690
mov rdi, qword [rbp - 0x40]
movabs rax, 0x8000000000000000
cmp rdi, rax
jne 0x14000356c
mov r14, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x30]
test rdi, rdi
je 0x140003576
js 0x1400035e5
movzx eax, byte [0x140108f61]
mov edx, 1
mov rcx, rdi
call fcn.1400168f0
mov rbx, rax
test rax, rax
jne 0x14000357b
mov ecx, 1
mov rdx, rdi
call fcn.1400bf820
jmp 0x1400035ea
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp - 0x18]
test edx, edx
je 0x1400035c9
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x20]
jmp 0x1400035c4
mov rbx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x30]
jmp 0x14000358c
mov ebx, 1
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, rdi
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rax
mov rdx, qword [rbp - 0x18]
test edx, edx
je 0x1400035b1
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x20]
call fcn.140016900
mov rdx, qword [rbp - 0x60]
test rdx, rdx
je 0x1400035c9
mov r8d, 1
mov rcx, qword [rbp - 0x28]
call fcn.140016900
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov ecx, 2
mov rdx, rdi
call fcn.1400bf820
call fcn.14004e0a0
ud2
Function at 0x140004030
Capabilities:
Get session user name

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
movzx eax, byte [0x140108f61]
mov ecx, 0x202
mov edx, 2
call fcn.1400168f0
test rax, rax
je 0x14000418b
mov dword [rbp - 0x14], 0x101
lea rdx, [rbp - 0x14]
mov qword [rbp - 0x10], rax
mov rcx, rax
call sub.ADVAPI32.dll_GetUserNameW
test eax, eax
je 0x140004107
mov r8d, dword [rbp - 0x14]
dec r8
lea rcx, [rbp - 0x58]
mov rdx, qword [rbp - 0x10]
call fcn.140034870
mov rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x48]
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x20], rdx
call fcn.14003c690
mov rdi, qword [rbp - 0x38]
movabs rax, 0x8000000000000000
cmp rdi, rax
jne 0x140004125
mov r14, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
test rdi, rdi
je 0x14000412f
js 0x14000419a
movzx eax, byte [0x140108f61]
mov edx, 1
mov rcx, rdi
call fcn.1400168f0
mov rbx, rax
test rax, rax
jne 0x140004134
mov ecx, 1
mov rdx, rdi
call fcn.1400bf820
jmp 0x14000419f
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov edx, 0x202
mov r8d, 2
mov rcx, qword [rbp - 0x10]
jmp 0x140004177
mov rbx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
jmp 0x140004145
mov ebx, 1
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, rdi
mov rcx, qword [rbp - 0x10]
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rax
mov edx, 0x202
mov r8d, 2
call fcn.140016900
mov rdx, qword [rbp - 0x58]
test rdx, rdx
je 0x14000417c
mov r8d, 1
mov rcx, qword [rbp - 0x20]
call fcn.140016900
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov ecx, 2
mov edx, 0x202
call fcn.1400bf820
call fcn.14004e0a0
ud2
Function at 0x140009130
Capabilities:
Resume thread

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, [rbp - 0x38]
call fcn.1400131f0
mov byte [rbp - 1], 1
call sub.KERNEL32.dll_GetCurrentThread
mov rsi, rax
mov dword [rbp - 0x20], 0
mov byte [rbp - 1], 1
mov qword [rsp + 0x20], 0
lea r8, [rbp - 0x20]
mov rcx, rax
mov edx, 0xa
mov r9d, 4
call qword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
jne 0x14000919d
cmp dword [rbp - 0x20], 0
je 0x14000919d
mov byte [rbp - 1], 1
mov rcx, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_NtResumeThread]
mov byte [rbp - 1], 1
call fcn.140001cb0
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [rbp - 0x20], xmm0
mov byte [rbp - 1], 0
lea rcx, [rbp - 0x20]
call fcn.140012b50
test rax, rax
jne 0x1400091cf
add rsp, 0x68
pop rsi
pop rbp
ret
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
lea rax, str.srcm.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1400c2758]
lea r9, fcn.140008f30
lea r8, [rbp - 0x20]
mov edx, 0x2b
call fcn.1400bfd10
ud2
Function at 0x14000c190
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14000c1d2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14000c1da
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14000c1eb
jmp 0x14000c202
xor r10d, r10d
jmp 0x14000c28d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14000c202
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14000c219
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x14000c239
add r11, r8
jmp 0x14000c36a
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14000c302
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14000c2b0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x14000c320
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x14000c332
jmp 0x14000c34c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14000c34c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x14000c366
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x140014e40
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov qword [rbp - 0x30], rcx
mov r14, qword [rdx]
add r9, r8
mov qword [rbp - 0x28], r8
mov qword [rbp - 0x20], r9
mov word [rbp - 0x18], 0
mov dword [rbp - 0x10], 1
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x28]
call fcn.14000fe50
mov dword [rbp - 4], 0x800
mov dword [rbp - 8], 0
movzx eax, byte [0x140108f61]
mov ecx, 0x800
mov edx, 1
call fcn.1400168f0
test rax, rax
je 0x14001501b
mov rdi, rax
mov qword [rbp - 0x28], 0x800
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 0
mov rbx, qword [rbp - 0x48]
lea rsi, [rbp - 4]
lea r15, [rbp - 8]
mov r12, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
sub r12, rax
nop
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
mov r9, r15
call sub.ADVAPI32.dll_RegQueryValueExW
mov r13d, eax
cmp eax, 0xea
jne 0x140014f31
mov r8d, dword [rbp - 4]
cmp r12, r8
jae 0x140014ef0
lea rcx, [rbp - 0x28]
mov rdx, qword [rbp - 0x38]
call fcn.1400be6b0
mov rdi, qword [rbp - 0x20]
jmp 0x140014edf
movabs r15, 0x8000000000000000
test r13d, r13d
jne 0x140014f64
mov eax, dword [rbp - 4]
mov qword [rbp - 0x18], rax
mov esi, dword [rbp - 8]
mov r14, qword [rbp - 0x28]
cmp esi, 0xb
jbe 0x140014f8c
movabs r13, 0xde00000002
test r14, r14
jne 0x140014f75
jmp 0x140014f86
shl r13, 0x20
or r13, 2
mov r14, qword [rbp - 0x28]
test r14, r14
je 0x140014f86
mov r8d, 1
mov rcx, rdi
mov rdx, r14
call fcn.140016900
mov rdi, r13
mov r14, r15
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x140014fa6
add rdx, rdx
mov r8d, 2
mov rcx, rbx
call fcn.140016900
cmp r14, r15
jne 0x140014fbb
mov rsi, qword [rbp - 0x30]
mov qword [rsi + 8], rdi
mov dword [rsi], 1
jmp 0x140015004
cmp sil, 4
jne 0x140014fd5
mov eax, dword [rdi]
mov rsi, qword [rbp - 0x30]
mov dword [rsi + 4], eax
xor eax, eax
mov dword [rsi], eax
test r14, r14
jne 0x140014ff3
jmp 0x140015004
movabs rax, 0xde00000002
mov rsi, qword [rbp - 0x30]
mov qword [rsi + 8], rax
mov eax, 1
mov dword [rsi], eax
test r14, r14
je 0x140015004
mov r8d, 1
mov rcx, rdi
mov rdx, r14
call fcn.140016900
mov rax, rsi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 1
mov edx, 0x800
call fcn.1400bf820
ud2
Function at 0x1400150d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov qword [rbp - 0x38], rcx
mov r14, qword [rdx]
mov rax, qword [r8 + 8]
mov rcx, qword [r8 + 0x10]
add rcx, rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rcx
mov word [rbp - 0x20], 0
mov dword [rbp - 0x18], 1
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x30]
call fcn.14000fe50
mov dword [rbp + 0xc], 0x800
mov dword [rbp + 8], 0
movzx eax, byte [0x140108f61]
mov ecx, 0x800
mov edx, 1
call fcn.1400168f0
test rax, rax
je 0x1400152c5
mov rbx, rax
mov qword [rbp - 0x10], 0x800
mov qword [rbp - 8], rax
mov qword [rbp], 0
mov rdi, qword [rbp - 0x48]
lea r12, [rbp + 0xc]
lea r15, [rbp + 8]
mov rsi, qword [rbp - 0x10]
mov r13, qword [rbp]
sub rsi, r13
nop word cs:[rax + rax]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call sub.ADVAPI32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x1400151cd
mov r8d, dword [rbp + 0xc]
cmp rsi, r8
jae 0x140015190
lea rcx, [rbp - 0x10]
mov rdx, r13
call fcn.1400be6b0
mov rbx, qword [rbp - 8]
jmp 0x140015177
movabs r14, 0x8000000000000000
test eax, eax
jne 0x1400151fa
mov eax, dword [rbp + 0xc]
mov qword [rbp], rax
mov eax, dword [rbp + 8]
cmp eax, 0xb
jbe 0x1400152a0
movabs rax, 0xde00000002
jmp 0x140015202
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x30], r14
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x140015221
mov r8d, 1
mov rcx, rbx
call fcn.140016900
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x14001523b
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.140016900
cmp qword [rbp - 0x30], r14
jne 0x140015252
mov rax, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x38]
mov qword [rsi + 8], rax
mov qword [rsi], r14
jmp 0x140015289
lea rdx, [rbp - 0x30]
mov rsi, qword [rbp - 0x38]
mov rcx, rsi
call fcn.1400292a0
mov rdx, qword [rbp - 0x30]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x140015289
test rdx, rdx
je 0x140015289
mov rcx, qword [rbp - 0x28]
mov r8d, 1
call fcn.140016900
mov rax, rsi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp]
mov qword [rbp - 0x20], rcx
movups xmm0, xmmword [rbp - 0x10]
movaps xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x18], al
mov rdx, qword [rbp - 0x50]
test rdx, rdx
jne 0x14001522a
jmp 0x14001523b
mov ecx, 1
mov edx, 0x800
call fcn.1400bf820
ud2
Function at 0x1400153d0
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
lea rcx, [rbp - 0x18]
mov rdx, r9
call fcn.140029ec0
mov rdi, qword [rdi]
add rsi, rbx
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rsi
mov word [rbp - 0x40], 0
mov dword [rbp - 0x38], 1
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x50]
call fcn.14000fe50
movzx r9d, byte [rbp]
mov rdx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x10]
mov eax, dword [rbp - 8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov qword [rbp + 8], rdx
xor r8d, r8d
call sub.ADVAPI32.dll_RegSetValueExW
mov edi, eax
mov rdx, qword [rbp - 0x30]
test rdx, rdx
je 0x14001546d
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 8]
call fcn.140016900
mov rdx, qword [rbp - 0x18]
test rdx, rdx
je 0x140015484
mov r8d, 1
mov rcx, rsi
call fcn.140016900
mov rcx, rdi
shl rcx, 0x20
or rcx, 2
xor eax, eax
test edi, edi
cmovne rax, rcx
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop rbp
ret

Function at 0x140016940
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret