joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006a660
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 0x14006a6f6
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 [0x1402ee8b0]
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.14006d710
test rdi, rdi
je 0x14006a785
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14006a79e
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 0x14006a896
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x14006a918
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x14006a8a3
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 0x14006a760
cmp r9, 8
jae 0x14006a8ac
jmp 0x14006a918
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14006d710
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 0x14006a918
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x14006a918
mov r8, rcx
cmp r9, 8
jb 0x14006a918
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 0x14006a8b0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x14006d710
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 0x14006d752
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14006d75a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14006d76b
jmp 0x14006d782
xor r10d, r10d
jmp 0x14006d80d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14006d782
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14006d799
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 0x14006d7b9
add r11, r8
jmp 0x14006d8e9
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 0x14006d882
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 0x14006d830
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14006d89f
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x14006d8b0
jmp 0x14006d8cb
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x14006d8cb
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8d, r11d
jae 0x14006d8e5
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 0x1400d0440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
movdqa xmmword [rsp + 0x60], xmm8
movdqa xmmword [rsp + 0x50], xmm7
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x28], rcx
mov rax, qword [rdx]
mov qword [rsp + 0x30], rdx
mov r12, qword [rdx + 8]
mov rbp, r12
and rbp, r8
shr r8, 0x39
movd xmm0, r8d
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm6, xmm0, 0
mov qword [rsp + 0x20], rax
lea rsi, [rax - 0x10]
mov rbx, qword [r9]
pcmpeqd xmm7, xmm7
xor eax, eax
nop word cs:[rax + rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x20]
movdqu xmm8, xmmword [rax + rbp]
movdqa xmm0, xmm8
pcmpeqb xmm0, xmm6
pmovmskb r15d, xmm0
test r15d, r15d
jne 0x1400d050d
pcmpeqb xmm8, xmm7
pmovmskb eax, xmm8
test eax, eax
mov rax, qword [rsp + 0x38]
jne 0x1400d0602
add rbp, rax
add rbp, 0x10
add rax, 0x10
and rbp, r12
jmp 0x1400d04b0
lea eax, [r15 - 1]
and ax, r15w
mov r15d, eax
je 0x1400d04d3
tzcnt r13d, r15d
add r13, rbp
and r13, r12
mov rdi, r13
shl rdi, 4
mov rax, rsi
sub rax, rdi
mov r14, qword [rax]
mov rcx, rbx
mov rdx, r14
call fcn.1400e6f70
test al, al
je 0x1400d0500
movzx eax, word [rbx + 0x54]
cmp ax, word [r14 + 0x54]
jne 0x1400d0500
cmp ax, 0x23
jne 0x1400d0553
movzx eax, word [rbx + 0x56]
cmp ax, word [r14 + 0x56]
jne 0x1400d0500
movzx eax, word [rbx + 0x50]
cmp ax, word [r14 + 0x50]
jne 0x1400d0500
cmp ax, 5
jne 0x1400d056f
movzx eax, word [rbx + 0x52]
cmp ax, word [r14 + 0x52]
jne 0x1400d0500
neg r13
shl r13, 4
sar rdi, 4
lea rax, [rdi - 0x10]
and rax, r12
mov rcx, qword [rsp + 0x20]
movdqu xmm0, xmmword [rcx + rax]
pcmpeqd xmm1, xmm1
pcmpeqb xmm0, xmm1
pmovmskb edx, xmm0
movdqu xmm0, xmmword [rcx + rdi]
pcmpeqb xmm0, xmm1
pmovmskb ecx, xmm0
test edx, edx
je 0x1400d05b1
bsr dx, dx
xor edx, 0xf
jmp 0x1400d05b5
mov dx, 0x10
add r13, qword [rsp + 0x20]
or ecx, 0x10000
tzcnt ecx, ecx
add edx, ecx
mov cl, 0x80
cmp dx, 0xf
mov rdx, qword [rsp + 0x30]
ja 0x1400d05d9
inc qword [rdx + 0x10]
mov cl, 0xff
mov r8, qword [rsp + 0x20]
mov byte [r8 + rdi], cl
mov byte [r8 + rax + 0x10], cl
dec qword [rdx + 0x18]
movdqu xmm0, xmmword [r13 - 0x10]
mov rax, qword [rsp + 0x28]
movdqu xmmword [rax + 8], xmm0
mov ecx, 1
jmp 0x1400d0609
mov rax, qword [rsp + 0x28]
xor ecx, ecx
mov qword [rax], rcx
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400de6a0
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.140114b50
mov qword [rbp + 0x28], rax
test rax, rax
je 0x1400de714
mov qword [rbp + 0x30], rdx
mov rax, qword [rdx]
test rax, rax
je 0x1400de6f8
mov rcx, qword [rbp + 0x28]
call rax
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400de75d
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x28]
call fcn.1400b33e0
jmp 0x1400de75d
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, [0x1402f96eb]
lea rdx, [rbp - 0x20]
mov r9d, 8
call fcn.140114930
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.140112420
Function at 0x1400e6260
Capabilities:
Encode data using base64

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
movzx ebx, byte [rdx + 0x31]
test r8b, r8b
je 0x1400e62ee
lea rsi, [rbp - 0x50]
mov rax, rcx
mov rcx, rsi
mov rdi, rdx
mov rdx, rax
call fcn.1400e1b90
mov rcx, rsi
mov rdx, rdi
mov r8d, ebx
call fcn.1400e5e60
mov rsi, rax
cmp word [rbp - 0x50], 0
je 0x1400e62c3
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x1400e62c3
mov rcx, qword [rbp - 0x40]
mov r8d, 1
call fcn.1400b33e0
cmp word [rbp - 0x28], 0
je 0x1400e62e2
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1400e62e2
mov rcx, qword [rbp - 0x18]
mov r8d, 1
call fcn.1400b33e0
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov r8d, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop rbp
jmp fcn.1400e5e60

