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

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x80
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14009c1d3
cmp qword [rax], rbx
je 0x14009c347
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14009c1c1
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0xd0
call fcn.14001a0a0
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.14009c3a0]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x38], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [rbx + 0x48], xmm1
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x50], rax
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x58], xmm0
movsd xmm1, qword [rdi + 0x30]
movsd qword [rbx + 0x68], xmm1
mov eax, dword [rdi + 0x38]
mov dword [rbx + 0x70], eax
mov rax, qword [rdi + 0x40]
mov qword [rbx + 0x78], rax
mov rax, qword [rdi + 0x48]
mov qword [rbx + 0x80], rax
movups xmm0, xmmword [rdi + 0x58]
movups xmmword [rbx + 0x90], xmm0
movups xmm0, xmmword [rdi + 0x68]
movups xmmword [rbx + 0xa0], xmm0
movsd xmm1, qword [rdi + 0x78]
movsd qword [rbx + 0xb0], xmm1
movups xmm0, xmmword [rdi + 0x80]
movups xmmword [rbx + 0xb8], xmm0
mov rax, qword [rdi + 0x90]
mov qword [rbx + 0xc8], rax
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.14001c990
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
test al, al
je 0x14009c329
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
call fcn.1400a9490
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [rbp + 0x28]
call fcn.14009c3a0
nop
lea rcx, [rsp + 0x28]
call fcn.14001c760
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
cmp qword [rax + 8], 0
je 0x14009c1d3
mov rdx, rdi
mov rcx, rdi
call fcn.14009c5b0
nop
jmp 0x14009c329

