joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140170f30
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rdx + 0x3f8]
mov r8d, 0x80
lea r10, [rcx + 0x3f8]
cmp rcx, rax
ja 0x140170f51
xor r9d, r9d
cmp r10, rdx
jae 0x140170fc1
mov r9, rdx
lea rax, [rcx + 0x10]
sub r9, rcx
mov r10d, reloc.WS2_32.dll_recv
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [r9 + rax - 0x10]
movdqu xmm2, xmmword [r9 + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [r9 + rax - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [r9 + rax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
sub r10, 1
jne 0x140170f61
mov r9, r8
cmp r9, r8
jae 0x140170fe1
sub rdx, rcx
lea rax, [rcx + r9*8]
sub r8, r9
mov rcx, qword [rax + rdx]
xor qword [rax], rcx
lea rax, [rax + 8]
sub r8, 1
jne 0x140170fd0
ret
Function at 0x140171540
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x140171787
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov rax, qword [0x140495598]
xor rax, rsp
mov qword [rbp + 0x10], rax
movaps xmm0, xmmword [0x1404074c0]
movabs rax, 0x6a09e667f2bdc948
movaps xmm1, xmmword [0x1404074d0]
mov edi, r8d
movaps xmmword [rsp + 0x30], xmm0
mov rbx, rdx
movaps xmm0, xmmword [0x1404074e0]
mov rsi, rcx
movaps xmmword [rsp + 0x40], xmm1
lea rcx, [rsp + 0x30]
movaps xmm1, xmmword [0x1404074f0]
mov qword [rsp + 0x30], rax
mov eax, dword [rdx + 0x54]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x120], r14
xor r14d, r14d
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], r14
lea r8d, [r14 + 4]
mov qword [rsp + 0x78], r14
mov qword [rbp], r14
mov dword [rsp + 0x20], eax
call fcn.140178150
mov eax, dword [rbx + 8]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140178150
mov eax, dword [rbx + 0x50]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140178150
mov eax, dword [rbx + 0x4c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140178150
mov eax, dword [rbx + 0x5c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140178150
lea r8d, [r14 + 4]
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140178150
mov eax, dword [rbx + 0x18]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140178150
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1401716a7
mov r8d, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
call fcn.140178150
test byte [rbx + 0x70], 1
je 0x1401716a7
mov ecx, dword [rbx + 0x18]
xor eax, eax
mov rdi, qword [rbx + 0x10]
rep stosb byte [rdi], al
mov dword [rbx + 0x18], r14d
mov eax, dword [rbx + 0x28]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140178150
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x1401716da
mov r8d, dword [rbx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140178150
mov eax, dword [rbx + 0x38]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140178150
mov rdx, qword [rbx + 0x30]
test rdx, rdx
je 0x140171722
mov r8d, dword [rbx + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140178150
test byte [rbx + 0x70], 2
je 0x140171722
mov ecx, dword [rbx + 0x38]
xor eax, eax
mov rdi, qword [rbx + 0x30]
rep stosb byte [rdi], al
mov dword [rbx + 0x38], r14d
mov eax, dword [rbx + 0x48]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140178150
mov rdx, qword [rbx + 0x40]
mov r14, qword [rsp + 0x120]
test rdx, rdx
je 0x14017175d
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x30]
call fcn.140178150
mov r8d, 0x40
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.140178250
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1403115a0
add rsp, 0x128
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140171549
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x140171787
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov rax, qword [0x140495598]
xor rax, rsp
mov qword [rbp + 0x10], rax
movaps xmm0, xmmword [0x1404074c0]
movabs rax, 0x6a09e667f2bdc948
movaps xmm1, xmmword [0x1404074d0]
mov edi, r8d
movaps xmmword [rsp + 0x30], xmm0
mov rbx, rdx
movaps xmm0, xmmword [0x1404074e0]
mov rsi, rcx
movaps xmmword [rsp + 0x40], xmm1
lea rcx, [rsp + 0x30]
movaps xmm1, xmmword [0x1404074f0]
mov qword [rsp + 0x30], rax
mov eax, dword [rdx + 0x54]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x120], r14
xor r14d, r14d
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], r14
lea r8d, [r14 + 4]
mov qword [rsp + 0x78], r14
mov qword [rbp], r14
mov dword [rsp + 0x20], eax
call fcn.140178150
mov eax, dword [rbx + 8]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140178150
mov eax, dword [rbx + 0x50]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140178150
mov eax, dword [rbx + 0x4c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140178150
mov eax, dword [rbx + 0x5c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140178150
lea r8d, [r14 + 4]
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140178150
mov eax, dword [rbx + 0x18]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140178150
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1401716a7
mov r8d, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
call fcn.140178150
test byte [rbx + 0x70], 1
je 0x1401716a7
mov ecx, dword [rbx + 0x18]
xor eax, eax
mov rdi, qword [rbx + 0x10]
rep stosb byte [rdi], al
mov dword [rbx + 0x18], r14d
mov eax, dword [rbx + 0x28]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140178150
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x1401716da
mov r8d, dword [rbx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140178150
mov eax, dword [rbx + 0x38]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140178150
mov rdx, qword [rbx + 0x30]
test rdx, rdx
je 0x140171722
mov r8d, dword [rbx + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140178150
test byte [rbx + 0x70], 2
je 0x140171722
mov ecx, dword [rbx + 0x38]
xor eax, eax
mov rdi, qword [rbx + 0x30]
rep stosb byte [rdi], al
mov dword [rbx + 0x38], r14d
mov eax, dword [rbx + 0x48]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140178150
mov rdx, qword [rbx + 0x40]
mov r14, qword [rsp + 0x120]
test rdx, rdx
je 0x14017175d
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x30]
call fcn.140178150
mov r8d, 0x40
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.140178250
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1403115a0
add rsp, 0x128
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14017b120
Capabilities:
Hash data using sha256

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push r14
sub rsp, 0xb8
mov rax, qword [0x140495598]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rsi, r8
mov rbx, rdx
mov r14, rcx
mov rbp, r8
movups xmm0, xmmword [0x140407800]
movups xmm1, xmmword [0x140407810]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [r11 - 0x58], xmm1
mov qword [r11 - 0x48], 0
cmp r8, 0x80
jae 0x14017b182
lea rcx, [rsp + 0x30]
call fcn.14017ae80
jmp 0x14017b1dc
cmp rsi, 0x40
jb 0x14017b1bf
mov qword [rsp + 0xb0], rdi
mov rdi, rsi
shr rdi, 6
imul rbp, rdi, 0xffffffffffffffc0
add rbp, rsi
nop
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140178600
add rbx, 0x40
sub rdi, 1
jne 0x14017b1a0
mov rdi, qword [rsp + 0xb0]
test rbp, rbp
je 0x14017b1d4
mov r8, rbp
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.14032fed0
add qword [rsp + 0x90], rsi
mov r9, r14
lea rcx, [rsp + 0x30]
call fcn.14017af30
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1403115a0
add rsp, 0xb8
pop r14
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401f84a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov eax, 0x20
call fcn.1403122f0
sub rsp, rax
mov rax, qword [rcx + 8]
lea rsi, [r9 + 1]
mov rbx, rdx
mov rdx, qword [rdx + 8]
mov r9, qword [rax + 0xc0]
test byte [r9 + 0x60], 1
je 0x1401f8529
lea rax, [rsi + r8]
cmp rax, rdx
ja 0x1401f852e
add qword [rbx + 0x20], r8
sub rdx, r8
add qword [rbx + 0x28], r8
sub qword [rbx + 0x10], r8
mov qword [rbx + 8], rdx
mov rax, qword [rbx + 0x20]
mov rcx, qword [rcx + 0x430]
mov qword [rsp + 0x40], rdi
movzx edi, byte [rax + rdx - 1]
call fcn.1401fcca0
mov rcx, rax
call fcn.140211ea0
mov r8, qword [rbx + 8]
and eax, 0x200000
je 0x1401f853b
sub r8, rdi
mov eax, 1
dec r8
jmp 0x1401f85f6
cmp rsi, rdx
jbe 0x1401f84ec
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
lea rcx, [rdi + rsi]
mov qword [rsp + 0x38], rbp
mov ebp, 0x100
mov r9, r8
sub r9, rcx
mov rax, r8
xor r9, rcx
xor rax, rcx
or r9, rax
xor r9, r8
shr r9, 0x3f
dec r9
cmp r8, rbp
cmovb rbp, r8
xor r10d, r10d
test rbp, rbp
je 0x1401f85cd
mov r11, qword [rbx + 0x20]
mov rsi, rdi
shr rsi, 0x3f
dec r11
add r11, r8
nop word [rax + rax]
mov rax, r10
lea r11, [r11 - 1]
shr rax, 0x3f
mov rcx, rdi
sub rcx, r10
inc r10
shr rcx, 0x3f
xor cl, al
xor al, sil
or cl, al
movzx eax, byte [r11 + 1]
dec cl
movzx edx, cl
mov rcx, rdi
xor rcx, rax
and rdx, rcx
not rdx
and r9, rdx
cmp r10, rbp
jb 0x1401f8590
mov rbp, qword [rsp + 0x38]
lea rax, [rdi + 1]
not r9
movzx ecx, r9b
dec rcx
shr rcx, 0x3f
neg rcx
and rax, rcx
sub r8, rax
mov eax, ecx
and eax, 1
not ecx
or eax, ecx
mov rdi, qword [rsp + 0x40]
mov qword [rbx + 8], r8
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x140212f30
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x28
call fcn.1403122f0
sub rsp, rax
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x1402288f0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 0x28
call fcn.1403122f0
sub rsp, rax
lea rcx, [0x14049d348]
add rsp, 0x28
jmp fcn.140212d90

Function at 0x140232fc0
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
mov r10, rdx
test r8, r8
je 0x140232fe7
sub r10, rcx
nop
movzx edx, byte [r10 + rcx]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
xor dl, al
or r9b, dl
sub r8, 1
jne 0x140232fd0
movzx eax, r9b
ret
Function at 0x140237140
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0xc8
call fcn.1403122f0
sub rsp, rax
mov rax, qword [0x140495598]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r12, qword [rsp + 0x130]
xor r14d, r14d
mov rax, qword [rcx]
mov rbp, r9
movsxd rdi, r8d
mov rsi, rdx
mov rbx, rcx
mov r15d, r14d
lea r13d, [r14 + 1]
test r9, r9
je 0x1402371a9
cmp r9, rax
je 0x1402371a1
test rdx, rdx
je 0x14023721a
test r8d, r8d
js 0x14023721a
mov r15d, r13d
mov qword [rcx], r9
jmp 0x1402371b1
test rax, rax
je 0x14023721a
mov rbp, rax
mov rcx, rbp
call fcn.14005d150
test al, 2
jne 0x14023721a
test rsi, rsi
je 0x140237282
mov rcx, rbp
mov r15d, r13d
call fcn.140222bd0
cmp eax, 0x90
jg 0x14023721a
cmp eax, edi
jge 0x140237240
mov rcx, qword [rbx + 8]
mov r8, r12
mov rdx, rbp
call fcn.140222fd0
test eax, eax
je 0x14023721a
mov rcx, qword [rbx + 8]
mov r8, rdi
mov rdx, rsi
call fcn.140223220
test eax, eax
je 0x14023721a
mov rcx, qword [rbx + 8]
lea rsi, [rbx + 0x20]
mov r8, rsi
lea rdx, [rbx + 0x24]
call fcn.140222ef0
test eax, eax
jne 0x14023725d
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1403115a0
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp edi, 0x90
ja 0x14023721a
mov r8, rdi
lea rcx, [rbx + 0x24]
mov rdx, rsi
call fcn.14032fed0
lea rsi, [rbx + 0x20]
mov dword [rsi], edi
mov ecx, dword [rsi]
cmp ecx, 0x90
je 0x14023728b
mov eax, ecx
mov r8d, 0x90
sub r8d, ecx
xor edx, edx
lea rcx, [rbx + 0x24]
add rcx, rax
call fcn.140330340
jmp 0x14023728b
test r15d, r15d
je 0x140237366
lea rcx, [rsp + 0x20]
mov rax, rbx
sub rax, rcx
mov rdx, r14
lea rdi, [rax + 0x24]
lea rsi, [rax + 0x25]
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x20]
add rcx, rdx
add rdx, 2
movzx eax, byte [rdi + rcx]
xor al, 0x36
mov byte [rcx], al
movzx eax, byte [rsi + rcx]
xor al, 0x36
mov byte [rcx + 1], al
cmp rdx, 0x90
jl 0x1402372b0
mov rcx, qword [rbx + 0x10]
mov r8, r12
mov rdx, rbp
call fcn.140222fd0
test eax, eax
je 0x140237379
mov rcx, rbp
call fcn.140222bd0
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x20]
movsxd r8, eax
call fcn.140223220
test eax, eax
je 0x140237379
mov rdx, r14
nop dword [rax]
lea rcx, [rsp + 0x20]
add rcx, rdx
add rdx, 2
movzx eax, byte [rdi + rcx]
xor al, 0x5c
mov byte [rcx], al
movzx eax, byte [rsi + rcx]
xor al, 0x5c
mov byte [rcx + 1], al
cmp rdx, 0x90
jl 0x140237310
mov rcx, qword [rbx + 0x18]
mov r8, r12
mov rdx, rbp
call fcn.140222fd0
test eax, eax
je 0x140237379
mov rcx, rbp
call fcn.140222bd0
mov rcx, qword [rbx + 0x18]
lea rdx, [rsp + 0x20]
movsxd r8, eax
call fcn.140223220
test eax, eax
je 0x140237379
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx + 8]
call fcn.140223290
test eax, eax
cmovne r14d, r13d
test r15d, r15d
je 0x14023738d
mov edx, 0x90
lea rcx, [rsp + 0x20]
call fcn.140231b20
mov eax, r14d
jmp 0x14023721c
Function at 0x140262f20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov eax, 0x20
call fcn.1403122f0
sub rsp, rax
mov rbx, rcx
mov rsi, rdx
mov rcx, rdx
call fcn.140209260
test eax, eax
je 0x140262f5f
xor edx, edx
mov rcx, rbx
call fcn.140209710
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbp
mov ebp, dword [rsi + 8]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], r14
mov r14, qword [rsi]
lea eax, [rbp - 1]
movsxd rdi, eax
xor eax, eax
mov rcx, qword [r14 + rdi*8]
cmp rcx, 1
sete al
sub ebp, eax
cmp rsi, rbx
je 0x140262fa7
mov edx, ebp
mov rcx, rbx
call fcn.140209c80
test rax, rax
je 0x14026300d
mov eax, dword [rsi + 0x10]
mov dword [rbx + 0x10], eax
mov rcx, qword [r14 + rdi*8]
mov rax, qword [rbx]
mov rdx, rcx
xor rdx, 1
inc rdx
neg rdx
shl rdx, 0x3f
lea r8, [rax + rdi*8]
shr rcx, 1
je 0x140262fc7
mov qword [r8], rcx
test rdi, rdi
jle 0x140262ffe
sub r14, rax
nop
mov rcx, qword [r14 + r8 - 8]
lea r8, [r8 - 8]
mov rax, rcx
dec rdi
shr rax, 1
or rax, rdx
mov rdx, rcx
xor rdx, 1
mov qword [r8], rax
inc rdx
neg rdx
shl rdx, 0x3f
test rdi, rdi
jg 0x140262fd0
mov dword [rbx + 8], ebp
test ebp, ebp
jne 0x140263008
mov dword [rbx + 0x10], ebp
mov eax, 1
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x14026e520
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x30
call fcn.1403122f0
sub rsp, rax
mov r10, r9
mov rbx, r8
mov r9, qword [rsp + 0xa0]
mov r14, rdx
mov rbp, rcx
mov edi, dword [r9]
mov dword [rsp + 0x80], edi
test edi, edi
je 0x14026e598
mov rdx, qword [rsp + 0x98]
nop dword [rax]
test rbx, rbx
je 0x14026e591
mov eax, edi
dec rbx
movzx ecx, byte [rax + rdx]
xor cl, byte [rbp]
inc rbp
mov byte [r14], cl
inc r14
inc edi
and edi, 0xf
jne 0x14026e570
mov dword [rsp + 0x80], edi
mov r8, qword [rsp + 0x90]
mov esi, 1
movzx r12d, byte [r8 + 0xc]
lea r15, [r8 + 0xc]
mov r11, qword [rsp + 0xa8]
shl r12d, 8
movzx eax, byte [r8 + 0xd]
lea r13d, [rsi + 0xb]
or r12d, eax
movzx eax, byte [r8 + 0xe]
shl r12d, 8
or r12d, eax
movzx eax, byte [r8 + 0xf]
shl r12d, 8
or r12d, eax
cmp rbx, 0x10
jb 0x14026e6ce
mov eax, 0x10000000
mov edi, r13d
mov qword [rsp + 0x20], r8
mov rdx, rbx
shr rdx, 4
mov r9, r10
cmp rdx, rax
cmova rdx, rax
add r12d, edx
mov r13, rdx
mov eax, r12d
mov ecx, r12d
sub r13, rax
cmp rax, rdx
cmovae r13, rdx
xor r12d, r12d
cmp rax, rdx
mov r8, r13
mov rdx, r14
cmovae r12d, ecx
mov rcx, rbp
call r11
mov r8, qword [rsp + 0x90]
mov eax, r12d
shr eax, 0x18
mov byte [r15], al
mov eax, r12d
shr eax, 0x10
mov byte [r8 + 0xd], al
mov eax, r12d
shr eax, 8
mov byte [r8 + 0xe], al
mov byte [r8 + 0xf], r12b
test r12d, r12d
jne 0x14026e68d
mov r8d, edi
mov eax, esi
mov rdx, r15
nop dword [rax + rax]
movzx ecx, byte [rdx - 1]
lea rdx, [rdx - 1]
add eax, ecx
mov byte [rdx], al
shr eax, 8
add r8d, 0xffffffff
jne 0x14026e670
mov r8, qword [rsp + 0x90]
mov r10, qword [rsp + 0x88]
mov eax, 0x10000000
mov r11, qword [rsp + 0xa8]
shl r13, 4
sub rbx, r13
add r14, r13
add rbp, r13
cmp rbx, 0x10
jae 0x14026e5f0
mov edi, dword [rsp + 0x80]
mov r13d, recv
mov r9, qword [rsp + 0xa0]
test rbx, rbx
je 0x14026e771
mov rax, qword [rsp + 0x98]
xor ecx, ecx
mov qword [rsp + 0x20], r8
mov r9, r10
mov r8, rsi
mov rdx, rax
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov rcx, rax
call r11
mov rcx, qword [rsp + 0x90]
inc r12d
mov eax, r12d
shr eax, 0x18
mov byte [r15], al
mov eax, r12d
shr eax, 0x10
mov byte [rcx + 0xd], al
mov eax, r12d
shr eax, 8
mov byte [rcx + 0xe], al
mov byte [rcx + 0xf], r12b
test r12d, r12d
jne 0x14026e747
nop dword [rax + rax]
movzx eax, byte [r15 - 1]
lea r15, [r15 - 1]
add esi, eax
mov byte [r15], sil
shr esi, 8
add r13d, 0xffffffff
jne 0x14026e730
mov rdx, qword [rsp + 0x98]
nop
mov ecx, edi
inc edi
movzx eax, byte [rcx + rbp]
xor al, byte [rcx + rdx]
mov byte [rcx + r14], al
sub rbx, 1
jne 0x14026e750
mov rax, qword [rsp + 0xa0]
mov dword [rax], edi
jmp 0x14026e774
mov dword [r9], edi
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14026f200
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push r14
mov eax, 0x20
call fcn.1403122f0
sub rsp, rax
cmp qword [rcx + 0x38], 0
mov rdi, r8
mov r14, rdx
mov rbp, rcx
je 0x14026f230
mov eax, 0xfffffffe
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [rcx + 0x30]
movabs rax, 0x2000000000000000
add rcx, r8
cmp rcx, rax
ja 0x14026f332
cmp rcx, r8
jb 0x14026f332
mov qword [rsp + 0x40], rbx
lea rbx, [rbp + 0x40]
mov qword [rsp + 0x48], rsi
mov esi, dword [rbp + 0x174]
mov qword [rsp + 0x50], r12
mov qword [rbp + 0x30], rcx
test esi, esi
je 0x14026f2b9
test rdi, rdi
je 0x14026f2a4
movzx eax, byte [r14]
lea rbx, [rbp + 0x40]
mov ecx, esi
inc r14
dec rdi
xor byte [rcx + rbx], al
inc esi
and esi, 0xf
jne 0x14026f274
lea r12, [rbp + 0x60]
mov rcx, rbx
mov rdx, r12
call fcn.140270980
jmp 0x14026f2bd
test esi, esi
jne 0x14026f312
lea r12, [rbp + 0x60]
mov rcx, rbx
mov rdx, r12
call fcn.140270980
jmp 0x14026f2bd
lea r12, [rbp + 0x60]
mov qword [rsp + 0x58], r15
mov r15, rdi
and r15, 0xfffffffffffffff0
je 0x14026f2e2
mov r9, r15
mov r8, r14
mov rdx, r12
mov rcx, rbx
call fcn.1402707a0
add r14, r15
sub rdi, r15
mov r15, qword [rsp + 0x58]
test rdi, rdi
je 0x14026f312
mov esi, edi
sub r14, rbp
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r14 + rbx - 0x40]
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x14026f300
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov r12, qword [rsp + 0x50]
mov dword [rbp + 0x174], esi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
mov eax, 0xffffffff
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1402707a0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
movzx eax, byte [rcx + 0xf]
lea r14, [r8 + 0xe]
mov rsi, rcx
lea r13, [0x1403a62b0]
sub rsi, r8
mov r12, r9
mov rbp, rdx
mov rbx, rcx
nop word [rax + rax]
movzx edx, byte [r14 + 1]
mov rdi, r14
movzx ecx, al
mov r15d, reloc.WS2_32.dll_ntohs
xor rdx, rcx
mov r8, rdx
and edx, 0xf
add rdx, rdx
and r8, 0xfffffffffffffff0
mov r9, qword [rbp + rdx*8]
mov rax, qword [rbp + rdx*8 + 8]
mov rcx, r9
mov rdx, rax
shr rcx, 4
and edx, 0xf
shr rax, 4
shl r9, 0x3c
or rax, r9
mov r11, qword [r13 + rdx*8]
xor r11, rcx
xor r11, qword [r8 + rbp]
xor rax, qword [r8 + rbp + 8]
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rdi]
movzx edx, byte [rsi + rdi]
lea rdi, [rdi - 1]
xor rdx, rcx
mov rcx, r11
mov r9, rdx
shl r11, 0x3c
and edx, 0xf
shr rcx, 4
add rdx, rdx
and r9, 0xfffffffffffffff0
lea r8, [rdx*8]
mov rdx, rax
shr rax, 4
and edx, 0xf
or r11, rax
xor r11, qword [r8 + rbp + 8]
mov r10, qword [r13 + rdx*8]
mov rdx, r11
xor r10, rcx
shr rdx, 4
xor r10, qword [r8 + rbp]
mov rcx, r11
and ecx, 0xf
mov rax, r10
shr rax, 4
mov r11, qword [r13 + rcx*8]
xor r11, rax
mov rax, r10
xor r11, qword [r9 + rbp]
shl rax, 0x3c
or rax, rdx
xor rax, qword [r9 + rbp + 8]
sub r15, 1
jne 0x140270840
mov rdx, r11
mov byte [rbx + 7], r11b
shr rdx, 0x20
add r14, 0x10
mov ecx, edx
mov byte [rbx + 3], dl
shr ecx, 0x18
sub rsi, 0x10
mov byte [rbx], cl
mov ecx, edx
shr ecx, 0x10
mov byte [rbx + 1], cl
mov ecx, edx
shr ecx, 8
mov rdx, rax
mov byte [rbx + 2], cl
mov ecx, r11d
shr ecx, 0x18
mov byte [rbx + 4], cl
mov ecx, r11d
shr ecx, 0x10
mov byte [rbx + 5], cl
mov ecx, r11d
shr ecx, 8
mov byte [rbx + 6], cl
shr rdx, 0x20
mov ecx, edx
mov byte [rbx + 0xb], dl
shr ecx, 0x18
mov byte [rbx + 8], cl
mov ecx, edx
shr ecx, 0x10
mov byte [rbx + 9], cl
mov ecx, edx
shr ecx, 8
mov byte [rbx + 0xa], cl
mov ecx, eax
shr ecx, 0x18
mov byte [rbx + 0xc], cl
mov ecx, eax
shr ecx, 0x10
mov byte [rbx + 0xd], cl
mov ecx, eax
shr ecx, 8
mov byte [rbx + 0xe], cl
mov byte [rbx + 0xf], al
sub r12, 0x10
jne 0x1402707e0
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x140270980
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
movzx eax, byte [rcx + 0xf]
lea r14, [0x1403a62b0]
mov r8d, eax
mov rdi, rdx
and eax, 0xf
mov r11, rcx
add rax, rax
and r8, 0xfffffffffffffff0
mov esi, recv
mov r9, qword [rdx + rax*8]
mov rax, qword [rdx + rax*8 + 8]
mov rcx, r9
mov rdx, rax
shr rcx, 4
and edx, 0xf
shr rax, 4
shl r9, 0x3c
or rax, r9
mov rbx, qword [r14 + rdx*8]
xor rbx, rcx
xor rbx, qword [r8 + rdi]
xor rax, qword [r8 + rdi + 8]
nop dword [rax + rax]
movzx ecx, byte [rsi + r11]
mov rdx, rax
shr rax, 4
mov r9d, ecx
and ecx, 0xf
and edx, 0xf
add rcx, rcx
and r9, 0xfffffffffffffff0
lea r8, [rdi + rcx*8]
mov rcx, rbx
shl rbx, 0x3c
mov r10, qword [r14 + rdx*8]
or rbx, rax
xor rbx, qword [r8 + 8]
shr rcx, 4
mov rdx, rbx
xor r10, rcx
shr rdx, 4
xor r10, qword [r8]
mov rcx, rbx
and ecx, 0xf
mov rax, r10
shr rax, 4
mov rbx, qword [r14 + rcx*8]
xor rbx, rax
mov rax, r10
xor rbx, qword [r9 + rdi]
shl rax, 0x3c
or rax, rdx
xor rax, qword [r9 + rdi + 8]
sub rsi, 1
jns 0x1402709f0
mov rsi, qword [rsp + 0x10]
mov rdx, rbx
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
shr rdx, 0x20
mov ecx, edx
mov byte [r11 + 3], dl
shr ecx, 0x18
mov byte [r11], cl
mov ecx, edx
shr ecx, 0x10
mov byte [r11 + 1], cl
mov ecx, edx
shr ecx, 8
mov rdx, rax
mov byte [r11 + 2], cl
mov ecx, ebx
shr ecx, 0x18
mov byte [r11 + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [r11 + 5], cl
mov ecx, ebx
shr ecx, 8
mov byte [r11 + 6], cl
shr rdx, 0x20
mov ecx, edx
mov byte [r11 + 7], bl
mov rbx, qword [rsp + 8]
shr ecx, 0x18
mov byte [r11 + 8], cl
mov ecx, edx
shr ecx, 0x10
mov byte [r11 + 9], cl
mov ecx, edx
shr ecx, 8
mov byte [r11 + 0xa], cl
mov ecx, eax
shr ecx, 0x18
mov byte [r11 + 0xc], cl
mov ecx, eax
shr ecx, 0x10
mov byte [r11 + 0xd], cl
mov ecx, eax
shr ecx, 8
mov byte [r11 + 0xe], cl
mov byte [r11 + 0xb], dl
mov byte [r11 + 0xf], al
ret