Function at 0x1400fd0d0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rdx
mov rdi, rcx
movzx eax, word [rcx + 0x50]
rol ax, 8
movzx ebx, byte [rdx + 0x31]
mov word [rsp + 0x2a], ax
lea r15, [rdx + 0x18]
mov r14, qword [rdx + 0x28]
lea r8, [rsp + 0x2a]
mov r9d, 2
mov rcx, r15
mov rdx, r14
call fcn.1400ebdb0
test rax, rax
jne 0x1400fd16f
lea rdx, [r14 + 2]
mov qword [rsi + 0x28], rdx
movzx eax, word [rdi + 0x52]
rol ax, 8
mov word [rsp + 0x2c], ax
lea r8, [rsp + 0x2c]
mov r9d, 2
mov rcx, r15
call fcn.1400ebdb0
test rax, rax
jne 0x1400fd16f
lea rdx, [r14 + 4]
mov qword [rsi + 0x28], rdx
movzx eax, word [rdi + 0x54]
rol ax, 8
mov word [rsp + 0x2e], ax
lea r8, [rsp + 0x2e]
mov r9d, 2
mov rcx, r15
call fcn.1400ebdb0
test rax, rax
je 0x1400fd17b
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
add r14, 6
mov qword [rsi + 0x28], r14
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1400e6260
Function at 0x140114da0
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 0x140114e12
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 0x140114dd8
add rdi, rbx
sub rsi, rbx
je 0x140114e12
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 0x140114dd0
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x140114dd0
and ebp, 0x7fffffff
jmp 0x140114e14
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 0x140145fc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
test byte [rdx], 1
je 0x140146000
lea rax, [rdx + 8]
cmp qword [rdx + 0x38], 0xffffffffffffffff
mov r8, qword [rdx + 0x48]
mov r9, qword [rdx + 0x50]
mov r10, qword [rdx + 0x58]
mov rdx, qword [rdx + 0x60]
je 0x140146122
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 0
jmp 0x140146131
cmp byte [rdx + 0x1a], 0
jne 0x140146158
mov r8, qword [rdx + 8]
mov rax, qword [rdx + 0x48]
mov r9, qword [rdx + 0x50]
movzx r10d, byte [rdx + 0x18]
jmp 0x140146027
add r8, r11
mov qword [rdx + 8], r8
mov r11d, r10d
xor r10b, 1
test r8, r8
je 0x140146056
cmp r8, r9
jae 0x140146050
cmp byte [rax + r8], 0xbf
jg 0x140146056
jmp 0x140146166
jne 0x140146166
cmp r8, r9
je 0x14014613b
movzx ebx, byte [rax + r8]
movzx esi, bl
test sil, sil
js 0x1401460b0
test r11b, 1
jne 0x140146119
mov r11d, 1
cmp esi, 0x80
jb 0x140146020
mov r11d, 2
cmp esi, 0x800
jb 0x140146020
cmp esi, 0x10000
mov r11d, 4
sbb r11, 0
jmp 0x140146020
mov edi, esi
and edi, 0x1f
movzx ebp, byte [rax + r8 + 1]
and ebp, 0x3f
cmp sil, 0xdf
jbe 0x1401460f7
movzx esi, byte [rax + r8 + 2]
shl ebp, 6
and esi, 0x3f
or esi, ebp
cmp bl, 0xf0
jb 0x14014610a
movzx ebx, byte [rax + r8 + 3]
and edi, 7
shl edi, 0x12
shl esi, 6
and ebx, 0x3f
or ebx, esi
or ebx, edi
mov esi, ebx
test r11b, 1
je 0x140146076
jmp 0x140146119
shl edi, 6
or edi, ebp
mov esi, edi
test r11b, 1
je 0x140146076
jmp 0x140146119
shl edi, 0xc
or esi, edi
test r11b, 1
je 0x140146076
mov byte [rdx + 0x18], r10b
mov r9, r8
jmp 0x140146145
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 1
mov rdx, rax
call fcn.140145850
jmp 0x14014615d
mov byte [rdx + 0x18], r10b
test r11b, 1
je 0x140146154
mov qword [rcx + 8], r9
mov qword [rcx + 0x10], r9
mov eax, 1
jmp 0x14014615a
mov byte [rdx + 0x1a], 1
xor eax, eax
mov qword [rcx], rax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov byte [rdx + 0x18], r10b
lea rcx, [0x14031c228]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rdx, r9
call fcn.1402e83f0
int3
Function at 0x14016ae60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
cmp byte [rcx + 0x79], 0
je 0x14016ae74
xor eax, eax
jmp 0x14016b09d
mov r8, qword [rcx + 0x48]
mov r9, qword [rcx + 0x50]
test byte [rcx], 1
je 0x14016aeaf
lea rdx, [rcx + 8]
mov rax, qword [rcx + 0x58]
cmp qword [rcx + 0x38], 0xffffffffffffffff
mov rdi, rcx
mov rcx, qword [rcx + 0x60]
je 0x14016afe6
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 0
jmp 0x14016aff5
cmp byte [rcx + 0x1a], 0
je 0x14016aecf
mov rsi, r8
xor eax, eax
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
jne 0x14016b035
jmp 0x14016b067
mov rax, qword [rcx + 8]
movzx edx, byte [rcx + 0x18]
jmp 0x14016aee7
add rax, r10
mov qword [rcx + 8], rax
mov r10d, edx
xor dl, 1
test rax, rax
je 0x14016af16
cmp rax, r9
jae 0x14016af10
cmp byte [r8 + rax], 0xbf
jg 0x14016af16
jmp 0x14016b0a5
jne 0x14016b0a5
cmp rax, r9
je 0x14016b00e
movzx ebx, byte [r8 + rax]
movzx r11d, bl
test r11b, r11b
jns 0x14016af90
mov esi, r11d
and esi, 0x1f
movzx edi, byte [r8 + rax + 1]
and edi, 0x3f
cmp r11b, 0xdf
jbe 0x14016af7a
movzx r11d, byte [r8 + rax + 2]
shl edi, 6
and r11d, 0x3f
or r11d, edi
cmp bl, 0xf0
jb 0x14016afd2
movzx edi, byte [r8 + rax + 3]
and esi, 7
shl esi, 0x12
shl r11d, 6
and edi, 0x3f
or edi, r11d
or edi, esi
mov r11d, edi
test r10b, 1
je 0x14016af96
jmp 0x14016afde
shl esi, 6
or esi, edi
mov r11d, esi
nop word cs:[rax + rax]
test r10b, 1
jne 0x14016afde
mov r10d, 1
cmp r11d, 0x80
jb 0x14016aee0
mov r10d, 2
cmp r11d, 0x800
jb 0x14016aee0
cmp r11d, 0x10000
mov r10d, 4
sbb r10, 0
jmp 0x14016aee0
shl esi, 0xc
or r11d, esi
test r10b, 1
je 0x14016af96
mov byte [rcx + 0x18], dl
mov r9, rax
jmp 0x14016b017
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x38]
mov rsi, r8
call fcn.140169dd0
mov rcx, rdi
test byte [rsp + 0x38], 1
jne 0x14016b035
jmp 0x14016b067
mov byte [rcx + 0x18], dl
test r10b, 1
je 0x14016b052
mov rsi, r8
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x48], r9
mov eax, 1
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
je 0x14016b067
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov r9, qword [rcx + 0x68]
sub rdx, r9
mov rax, rsi
add rax, r9
mov qword [rcx + 0x68], r8
jmp 0x14016b09d
mov rsi, r8
mov byte [rcx + 0x1a], 1
xor eax, eax
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
jne 0x14016b035
cmp byte [rcx + 0x79], 0
jne 0x14016ae6d
mov byte [rcx + 0x79], 1
cmp byte [rcx + 0x78], 1
jne 0x14016b085
mov rax, qword [rcx + 0x68]
mov rdx, qword [rcx + 0x70]
jmp 0x14016b096
mov rax, qword [rcx + 0x68]
mov rdx, qword [rcx + 0x70]
cmp rdx, rax
je 0x14016ae6d
sub rdx, rax
add rax, qword [rcx + 0x48]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
mov byte [rcx + 0x18], dl
lea rcx, [0x140320058]
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov rdx, r9
mov r8, rax
call fcn.1402e83f0
int3
Function at 0x1401769e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
cmp dword [rcx], 2
jne 0x140176a76
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
pshufd xmm2, xmm0, 0xee
pxor xmm2, xmmword [0x1402ee8b0]
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.14006d710
test rdi, rdi
je 0x140176b05
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x140176b1e
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 0x140176c16
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x140176c98
mov rcx, qword [rcx + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x140176c23
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 0x140176ae0
cmp r9, 8
jae 0x140176c2c
jmp 0x140176c98
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14006d710
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 0x140176c98
movzx ecx, byte [rcx + 8]
xor rax, rcx
imul rax, rdx
jmp 0x140176c98
mov r8, rcx
cmp r9, 8
jb 0x140176c98
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 0x140176c30
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x14017e870
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
call fcn.1402a5fc0
mov rsi, rax
cmp dword [rax], 1
jne 0x14017e8a6
mov rax, rsi
add rax, 8
mov rbx, qword [rsi + 8]
mov r14, qword [rsi + 0x10]
jmp 0x14017e8da
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
mov rbx, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rax, rsi
add rax, 8
mov qword [rsi], 1
mov qword [rsi + 0x10], r14
lea rcx, [rbx + 1]
mov qword [rax], rcx
movabs r15, 0x736f6d6570736575
xor r15, rbx
movabs r12, 0x646f72616e646f6d
xor r12, r14
movabs r13, 0x6c7967656e657261
xor r13, rbx
movabs rbp, 0x7465646279746573
xor rbp, r14
mov esi, 1
lea rdi, [rsp + 0x50]
xorps xmm6, xmm6
nop word cs:[rax + rax]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r14
movups xmmword [rdi], xmm6
mov qword [rdi + 0x10], 0
mov qword [rsp + 0x68], rsi
mov r8d, 8
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x68]
call fcn.14006d710
mov r9, qword [rsp + 0x50]
shl r9, 0x38
or r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
xor rdx, r9
mov rax, qword [rsp + 0x20]
add rax, r8
mov rcx, qword [rsp + 0x28]
rol r8, 0xd
add rcx, rdx
xor r8, rax
rol rdx, 0x10
xor rdx, rcx
rol rax, 0x20
add rcx, r8
add rax, rdx
rol r8, 0x11
xor r8, rcx
rol rdx, 0x15
rol rcx, 0x20
xor rdx, rax
xor rax, r9
xor rcx, 0xff
add rax, r8
add rcx, rdx
rol r8, 0xd
xor r8, rax
rol rdx, 0x10
rol rax, 0x20
xor rdx, rcx
add rcx, r8
rol r8, 0x11
add rax, rdx
xor r8, rcx
rol rdx, 0x15
xor rdx, rax
rol rcx, 0x20
add rax, r8
add rcx, rdx
rol r8, 0xd
xor r8, rax
rol rdx, 0x10
rol rax, 0x20
xor rdx, rcx
add rcx, r8
rol r8, 0x11
add rax, rdx
xor r8, rcx
rol rdx, 0x15
xor rdx, rax
rol rcx, 0x20
add rax, r8
add rcx, rdx
rol r8, 0xd
xor r8, rax
rol rdx, 0x10
xor rdx, rcx
add rcx, r8
rol r8, 0x11
rol rdx, 0x15
mov rax, rcx
rol rax, 0x20
xor rax, r8
xor rax, rdx
inc rsi
cmp rax, rcx
je 0x14017e930
xor rax, rcx
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401e6ac0
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x1401e6af4
mov rdx, qword [rsp + 0x20]
mov al, cl
add rsp, 0x28
ret
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret