joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140045e50
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14089d1e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14089d1c0]
test rbx, rbx
je 0x140045ea4
mov rdi, qword [sym.imp.kernel32.dll_TlsGetValue]
mov rsi, qword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x140045e9b
or r12, r12
je 0x140045e9b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140045e80
lea rcx, [0x14089d1e0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400461e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x140895c00]
sub r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x140046259
mov rcx, r10
call fcn.1400460b0
test eax, eax
je 0x140046259
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
or eax, eax
je 0x140046256
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
push rdx
pop rax
nop
cmp rcx, rdx
jb 0x14004624d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x140046259
add r8, 0x28
cmp r8, r9
jne 0x140046238
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x140001ab0
Capabilities:
Terminate process

Disassembly:
movzx r9d, si
mov r8, rbx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001218
mov dword [0x14001b038], eax
cmp dword [0x14001b020], 0
jne 0x140003f08
mov ecx, eax
call qword [sym.imp.MSVCR120_CLR0400.dll_exit]
nop
jmp 0x140003f08
sub rsp, 0x28
call fcn.1400016e0
add rsp, 0x28
jmp 0x140001ac0
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
and qword [rax - 0x10], 0
and dword [rax - 0x18], 0
call qword [sym.imp.MSVCR120_CLR0400.dll___crtGetShowWindowMode]
movzx esi, ax
mov rcx, qword gs:[0x30]
mov rdx, qword [rcx + 8]
xor ebx, ebx
xor eax, eax
lock cmpxchg qword [0x14001b218], rdx
jne 0x140003e92
mov eax, dword [0x14001b220]
cmp eax, 1
je 0x140003ea7
mov eax, dword [0x14001b220]
test eax, eax
jne 0x140003ebf
mov dword [0x14001b220], 1
lea rdx, [0x1400117c8]
lea rcx, [0x1400117a8]
call fcn.140149000
test eax, eax
jne 0x140003eb5
mov eax, dword [0x14001b220]
cmp eax, 1
jne 0x140001b6c
lea rdx, [0x1400117a0]
lea rcx, [0x140011758]
call sub.MSVCR120_CLR0400.dll__initterm
mov dword [0x14001b220], 2
test ebx, ebx
jne 0x140001b79
xor eax, eax
xchg qword [0x14001b218], rax
cmp qword [0x14001b238], 0
jne 0x140003ecf
mov rax, qword [sym.imp.MSVCR120_CLR0400.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
cmp byte [rbx], 0x20
jbe 0x140001bc4
cmp byte [rbx], 0x22
je 0x140003f20
movzx ecx, byte [rbx]
call qword [sym.imp.MSVCR120_CLR0400.dll__ismbblead]
test eax, eax
jne 0x140003f33
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x140001b9a
cmp byte [rbx], 0
je 0x140001bcd
test edi, edi
jne 0x140001b9f
mov al, byte [rbx]
dec al
cmp al, 0x1f
ja 0x1400011e1
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x140001bcd
cmp rax, rdx
jne 0x140003ea1
mov ebx, 1
jmp 0x140001b02
jmp 0x140001af1
lea ecx, [rax + 0x1e]
call sub.MSVCR120_CLR0400.dll__amsg_exit
jmp 0x140001b44
mov eax, 0xff
jmp 0x140003f6e
mov dword [0x14001b37c], 1
jmp 0x140001b44
lea rcx, [0x14001b238]
call fcn.14000e710
test eax, eax
je 0x140001b87
mov rbx, qword [0x14001b238]
mov rcx, rbx
mov rax, qword [0x140011568]
call rax
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call rbx
nop
jmp 0x140001b87
cmp dword [0x14001b37c], 0
jne 0x140003f1d
call qword [sym.imp.MSVCR120_CLR0400.dll__cexit]
mov eax, dword [0x14001b038]
jmp 0x140003f6e
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
jmp 0x140001ba8
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x140001bb9
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14000da84
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140017850], eax
call fcn.14000d7d0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140017850], 0
jne case.default.0x14000dada
mov ecx, 1
call fcn.14000d7d0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
and eax, 0xd75cf566
imul ecx, dword [rsi + rdi*2 + 0x7b], 0xffffffa5
sub al, 0xad
ret 0x6af4
Function at 0x140002950
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x14000dee0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, qword [rdx + 0x20]
mov r11, qword [rdx + 0x28]
lea r10, [r11 + 1]
mov qword [rdx + 0x28], r10
mov al, 1
cmp r10, rsi
jae 0x14000df20
mov rax, qword [rdx + 0x18]
movzx edi, byte [rax + r10]
mov al, 1
cmp edi, 0x2b
je 0x14000df15
cmp edi, 0x2d
jne 0x14000df20
xor eax, eax
add r11, 2
mov qword [rdx + 0x28], r11
mov r10, r11
cmp r10, rsi
jae 0x14000e0b4
mov rdi, qword [rdx + 0x18]
movzx r11d, byte [rdi + r10]
lea rbx, [r10 + 1]
mov qword [rdx + 0x28], rbx
add r11b, 0xd0
cmp r11b, 0xa
jae 0x14000e0bf
movzx r11d, r11b
cmp rbx, rsi
jae 0x14000dfbd
mov ebx, 1
sub rbx, rsi
add r10, 2
jmp 0x14000df7c
movzx esi, sil
lea r11d, [r11 + r11*4]
lea r11d, [rsi + r11*2]
lea rsi, [rbx + r10]
inc rsi
inc r10
cmp rsi, 2
je 0x14000dfbd
movzx esi, byte [rdi + r10 - 1]
add sil, 0xd0
cmp sil, 0xa
jae 0x14000dfbd
mov qword [rdx + 0x28], r10
cmp r11d, 0xccccccb
jle 0x14000df60
cmp r11d, 0xccccccc
jne 0x14000dfa8
cmp sil, 7
jbe 0x14000df60
test r9, r9
sete r9b
mov byte [rsp + 0x20], al
call fcn.1401e26c0
jmp 0x14000e0a1
mov r10d, dword [rsp + 0x80]
test al, al
je 0x14000dfda
lea eax, [r10 + r11]
sar eax, 0x1f
add eax, 0x80000000
add r10d, r11d
jmp 0x14000dfea
xor eax, eax
cmp r10d, r11d
setns al
add eax, 0x7fffffff
sub r10d, r11d
cmovo r10d, eax
movq xmm1, r9
punpckldq xmm1, xmmword [0x1401ed900]
subpd xmm1, xmmword [0x1401ed910]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x135
jb 0x14000e05c
xorpd xmm1, xmm1
movsd xmm2, qword [0x1401ed920]
nop dword [rax + rax]
ucomisd xmm0, xmm1
jne 0x14000e038
jnp 0x14000e08a
test r10d, r10d
jns 0x14000e0e8
divsd xmm0, xmm2
add r10d, 0x134
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x135
jae 0x14000e030
mov eax, eax
mov r9, qword [str.Pw__]
movsd xmm1, qword [r9 + rax*8]
test r10d, r10d
js 0x14000e0a9
mulsd xmm0, xmm1
movapd xmm1, xmmword [0x1401ed930]
andpd xmm1, xmm0
ucomisd xmm1, qword [0x1401ed940]
jae 0x14000e0e8
test r8b, r8b
jne 0x14000e097
xorpd xmm0, xmmword [0x1401ed950]
movsd qword [rcx + 8], xmm0
xor eax, eax
mov qword [rcx], rax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
divsd xmm0, xmm1
test r8b, r8b
je 0x14000e08f
jmp 0x14000e097
mov qword [rsp + 0x28], 5
jmp 0x14000e0c8
mov qword [rsp + 0x28], 0xd
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1401e2760
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14000e0a1
mov qword [rsp + 0x28], 0xe
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1401e2760
mov rcx, rsi
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14000e09e
Function at 0x140010180
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x140010216
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1401edcc0]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140010fe0
test rdi, rdi
je 0x1400102a5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1400102be
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x1400103b6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x140010438
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1400103c3
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x140010280
cmp r9, 8
jae 0x1400103cc
jmp 0x140010438
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140010fe0
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, r9
mov r8, qword [rsp + 0x30]
add r8, rax
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rax, 0xd
xor rax, r8
rol rcx, 0x10
rol r8, 0x20
xor rcx, rdx
add rdx, rax
rol rax, 0x11
add r8, rcx
xor rax, rdx
rol rcx, 0x15
xor rcx, r8
rol rdx, 0x20
xor r8, r9
xor rdx, 0xff
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
shl rcx, 0x10
xor rcx, rdx
add rdx, rax
shr rax, 0x2f
shr rcx, 0x2b
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x140010438
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x140010438
mov r8, rcx
cmp r9, 8
jb 0x140010438
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x1400103d0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140010fe0
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 0x140011022
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14001102a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14001103b
jmp 0x140011052
xor r10d, r10d
jmp 0x1400110dd
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140011052
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140011069
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 0x140011089
add r11, r8
jmp 0x1400111bb
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140011152
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140011100
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140011170
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140011182
jmp 0x14001119d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14001119d
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x1400111b7
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 0x140013d20
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov r8, rdx
mov rax, qword [rcx + 0x38]
test rax, rax
jle 0x140013d47
cmp qword [rcx + 0x40], 0
js 0x140013d47
add rax, 0xffffffffffffff00
mov qword [rcx + 0x38], rax
mov edx, 6
jmp fcn.14001a0c0
mov rdx, r8
jmp fcn.140014000
Function at 0x140014000
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xc0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
add rcx, 0x48
xorps xmm0, xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
mov rdx, rbp
mov r8d, 0x20
call fcn.14001c7a0
mov qword [rbp + 0x28], rax
test rax, rax
je 0x140014074
mov qword [rbp + 0x30], rdx
mov rax, qword [rdx]
test rax, rax
je 0x140014058
mov rcx, qword [rbp + 0x28]
call rax
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400140bd
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x28]
call fcn.140019fc0
jmp 0x1400140bd
movaps xmm0, xmmword [rbp]
movaps xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x50]
lea r8, [0x1401ef470]
lea rdx, [rbp - 0x20]
mov r9d, 8
call fcn.14001c5b0
mov rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
movaps xmm2, xmmword [rbp - 0x30]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi + 0x20], xmm2
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov edx, 6
mov r8, rsi
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
jmp fcn.14001a0c0
Function at 0x140018a70
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, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rsi, rcx
mov rbx, qword [rdx]
add r9, r8
mov qword [rbp - 0x30], r8
mov qword [rbp - 0x28], r9
mov word [rbp - 0x20], 0
mov dword [rbp - 0x18], 1
lea rcx, [rbp - 0x48]
lea rdx, [rbp - 0x30]
call fcn.140015260
mov dword [rbp + 0x1c], 0x800
mov dword [rbp + 0xc], 0
movzx eax, byte [0x140328c21]
mov ecx, 0x800
mov edx, 1
call fcn.140019fb0
test rax, rax
je 0x140018c4b
mov r14, rax
mov qword [rbp + 0x10], rsi
mov qword [rbp - 0x10], 0x800
mov qword [rbp - 8], rax
mov qword [rbp], 0
mov rdi, qword [rbp - 0x40]
lea r12, [rbp + 0x1c]
lea r15, [rbp + 0xc]
mov rsi, qword [rbp - 0x10]
mov r13, qword [rbp]
sub rsi, r13
nop dword [rax]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call sub.ADVAPI32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x140018b5d
mov r8d, dword [rbp + 0x1c]
cmp rsi, r8
jae 0x140018b20
lea rcx, [rbp - 0x10]
mov rdx, r13
call fcn.1401e22e0
mov r14, qword [rbp - 8]
jmp 0x140018b12
movabs rbx, 0x8000000000000000
test eax, eax
jne 0x140018b8e
mov eax, dword [rbp + 0x1c]
mov qword [rbp], rax
mov eax, dword [rbp + 0xc]
cmp eax, 0xb
mov rsi, qword [rbp + 0x10]
jbe 0x140018c29
movabs rax, 0xde00000002
jmp 0x140018b9a
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x10]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x30], rbx
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x140018bba
mov rcx, qword [rbp - 8]
mov r8d, 1
call fcn.140019fc0
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x140018bd4
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.140019fc0
mov rax, qword [rbp - 0x30]
cmp rax, rbx
jne 0x140018bea
mov rax, qword [rbp - 0x28]
mov qword [rsi + 8], rax
mov qword [rsi], rbx
jmp 0x140018c12
mov qword [rbp + 0x10], rax
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.1401aa4f0
mov rdx, qword [rbp + 0x10]
test rdx, rdx
je 0x140018c12
mov rcx, qword [rbp - 0x28]
mov r8d, 1
call fcn.140019fc0
mov rax, rsi
add rsp, 0xa8
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 - 0x48]
test rdx, rdx
jne 0x140018bc3
jmp 0x140018bd4
mov ecx, 1
mov edx, 0x800
call fcn.1401eafe0
ud2
Function at 0x14001ca50
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x14001cac2
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
mov r15, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov r12, qword [sym.imp.ADVAPI32.dll_SystemFunction036]
jmp 0x14001ca88
add rdi, rbx
sub rsi, rbx
je 0x14001cac2
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, ebx
mov r9d, 2
call r15
cmp eax, 0xbfffffff
jbe 0x14001ca80
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x14001ca80
and ebp, 0x7fffffff
jmp 0x14001cac4
xor ebp, ebp
mov eax, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14002f9f0
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 rbx, rdx
mov rsi, rcx
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.140015260
mov dword [rbp - 4], 0x800
mov dword [rbp - 8], 0
movzx eax, byte [0x140328c21]
mov ecx, 0x800
mov edx, 1
call fcn.140019fb0
test rax, rax
je 0x14002fb8f
mov r14, rax
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 0x800
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 0
mov rdi, qword [rbp - 0x48]
lea r12, [rbp - 4]
lea r15, [rbp - 8]
mov rsi, qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r13, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
sub r13, rax
nop dword [rax + rax]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call rsi
cmp eax, 0xea
jne 0x14002faeb
mov r8d, dword [rbp - 4]
cmp r13, r8
jae 0x14002fab0
lea rcx, [rbp - 0x28]
mov rdx, qword [rbp - 0x38]
call fcn.1401e22e0
mov r14, qword [rbp - 0x20]
jmp 0x14002fa99
test eax, eax
jne 0x14002fb0e
mov eax, dword [rbp - 4]
mov qword [rbp - 0x18], rax
mov eax, dword [rbp - 8]
cmp eax, 0xb
mov rdx, qword [rbp - 0x30]
jbe 0x14002fb72
movabs rax, 0xde00000002
jmp 0x14002fb1a
shl rax, 0x20
or rax, 2
mov rdx, qword [rbp - 0x30]
mov qword [rdx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rdx], rax
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x14002fb43
mov rcx, qword [rbp - 0x20]
mov r8d, 1
call fcn.140019fc0
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x14002fb5d
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.140019fc0
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp - 0x18]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x18], al
mov rdx, qword [rbp - 0x50]
test rdx, rdx
jne 0x14002fb4c
jmp 0x14002fb5d
mov ecx, 1
mov edx, 0x800
call fcn.1401eafe0
ud2
Function at 0x1400b2e10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
cmp dword [rcx], 2
jne 0x1400b2ea6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
pshufd xmm2, xmm0, 0xee
pxor xmm2, xmmword [0x1401edcc0]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmmword [rsp + 0x40], xmm2
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rsi, qword [rdx]
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140010fe0
test rdi, rdi
je 0x1400b2f35
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1400b2f4e
mov rcx, qword [rdx]
mov r8, qword [rcx]
xor edx, edx
test r8, r8
setne dl
movabs rax, 0xcbf29ce484222325
xor rax, rdx
movabs rdx, 0x1efac7090aef4a21
imul rax, rdx
test r8, r8
je 0x1400b3046
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x1400b30c8
mov rcx, qword [rcx + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1400b3053
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x1400b2f10
cmp r9, 8
jae 0x1400b305c
jmp 0x1400b30c8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140010fe0
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, r9
mov r8, qword [rsp + 0x30]
add r8, rax
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rax, 0xd
xor rax, r8
rol rcx, 0x10
rol r8, 0x20
xor rcx, rdx
add rdx, rax
rol rax, 0x11
add r8, rcx
xor rax, rdx
rol rcx, 0x15
xor rcx, r8
rol rdx, 0x20
xor r8, r9
xor rdx, 0xff
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
shl rcx, 0x10
xor rcx, rdx
add rdx, rax
shr rax, 0x2f
shr rcx, 0x2b
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1400b30c8
movzx ecx, byte [rcx + 8]
xor rax, rcx
imul rax, rdx
jmp 0x1400b30c8
mov r8, rcx
cmp r9, 8
jb 0x1400b30c8
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x1400b3060
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret