joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003deb0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14003dee5
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140035c40
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14003e024
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14003df9d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14003e013
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14003dfda
mov r10, qword [rdx]
cmp r10, rax
je 0x14003dfd4
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14003e013
cmp r9, rdx
je 0x14003dfef
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14003e035
cmp r9, rdx
jne 0x14003dfe0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14003df50
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14003e013
Function at 0x140043f40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
mov ecx, 8
call fcn.14004bdf0
mov rcx, qword [rbx]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004b620]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x140043fb9
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004bcb0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400441f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rdi, r8
mov rsi, rdx
sub rdi, rdx
mov rbp, rcx
sar rdi, 2
test rdi, rdi
je 0x1400443cf
mov qword [rsp + 0x60], rbx
mov rbx, qword [rcx + 8]
sub rbx, qword [rcx]
mov qword [rsp + 0x30], r13
sar rbx, 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x140044240
mov eax, ntohs
jmp 0x14004426e
cmp rdi, 0x44
jb 0x14004424d
mov eax, 7
jmp 0x14004426e
cmp rdi, 0x27
jb 0x14004425a
mov eax, 5
jmp 0x14004426e
cmp rdi, 7
jb 0x140044267
mov eax, 3
jmp 0x14004426e
lea rax, [rdi - 1]
shr rax, 1
mov r14, rdi
lea r15, [rbx + 1]
sub r14, rax
shr r14, 1
lea r13, [r14 + rax]
cmp rdi, rbx
jbe 0x140044287
mov r15, rdi
mov r8, rdi
mov edx, 0x8b8b8b8b
shl r8, 2
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
test r15, r15
je 0x14004433f
mov qword [rsp + 0x38], r12
nop dword [rax + rax]
xor edx, edx
lea rax, [rcx + r14]
div rdi
mov r11d, dword [rsi + rdx*4]
lea r10, [rsi + rdx*4]
xor edx, edx
mov rax, rcx
div rdi
lea r12, [rsi + rdx*4]
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
mov r8d, dword [rsi + rdx*4]
xor r8d, dword [r12]
xor r8d, r11d
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x1400442fd
mov rax, rbx
jmp 0x140044312
cmp rcx, rbx
ja 0x14004430f
mov rax, qword [rbp]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x140044312
mov rax, r9
lea r8d, [rax + rdx]
lea eax, [r11 + rdx]
xor edx, edx
mov dword [r10], eax
lea rax, [rcx + r13]
div rdi
inc rcx
add dword [rsi + rdx*4], r8d
mov dword [r12], r8d
cmp rcx, r15
jb 0x1400442b0
mov r12, qword [rsp + 0x38]
add r15, rdi
cmp rcx, r15
jae 0x1400443bb
inc r14
lea rbp, [rcx - 1]
inc r13
xor edx, edx
lea rax, [r14 + rbp]
div rdi
mov r10d, dword [rsi + rdx*4]
lea r11, [rsi + rdx*4]
xor edx, edx
lea rbx, [rbp + 1]
mov rax, rbx
div rdi
mov rax, rbp
mov r9, rdx
xor edx, edx
div rdi
mov ecx, dword [rsi + rdx*4]
xor edx, edx
add ecx, r10d
add ecx, dword [rsi + r9*4]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x5d588b65
mov rax, rbp
add rax, r13
mov rbp, rbx
div rdi
xor r10d, ecx
lea rax, [rbx + 1]
mov dword [r11], r10d
mov r8d, ecx
sub r8d, r9d
xor dword [rsi + rdx*4], r8d
mov dword [rsi + r9*4], r8d
cmp rax, r15
jb 0x140044351
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x20]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400499b0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140049a7c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140049a7c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140049a95
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140049a6c
cmp byte [rax], 0x5c
jne 0x140049a66
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140049a66
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140049a52
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140049a63
test r8b, 0x10
jne 0x140049a66
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140049a66
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140043920
test edi, edi
jne 0x1400499d0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140043910
int3

Function at 0x14004c94c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004c996
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004c996
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004c996
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004c996
cmp dword [rcx + 0x84], 0xe
jbe 0x14004c996
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004c998
xor al, al
add rsp, 0x28
ret