Function at 0x14009c5b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
add rcx, 0x18
xor r9d, r9d
mov r8, qword [rcx + 0x78]
lea rdx, [rcx + 0x68]
add rsp, 0x28
jmp fcn.14009b330
Function at 0x1400aa730
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x1400aa8f0
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov ecx, dword [0x1402c4060]
cmp ecx, 0xffffffff
jne 0x1400aa918
xor esi, esi
jmp 0x1400aa921
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov qword [rsp + 0x40], rsi
test rsi, rsi
je 0x1400aaa45
mov rcx, qword [rsi + 0x30]
mov rax, qword [rsi + 0x18]
mov rbx, rax
nop word [rax + rax]
mov r8, rbx
mov rdx, rcx
test rcx, rcx
jne 0x1400aa954
test rax, rax
je 0x1400aaa1e
mov rbx, rax
test rdx, rdx
cmovne rbx, r8
test rbx, rbx
je 0x1400aa9cb
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 8]
mov qword [rsi + 0x18], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400aa9a7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rbx]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsi + 0x18]
mov rbx, rax
test rax, rax
jne 0x1400aa970
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x1400aa940
nop dword [rax]
nop dword [rax + rax]
mov rbx, qword [rsi + 0x28]
mov rbx, qword [rbx]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1400aa9ff
mov rdx, qword [rbx + 0x38]
test rdx, rdx
je 0x1400aa9ff
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rsi + 0x28]
call fcn.1400a9c90
mov rcx, qword [rsi + 0x30]
test rcx, rcx
jne 0x1400aa9e0
jmp 0x1400aa933
lea rdx, [0x1400a9b00]
lea rcx, [0x1402d0510]
call fcn.1400a98e0
mov ecx, dword [0x1402c4060]
cmp ecx, 0xffffffff
je 0x1400aaa45
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test rsi, rsi
je 0x1400aaa77
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1400aaa77
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400aa8f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x1400aa8f0
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov ecx, dword [0x1402c4060]
cmp ecx, 0xffffffff
jne 0x1400aa918
xor esi, esi
jmp 0x1400aa921
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov qword [rsp + 0x40], rsi
test rsi, rsi
je 0x1400aaa45
mov rcx, qword [rsi + 0x30]
mov rax, qword [rsi + 0x18]
mov rbx, rax
nop word [rax + rax]
mov r8, rbx
mov rdx, rcx
test rcx, rcx
jne 0x1400aa954
test rax, rax
je 0x1400aaa1e
mov rbx, rax
test rdx, rdx
cmovne rbx, r8
test rbx, rbx
je 0x1400aa9cb
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 8]
mov qword [rsi + 0x18], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400aa9a7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rbx]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsi + 0x18]
mov rbx, rax
test rax, rax
jne 0x1400aa970
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x1400aa940
nop dword [rax]
nop dword [rax + rax]
mov rbx, qword [rsi + 0x28]
mov rbx, qword [rbx]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1400aa9ff
mov rdx, qword [rbx + 0x38]
test rdx, rdx
je 0x1400aa9ff
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rsi + 0x28]
call fcn.1400a9c90
mov rcx, qword [rsi + 0x30]
test rcx, rcx
jne 0x1400aa9e0
jmp 0x1400aa933
lea rdx, [0x1400a9b00]
lea rcx, [0x1402d0510]
call fcn.1400a98e0
mov ecx, dword [0x1402c4060]
cmp ecx, 0xffffffff
je 0x1400aaa45
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test rsi, rsi
je 0x1400aaa77
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1400aaa77
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400e82b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov eax, 0x20
call fcn.1401e5760
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 0x1400e8339
lea rax, [rsi + r8]
cmp rax, rdx
ja 0x1400e833e
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.1400288e0
mov rcx, rax
call fcn.140100240
mov r8, qword [rbx + 8]
and eax, 0x200000
je 0x1400e834b
sub r8, rdi
mov eax, 1
dec r8
jmp 0x1400e8406
cmp rsi, rdx
jbe 0x1400e82fc
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 0x1400e83dd
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 0x1400e83a0
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 0x140101fa0
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x28
call fcn.1401e5760
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 0x14010c8a0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 0x28
call fcn.1401e5760
sub rsp, rax
lea rcx, [0x1402d2108]
add rsp, 0x28
jmp fcn.140101e00
Function at 0x140120750
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
mov r10, rdx
test r8, r8
je 0x140120777
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 0x140120760
movzx eax, r9b
ret
Function at 0x140142980
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov eax, 0x20
call fcn.1401e5760
sub rsp, rax
mov rbx, rcx
mov rsi, rdx
mov rcx, rdx
call fcn.140112e10
test eax, eax
je 0x1401429bf
xor edx, edx
mov rcx, rbx
call fcn.1401132c0
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 0x140142a07
mov edx, ebp
mov rcx, rbx
call fcn.140113820
test rax, rax
je 0x140142a6d
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 0x140142a27
mov qword [r8], rcx
test rdi, rdi
jle 0x140142a5e
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 0x140142a30
mov dword [rbx + 8], ebp
test ebp, ebp
jne 0x140142a68
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 0x1401669d0
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.1401e5760
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 0x140166a48
mov rdx, qword [rsp + 0x98]
nop dword [rax]
test rbx, rbx
je 0x140166a41
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 0x140166a20
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 0x140166b7e
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 0x140166b3d
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 0x140166b20
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 0x140166aa0
mov edi, dword [rsp + 0x80]
mov r13d, recv
mov r9, qword [rsp + 0xa0]
test rbx, rbx
je 0x140166c21
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 0x140166bf7
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 0x140166be0
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 0x140166c00
mov rax, qword [rsp + 0xa0]
mov dword [rax], edi
jmp 0x140166c24
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 0x1401676b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push r14
mov eax, 0x20
call fcn.1401e5760
sub rsp, rax
cmp qword [rcx + 0x38], 0
mov rdi, r8
mov r14, rdx
mov rbp, rcx
je 0x1401676e0
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 0x1401677e2
cmp rcx, r8
jb 0x1401677e2
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 0x140167769
test rdi, rdi
je 0x140167754
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 0x140167724
lea r12, [rbp + 0x60]
mov rcx, rbx
mov rdx, r12
call fcn.140168e30
jmp 0x14016776d
test esi, esi
jne 0x1401677c2
lea r12, [rbp + 0x60]
mov rcx, rbx
mov rdx, r12
call fcn.140168e30
jmp 0x14016776d
lea r12, [rbp + 0x60]
mov qword [rsp + 0x58], r15
mov r15, rdi
and r15, 0xfffffffffffffff0
je 0x140167792
mov r9, r15
mov r8, r14
mov rdx, r12
mov rcx, rbx
call fcn.140168c50
add r14, r15
sub rdi, r15
mov r15, qword [rsp + 0x58]
test rdi, rdi
je 0x1401677c2
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 0x1401677b0
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 0x140168c50
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, [0x1402381f0]
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 0x140168cf0
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 0x140168c90
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 0x140168e30
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, [0x1402381f0]
mov r8d, eax
mov rdi, rdx
and eax, 0xf
mov r11, rcx
add rax, rax
and r8, 0xfffffffffffffff0
mov esi, reloc.WS2_32.dll_ntohl
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 0x140168ea0
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
Function at 0x14016d0d0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3f]
mov eax, 0xb0
call fcn.1401e5760
sub rsp, rax
mov rax, qword [0x1402c94a0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov eax, dword [r9]
mov rdi, rcx
mov rcx, qword [rbp + 0x7f]
mov r14, r8
mov dword [rbp - 1], eax
mov rsi, rdx
mov eax, dword [r9 + 4]
mov dword [rbp + 3], eax
mov eax, dword [r9 + 8]
mov dword [rbp + 7], eax
mov eax, dword [r9 + 0xc]
mov dword [rbp + 0xb], eax
mov eax, dword [r9 + 0x10]
mov dword [rbp + 0xf], eax
mov eax, dword [r9 + 0x14]
mov dword [rbp + 0x13], eax
mov eax, dword [r9 + 0x18]
mov dword [rbp + 0x17], eax
mov eax, dword [r9 + 0x1c]
mov dword [rbp + 0x1b], eax
mov eax, dword [rcx]
mov dword [rbp + 0x1f], eax
mov eax, dword [rcx + 4]
mov dword [rbp + 0x23], eax
mov eax, dword [rcx + 8]
mov dword [rbp + 0x27], eax
mov eax, dword [rcx + 0xc]
mov dword [rbp + 0x2b], eax
mov dword [rbp - 0x11], 0x61707865
mov dword [rbp - 0xd], 0x3320646e
mov dword [rbp - 9], 0x79622d32
mov dword [rbp - 5], 0x6b206574
test r8, r8
je 0x14016d2e4
mov qword [rsp + 0xd8], rbx
nop dword [rax]
nop word [rax + rax]
mov ebx, 0x40
lea rdx, [rbp - 0x11]
cmp r14, rbx
lea rcx, [rbp - 0x51]
cmovb rbx, r14
call fcn.14016d310
xor eax, eax
test rbx, rbx
je 0x14016d2ca
cmp rbx, 0x40
jb 0x14016d297
lea rdx, [rdi - 1]
add rdx, rbx
lea rcx, [rbp + rbx - 0x52]
cmp rdi, rcx
ja 0x14016d1dc
lea rcx, [rbp - 0x51]
cmp rdx, rcx
jae 0x14016d297
lea rcx, [rsi - 1]
add rcx, rbx
cmp rdi, rcx
ja 0x14016d1f1
cmp rdx, rsi
jae 0x14016d297
mov r9, rbx
and r9, 0xffffffffffffffc0
lea rcx, [rbp - 0x51]
mov rdx, rsi
sub rdx, rcx
mov r8, rdi
lea rcx, [rbp - 0x51]
sub r8, rcx
nop dword [rax]
movdqu xmm0, xmmword [rbp + rax - 0x51]
lea rcx, [rbp - 0x41]
movdqu xmm1, xmmword [rsi + rax]
add rcx, rdx
pxor xmm1, xmm0
movdqu xmm0, xmmword [rbp + rax - 0x41]
movdqu xmmword [rdi + rax], xmm1
movdqu xmm1, xmmword [rcx + rax]
lea rcx, [rbp - 0x41]
add rcx, r8
pxor xmm1, xmm0
movdqu xmm0, xmmword [rbp + rax - 0x31]
movdqu xmmword [rcx + rax], xmm1
lea rcx, [rbp - 0x31]
add rcx, rdx
movdqu xmm1, xmmword [rcx + rax]
lea rcx, [rbp - 0x31]
add rcx, r8
pxor xmm1, xmm0
movdqu xmm0, xmmword [rbp + rax - 0x21]
movdqu xmmword [rcx + rax], xmm1
lea rcx, [rbp - 0x21]
add rcx, rdx
movdqu xmm1, xmmword [rcx + rax]
lea rcx, [rbp - 0x21]
add rcx, r8
pxor xmm1, xmm0
movdqu xmmword [rcx + rax], xmm1
add rax, 0x40
cmp rax, r9
jb 0x14016d210
cmp rax, rbx
jae 0x14016d2ca
lea rcx, [rbp - 0x51]
mov r8, rsi
sub r8, rcx
mov r9, rdi
lea rcx, [rbp - 0x51]
sub r9, rcx
lea rdx, [rbp - 0x51]
add rdx, rax
inc rax
movzx ecx, byte [r8 + rdx]
xor cl, byte [rdx]
mov byte [r9 + rdx], cl
cmp rax, rbx
jb 0x14016d2b0
inc dword [rbp + 0x1f]
add rdi, rbx
add rsi, rbx
sub r14, rbx
jne 0x14016d190
mov rbx, qword [rsp + 0xd8]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401e4940
mov rsi, qword [rsp + 0xe0]
add rsp, 0xb0
pop r14
pop rdi
pop rbp
ret