Function at 0x14004cb90
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14004cc14
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x14004cc14
dec r8
sub rdx, 1
jne 0x14004cbfa
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14004ce94
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.14004cc2c
mov ebx, eax
test eax, eax
jne 0x14004cec4
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x14004cf27
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004cf1e
test al, 0x10
je 0x14004cf1e
bt eax, 0xa
jae 0x14004cf17
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.14004cf38
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x14004cf13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14004cf13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
test edi, edi
jne 0x14004cf1e
and dword [rsp + 0x3c], 0
jmp 0x14004cf23
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140004cb3
Capabilities:
Encrypt data using aes via x86 extensions

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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
mov esi, ecx
shr esi, 8
lea r8, [rdx + r8*2]
xor edi, edi
mov r15, rdx
movzx r14d, byte [rdx + 1]
add rdx, 2
lea rbx, [rdi + r14]
cmp byte [r15], sil
jne 0x1400162c2
cmp rdi, rbx
ja 0x140016317
cmp rbx, rax
ja 0x140016317
add rdi, r9
xor r15d, r15d
cmp r14, r15
je 0x1400162c4
lea r12, [r15 + 1]
cmp byte [rdi + r15], cl
mov r15, r12
jne 0x1400162ae
jmp 0x140016309
ja 0x1400162cc
mov rdi, rbx
cmp rdx, r8
jne 0x140016289
add r10, r11
movzx ecx, cx
mov al, 1
lea r8, [r11 + 1]
movzx edx, byte [r11]
test dl, dl
js 0x1400162e5
mov r11, r8
jmp 0x1400162fc
cmp r8, r10
je 0x140016317
and edx, 0x7f
shl edx, 8
movzx r8d, byte [r11 + 1]
add r11, 2
or edx, r8d
sub ecx, edx
js 0x14001630b
xor al, 1
cmp r11, r10
jne 0x1400162d4
jmp 0x14001630b
xor eax, eax
and al, 1
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
ud2
Function at 0x140021bc2
Capabilities:
Encrypt data using speck
Parse credit card information

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x238
movaps xmmword [rsp + 0x220], xmm6
mov qword [rsp + 0x40], rdx
mov rbx, rcx
test r9, r9
je 0x140021d1d
lea rax, [r8 + r9]
xor edx, edx
movaps xmm0, xmmword [0x14008b8d0]
mov rcx, r8
movzx r10d, byte [rcx]
test r10b, r10b
js 0x140021c0c
inc rcx
jmp 0x140021c7d
mov r11d, r10d
and r11d, 0x1f
movzx edi, byte [rcx + 1]
and edi, 0x3f
cmp r10b, 0xdf
jbe 0x140021c5f
movzx esi, byte [rcx + 2]
shl edi, 6
and esi, 0x3f
or esi, edi
cmp r10b, 0xf0
jb 0x140021c6f
movzx r10d, byte [rcx + 3]
and r11d, 7
shl r11d, 0x12
shl esi, 6
and r10d, 0x3f
or r10d, esi
or r10d, r11d
cmp r10d, 0x110000
je 0x140021ce0
add rcx, 4
jmp 0x140021c7d
add rcx, 2
shl r11d, 6
or r11d, edi
mov r10d, r11d
jmp 0x140021c7d
add rcx, 3
shl r11d, 0xc
or esi, r11d
mov r10d, esi
cmp r10d, 0x2e
jne 0x140021c88
xor r11d, r11d
jmp 0x140021cd4
test rdx, rdx
jne 0x140021c97
cmp r10d, 0x2d
je 0x140021d1d
mov r11d, 5
cmp rdx, 4
ja 0x140021cc1
movups xmmword [rsp + 0x50], xmm0
je 0x140024d6e
cmp r10d, dword [rsp + rdx*4 + 0x50]
jne 0x140021cc1
inc rdx
mov r11, rdx
cmp rdx, 4
je 0x140021d1d
lea edx, [r10 - 0x61]
cmp edx, 0x1a
jb 0x140021cd4
add r10d, 0xffffffd0
cmp r10d, 0xa
jae 0x140021d1d
mov rdx, r11
cmp rcx, rax
jne 0x140021bfe
mov rcx, qword [rsp + 0x2a0]
mov rdx, r8
mov r8, rax
call fcn.140012ad1
mov dword [rbx + 8], 0
mov qword [rbx], 0
mov qword [rsp + 0x1e8], rbx
mov r11, qword [rsp + 0x40]
mov eax, dword [r11 + 0x30]
movzx ecx, byte [r11 + 0x34]
xor esi, esi
lea rdx, [rsp + 0x28]
add r9, r8
xorps xmm6, xmm6
lea rdi, [rsp + 0x158]
movups xmmword [rdi + 2], xmm6
movzx r10d, word [rdi + 0x10]
lea r12, [rsp + 0x60]
mov word [r12 + 0x86], r10w
movups xmm0, xmmword [rdi]
movups xmmword [r12 + 0x76], xmm0
mov qword [r12 - 0x10], rsi
mov dword [r12], esi
mov word [r12 + 4], si
lea r10, [rsp + 0x68]
mov byte [r10], sil
mov dword [r10 + 4], esi
mov byte [r10 + 8], sil
mov dword [r10 + 0xc], esi
mov byte [r10 + 0x10], sil
mov dword [r10 + 0x14], esi
mov byte [r10 + 0x18], sil
mov dword [r10 + 0x1c], esi
mov qword [r10 + 0x20], r8
mov qword [r10 + 0x28], r9
mov qword [r10 + 0x30], rdx
mov qword [r10 + 0x38], rsi
mov byte [r10 + 0x4c], cl
shl rcx, 0x20
or rcx, rax
mov qword [rsp + 0x128], rcx
mov qword [r11 + 0x10], rsi
mov dword [rdx + 8], esi
mov qword [rdx], rsi
mov rcx, qword [rsp + 0x2a0]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x1f8], rcx
mov byte [rsp + 0x11b], sil
movups xmmword [rsp + 0x10b], xmm6
mov dword [r10 + 0x48], eax
mov eax, dword [rsp + 0x118]
mov dword [r10 + 0x5d], eax
movups xmm0, xmmword [rsp + 0x108]
movups xmmword [r10 + 0x4d], xmm0
mov dword [r10 + 0x68], esi
lea rax, [rsp + 0xd4]
mov word [rax], si
mov dword [rax + 0x1c], 0x110000
mov byte [rax + 0x20], sil
xor r10d, r10d
Function at 0x140025c68
Capabilities:
Encrypt data using speck

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x228
movaps xmmword [rsp + 0x210], xmm6
mov qword [rsp + 0x120], r9
mov rax, r8
mov rdi, rcx
mov rcx, qword [rsp + 0x298]
add r8, rdx
test rax, rax
je 0x140025dc3
xor ebx, ebx
movaps xmm0, xmmword [0x14008b8d0]
mov rax, rdx
movzx r9d, byte [rax]
test r9b, r9b
js 0x140025cbf
inc rax
jmp 0x140025d34
mov r10d, r9d
and r10d, 0x1f
movzx esi, byte [rax + 1]
and esi, 0x3f
cmp r9b, 0xdf
jbe 0x140025d16
movzx r11d, byte [rax + 2]
shl esi, 6
and r11d, 0x3f
or r11d, esi
cmp r9b, 0xf0
jb 0x140025d26
movzx r9d, byte [rax + 3]
and r10d, 7
shl r10d, 0x12
shl r11d, 6
and r9d, 0x3f
or r9d, r11d
or r9d, r10d
cmp r9d, 0x110000
je 0x140025d94
add rax, 4
jmp 0x140025d34
add rax, 2
shl r10d, 6
or r10d, esi
mov r9d, r10d
jmp 0x140025d34
add rax, 3
shl r10d, 0xc
or r11d, r10d
mov r9d, r11d
cmp r9d, 0x2e
jne 0x140025d3f
xor r10d, r10d
jmp 0x140025d88
test rbx, rbx
jne 0x140025d4a
cmp r9d, 0x2d
je 0x140025dc3
mov r10d, 5
cmp rbx, 4
ja 0x140025d74
movups xmmword [rsp + 0x40], xmm0
je 0x140027f1e
cmp r9d, dword [rsp + rbx*4 + 0x40]
jne 0x140025d74
inc rbx
mov r10, rbx
cmp rbx, 4
je 0x140025dc3
lea r11d, [r9 - 0x61]
cmp r11d, 0x1a
jb 0x140025d88
add r9d, 0xffffffd0
cmp r9d, 0xa
jae 0x140025dc3
mov rbx, r10
cmp rax, r8
jne 0x140025cb1
call fcn.140012ad1
mov dword [rdi + 8], 0
mov qword [rdi], 0
mov qword [rsp + 0x1c0], rdi
mov rax, qword [rsp + 0x290]
xor r9d, r9d
mov qword [rax + 0x10], r9
lea rax, [rsp + 0x20]
mov dword [rax + 8], r9d
mov qword [rax], r9
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x1b8], rcx
mov byte [rsp + 0x113], r9b
xorps xmm6, xmm6
movups xmmword [rsp + 0x103], xmm6
lea r10, [rsp + 0x140]
movups xmmword [r10 + 2], xmm6
movzx ecx, word [r10 + 0x10]
lea r13, [rsp + 0x50]
mov word [r13 + 0x86], cx
movups xmm0, xmmword [r10]
movups xmmword [r13 + 0x76], xmm0
mov qword [r13 - 0x10], r9
mov dword [r13], r9d
mov word [r13 + 4], r9w
lea r14, [rsp + 0x58]
mov byte [r14], r9b
mov dword [r14 + 4], r9d
mov byte [r14 + 8], r9b
mov dword [r14 + 0xc], r9d
mov byte [r14 + 0x10], r9b
mov dword [r14 + 0x14], r9d
mov byte [r14 + 0x18], r9b
mov dword [r14 + 0x1c], r9d
mov qword [r14 + 0x20], rdx
mov qword [r14 + 0x28], r8
mov qword [r14 + 0x30], rax
mov qword [r14 + 0x38], r9
mov rcx, qword [rsp + 0x120]
mov rax, rcx
shr rax, 0x20
mov byte [r14 + 0x4c], al
mov dword [r14 + 0x48], ecx
mov eax, dword [rsp + 0x110]
mov dword [r14 + 0x5d], eax
movups xmm0, xmmword [rsp + 0x100]
movups xmmword [r14 + 0x4d], xmm0
mov dword [r14 + 0x68], r9d
lea rax, [rsp + 0xc4]
mov word [rax], r9w
mov dword [rax + 0x1c], 0x110000
mov byte [rax + 0x20], r9b
xor r10d, r10d
Function at 0x140028ba0
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rbx, rdx
mov rsi, rcx
add r9, r8
lea r14, [rsp + 0x38]
mov qword [r14], r8
mov qword [r14 + 8], r9
mov word [r14 + 0x10], 0
mov dword [r14 + 0x18], 1
lea r12, [rsp + 0x58]
mov rcx, r12
mov rdx, r14
call fcn.14003086a
lea r13, [rsp + 0x30]
mov dword [r13], 0x800
lea r15, [rsp + 0x34]
mov dword [r15], 0
mov ecx, 0x800
xor edx, edx
call fcn.140012d18
mov rdi, rax
mov qword [r14], rax
mov qword [r14 + 8], rdx
mov qword [r14 + 0x10], 0
mov r12, qword [r12]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov rdx, r12
xor r8d, r8d
mov r9, r15
call sub.ADVAPI32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x140028c66
mov r8d, dword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
sub rax, rdx
cmp rax, r8
jae 0x140028c1e
mov rcx, r14
call fcn.140085d20
mov rdi, qword [rsp + 0x38]
jmp 0x140028c1e
test eax, eax
jne 0x140028c88
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x140028cb3
movabs rax, 0xde00000002
jmp 0x140028c90
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
cmp qword [rsp + 0x40], 0
je 0x140028cc7
mov rcx, qword [0x1400ea708]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x140028cc7
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
cmp qword [rsp + 0x60], 0
je 0x140028ce3
mov r8, qword [rsp + 0x58]
mov rcx, qword [0x1400ea708]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14002aec4
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, r8d
mov rsi, rcx
cmp word [rdx], 0
mov eax, 2
mov ebx, 0x17
cmove ebx, eax
mov rax, qword [0x1400ea668]
cmp rax, 3
jne 0x14002af6c
mov ecx, ebx
mov edx, edi
xor r8d, r8d
call qword [sym.imp.ws2_32.dll_socket]
cmp rax, 0xffffffffffffffff
je 0x14002af42
mov rdi, rax
lea r8, [rsp + 0x24]
mov dword [r8], 1
mov rcx, rax
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
test eax, eax
je 0x14002af5b
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
mov qword [rsi + 8], rbx
jmp 0x14002af54
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14002af61
mov qword [rsi + 8], rdi
xor eax, eax
mov qword [rsi], rax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
lea rax, [rsp + 0x23]
mov byte [rax], 1
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x1400ea668]
lea r9, [0x1400bd478]
xor edx, edx
call fcn.140087984
jmp 0x14002aeef
Function at 0x14002e931
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rcx
xor edi, edi
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x20
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
cmp eax, 0xc0000000
jb 0x14002e99a
mov esi, eax
mov rcx, rbx
mov edx, 0x20
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x14002e973
xor edi, edi
jmp 0x14002e99a
xor esi, 0x80000000
je 0x14002e96f
mov al, byte [0x1400ea9e0]
mov ecx, 4
mov edx, 4
call fcn.140010eab
test rax, rax
je 0x14002e9a5
mov rdi, rax
mov dword [rax], esi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov ecx, 4
mov edx, 4
call fcn.140085d53
ud2
Function at 0x14002fb25
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov rsi, qword [rsp + 0x58]
mov eax, dword [rdx]
mov edi, r8d
rol edi, 0x19
mov r10d, dword [rdx + 4]
mov ebx, eax
rol ebx, 0x19
mov r11d, dword [rdx + 8]
mov ebp, r10d
rol ebp, 0x19
mov r14d, r11d
rol r14d, 0x19
mov r15d, r8d
rol r15d, 0xe
xor r15d, edi
mov edi, eax
rol edi, 0xe
xor edi, ebx
mov ebx, r10d
rol ebx, 0xe
xor ebx, ebp
mov ebp, r11d
rol ebp, 0xe
xor ebp, r14d
shr r8d, 3
xor r8d, r15d
add r8d, eax
shr eax, 3
xor eax, edi
add eax, r10d
shr r10d, 3
xor r10d, ebx
add r10d, r11d
shr r11d, 3
xor r11d, ebp
add r11d, dword [rdx + 0xc]
add r8d, dword [rsi + 0xc]
add eax, dword [r9]
add r10d, dword [r9 + 4]
add r11d, dword [r9 + 8]
mov edx, dword [rsi + 4]
mov edi, edx
rol edi, 0xf
mov r9d, dword [rsi]
mov esi, edx
rol esi, 0xd
xor esi, edi
shr edx, 0xa
xor edx, esi
add edx, r11d
mov r11d, r9d
rol r11d, 0xf
mov esi, r9d
rol esi, 0xd
xor esi, r11d
shr r9d, 0xa
xor r9d, esi
mov r11d, edx
rol r11d, 0xf
add r9d, r10d
mov r10d, edx
rol r10d, 0xd
xor r10d, r11d
mov r11d, edx
shr r11d, 0xa
xor r11d, r10d
add r11d, eax
mov eax, r9d
rol eax, 0xf
mov r10d, r9d
rol r10d, 0xd
xor r10d, eax
mov eax, r9d
shr eax, 0xa
xor eax, r10d
add eax, r8d
mov dword [rcx], eax
mov dword [rcx + 4], r11d
mov dword [rcx + 8], r9d
mov dword [rcx + 0xc], edx
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140030481
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg1 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret

Function at 0x14003049d
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg2 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret
Function at 0x140036bfd
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rbx, r8
mov r14, rdx
mov rdi, rcx
mov al, byte [0x1400ea9e0]
mov ecx, 0x10
mov edx, 8
call fcn.140010eab
test rax, rax
je 0x140036ccb
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140036cdc]
xor ebx, ebx
xor ecx, ecx
mov rdx, rdi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140036cbe
mov rdi, qword [rsi]
mov rbx, qword [rsi + 8]
mov rcx, rdi
call qword [rbx]
cmp qword [rbx + 8], 0
je 0x140036c97
cmp qword [rbx + 0x10], 0x11
jb 0x140036c85
mov rdi, qword [rdi - 8]
mov rcx, qword [0x1400ea708]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x1400ea708]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov ebx, 1
mov rax, rbx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 8
mov edx, 0x10
call fcn.140085d53
ud2