joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ea5b0
Capabilities:
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
push r15
sub rsp, 0x110
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rsi, r8
mov qword [rsp + 0x20], 0
mov rbx, rdx
lea r15, [rsp + 0x20]
mov r14, rcx
xor edx, edx
mov r8d, 0xc8
lea rcx, [rsp + 0x30]
call fcn.14026fa90
cmp rsi, 0x88
jb 0x1400ea6f1
movabs rax, 0xf0f0f0f0f0f0f0f1
mul rsi
mov rdi, rdx
shr rdi, 7
nop dword [rax]
xor ecx, ecx
lea rax, [rbx + 0x80]
lea rdx, [rsp + 0x30]
cmp rdx, rax
ja 0x1400ea650
lea rax, [rsp + 0xb0]
cmp rax, rbx
jae 0x1400ea6c0
movdqu xmm0, xmmword [rsp + rcx*8 + 0x30]
movdqu xmm1, xmmword [rbx]
pxor xmm1, xmm0
movdqu xmmword [rsp + rcx*8 + 0x30], xmm1
movdqu xmm0, xmmword [rsp + rcx*8 + 0x40]
movdqu xmm1, xmmword [rbx + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rsp + rcx*8 + 0x40], xmm1
movdqu xmm0, xmmword [rsp + rcx*8 + 0x50]
movdqu xmm1, xmmword [rbx + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rsp + rcx*8 + 0x50], xmm1
movdqu xmm0, xmmword [rsp + rcx*8 + 0x60]
movdqu xmm1, xmmword [rbx + 0x30]
add rbx, 0x40
pxor xmm1, xmm0
movdqu xmmword [rsp + rcx*8 + 0x60], xmm1
add rcx, 8
cmp rcx, 0x10
jb 0x1400ea650
cmp rcx, 0x11
jae 0x1400ea6d5
nop word [rax + rax]
mov rax, qword [rbx]
add rbx, 8
xor qword [rsp + rcx*8 + 0x30], rax
inc rcx
cmp rcx, 0x11
jb 0x1400ea6c0
lea rcx, [rsp + 0x30]
call qword [0x1403b3018]
sub rsi, 0x88
sub rdi, 1
jne 0x1400ea630
lea rdi, [rsp + 0x30]
cmp rsi, 8
jb 0x1400ea724
mov rcx, rsi
shr rcx, 3
imul rax, rcx, 0xfffffffffffffff8
add rsi, rax
nop word [rax + rax]
mov rax, qword [rbx]
add rbx, 8
xor qword [rdi], rax
add rdi, 8
sub rcx, 1
jne 0x1400ea710
test rsi, rsi
je 0x1400ea741
mov r8, rsi
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14026f680
lea r15, [rsp + 0x20]
add r15, rsi
mov byte [r15], 1
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x20]
xor qword [rdi], rax
movabs rax, 0x8000000000000000
xor qword [rsp + 0xb0], rax
call qword [0x1403b3018]
mov rax, qword [rsp + 0x30]
mov qword [r14], rax
mov rax, qword [rsp + 0x38]
mov qword [r14 + 8], rax
mov rax, qword [rsp + 0x40]
mov qword [r14 + 0x10], rax
mov rax, qword [rsp + 0x48]
mov qword [r14 + 0x18], rax
mov rax, r14
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140250db0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
Function at 0x1400ea7c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x110
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0xc8
call fcn.14026fa90
lea rax, [rsp + 0x30]
mov edx, 4
nop word [rax + rax]
mov r8, qword [rbx]
lea rbx, [rbx + 8]
xor qword [rax], r8
lea rax, [rax + 8]
sub rdx, 1
jne 0x1400ea810
mov byte [rsp + 0x20], 1
mov rcx, qword [rsp + 0x20]
xor qword [rax], rcx
movabs rax, 0x8000000000000000
xor qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x30]
call qword [0x1403b3018]
mov rax, qword [rsp + 0x30]
mov qword [rdi], rax
mov rax, qword [rsp + 0x38]
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x10], rax
mov rax, qword [rsp + 0x48]
mov qword [rdi + 0x18], rax
mov rax, rdi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140250db0
mov rbx, qword [rsp + 0x120]
add rsp, 0x110
pop rdi
ret
Function at 0x1400ea8a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rbp], rax
mov rsi, r8
mov qword [rsp + 0x20], 0
mov rbx, rdx
lea r15, [rsp + 0x20]
mov r14, rcx
xor edx, edx
mov r8d, 0xc8
lea rcx, [rsp + 0x30]
call fcn.14026fa90
cmp rsi, 0x48
jb 0x1400ea97a
movabs rax, 0xe38e38e38e38e38f
mul rsi
mov rdi, rdx
shr rdi, 6
mov rax, qword [rbx]
lea rcx, [rsp + 0x30]
xor qword [rsp + 0x30], rax
mov rax, qword [rbx + 8]
xor qword [rsp + 0x38], rax
mov rax, qword [rbx + 0x10]
xor qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x18]
xor qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x20]
xor qword [rsp + 0x50], rax
mov rax, qword [rbx + 0x28]
xor qword [rsp + 0x58], rax
mov rax, qword [rbx + 0x30]
xor qword [rsp + 0x60], rax
mov rax, qword [rbx + 0x38]
xor qword [rsp + 0x68], rax
mov rax, qword [rbx + 0x40]
add rbx, 0x48
xor qword [rsp + 0x70], rax
call qword [0x1403b3018]
sub rsi, 0x48
sub rdi, 1
jne 0x1400ea911
lea rdi, [rsp + 0x30]
cmp rsi, 8
jb 0x1400ea9b4
mov rcx, rsi
shr rcx, 3
imul rax, rcx, 0xfffffffffffffff8
add rsi, rax
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx]
add rbx, 8
xor qword [rdi], rax
add rdi, 8
sub rcx, 1
jne 0x1400ea9a0
test rsi, rsi
je 0x1400ea9d1
mov r8, rsi
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14026f680
lea r15, [rsp + 0x20]
add r15, rsi
mov byte [r15], 1
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x20]
xor qword [rdi], rax
movabs rax, 0x8000000000000000
xor qword [rsp + 0x70], rax
call qword [0x1403b3018]
mov rax, qword [rsp + 0x30]
mov qword [r14], rax
mov rax, qword [rsp + 0x38]
mov qword [r14 + 8], rax
mov rax, qword [rsp + 0x40]
mov qword [r14 + 0x10], rax
mov rax, qword [rsp + 0x48]
mov qword [r14 + 0x18], rax
mov rax, qword [rsp + 0x50]
mov qword [r14 + 0x20], rax
mov rax, qword [rsp + 0x58]
mov qword [r14 + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [r14 + 0x30], rax
mov rax, qword [rsp + 0x68]
mov qword [r14 + 0x38], rax
mov rax, r14
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140250db0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400eaa70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x110
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0xc8
call fcn.14026fa90
lea rax, [rsp + 0x30]
mov edx, 8
nop word [rax + rax]
mov r8, qword [rbx]
lea rbx, [rbx + 8]
xor qword [rax], r8
lea rax, [rax + 8]
sub rdx, 1
jne 0x1400eaac0
mov byte [rsp + 0x20], 1
mov rcx, qword [rsp + 0x20]
xor qword [rax], rcx
movabs rax, 0x8000000000000000
xor qword [rsp + 0x70], rax
lea rcx, [rsp + 0x30]
call qword [0x1403b3018]
mov rax, qword [rsp + 0x30]
mov qword [rdi], rax
mov rax, qword [rsp + 0x38]
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x10], rax
mov rax, qword [rsp + 0x48]
mov qword [rdi + 0x18], rax
mov rax, qword [rsp + 0x50]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x30], rax
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x38], rax
mov rax, rdi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140250db0
mov rbx, qword [rsp + 0x120]
add rsp, 0x110
pop rdi
ret
Function at 0x1401584e0
Capabilities:
Set thread local storage value

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

Disassembly:
mov eax, 0x28
call fcn.140251b90
sub rsp, rax
lea rcx, [0x1403c78d8]
add rsp, 0x28
jmp fcn.140158340

Function at 0x1401780b0
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
mov r10, rdx
test r8, r8
je 0x1401780d7
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 0x1401780c0
movzx eax, r9b
ret
Function at 0x1401a3c00
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.140251b90
sub rsp, rax
mov rdi, r8
mov r14, rdx
mov r8, qword [rsp + 0xa0]
mov r15, rcx
mov ebx, dword [r8]
mov dword [rsp + 0x80], ebx
test ebx, ebx
je 0x1401a3c78
mov rdx, qword [rsp + 0x98]
nop dword [rax]
test rdi, rdi
je 0x1401a3c71
mov eax, ebx
dec rdi
movzx ecx, byte [rax + rdx]
xor cl, byte [r15]
inc r15
mov byte [r14], cl
inc r14
inc ebx
and ebx, 0xf
jne 0x1401a3c50
mov dword [rsp + 0x80], ebx
mov rcx, qword [rsp + 0x90]
mov esi, recv
movzx r13d, byte [rcx + 0xc]
lea r12, [rcx + 0xc]
mov r10, qword [rsp + 0xa8]
shl r13d, 8
movzx eax, byte [rcx + 0xd]
lea ebp, [rsi - 0xb]
or r13d, eax
movzx eax, byte [rcx + 0xe]
shl r13d, 8
or r13d, eax
movzx eax, byte [rcx + 0xf]
shl r13d, 8
or r13d, eax
cmp rdi, 0x10
jb 0x1401a3d9d
mov eax, 0x10000000
mov ebx, esi
nop dword [rax + rax]
mov rsi, rdi
shr rsi, 4
cmp rsi, rax
cmova rsi, rax
add r13d, esi
mov eax, r13d
cmp rax, rsi
jae 0x1401a3cef
sub rsi, rax
xor r13d, r13d
mov qword [rsp + 0x20], rcx
mov r8, rsi
mov rcx, r15
mov rdx, r14
call r10
mov rcx, qword [rsp + 0x90]
mov eax, r13d
shr eax, 0x18
mov byte [r12], al
mov eax, r13d
shr eax, 0x10
mov byte [rcx + 0xd], al
mov eax, r13d
shr eax, 8
mov byte [rcx + 0xe], al
mov byte [rcx + 0xf], r13b
test r13d, r13d
jne 0x1401a3d5d
mov r8d, ebx
mov ecx, ebp
mov rdx, r12
nop word [rax + rax]
movzx eax, byte [rdx - 1]
lea rdx, [rdx - 1]
add ecx, eax
mov byte [rdx], cl
shr ecx, 8
add r8d, 0xffffffff
jne 0x1401a3d40
mov rcx, qword [rsp + 0x90]
mov r9, qword [rsp + 0x88]
mov eax, 0x10000000
mov r10, qword [rsp + 0xa8]
shl rsi, 4
sub rdi, rsi
add r14, rsi
add r15, rsi
cmp rdi, 0x10
jae 0x1401a3cd0
mov ebx, dword [rsp + 0x80]
mov esi, recv
mov r8, qword [rsp + 0xa0]
test rdi, rdi
je 0x1401a3e52
mov rax, qword [rsp + 0x98]
xor edx, edx
mov qword [rsp + 0x20], rcx
mov r8, rbp
mov rcx, rax
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov rdx, rax
call r10
mov rcx, qword [rsp + 0x90]
inc r13d
mov eax, r13d
shr eax, 0x18
mov byte [r12], al
mov eax, r13d
shr eax, 0x10
mov byte [rcx + 0xd], al
mov eax, r13d
shr eax, 8
mov byte [rcx + 0xe], al
mov byte [rcx + 0xf], r13b
test r13d, r13d
jne 0x1401a3e19
nop dword [rax + rax]
movzx eax, byte [r12 - 1]
lea r12, [r12 - 1]
add ebp, eax
mov byte [r12], bpl
shr ebp, 8
add esi, 0xffffffff
jne 0x1401a3e00
mov rdx, qword [rsp + 0x98]
nop dword [rax]
nop word [rax + rax]
mov ecx, ebx
inc ebx
movzx eax, byte [rcx + r15]
xor al, byte [rcx + rdx]
mov byte [rcx + r14], al
sub rdi, 1
jne 0x1401a3e30
mov rax, qword [rsp + 0xa0]
mov dword [rax], ebx
jmp 0x1401a3e55
mov dword [r8], ebx
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 0x1401a4520
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
mov eax, 0x20
call fcn.140251b90
sub rsp, rax
cmp qword [rcx + 0x38], 0
mov rbx, r8
mov r14, rdx
mov rsi, rcx
je 0x1401a455f
mov eax, 0xfffffffe
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rcx, qword [rcx + 0x30]
movabs rax, 0x2000000000000000
add rcx, rbx
cmp rcx, rax
ja 0x1401a4630
cmp rcx, rbx
jb 0x1401a4630
mov qword [rsp + 0x38], rdi
mov edi, dword [rsi + 0x174]
mov qword [rsi + 0x30], rcx
test edi, edi
je 0x1401a45c4
test rbx, rbx
je 0x1401a45b3
movzx eax, byte [r14]
dec rbx
mov ecx, edi
inc r14
xor byte [rcx + rsi + 0x40], al
inc edi
and edi, 0xf
jne 0x1401a4595
jmp 0x1401a45b7
test edi, edi
jne 0x1401a4612
lea rdx, [rsi + 0x60]
lea rcx, [rsi + 0x40]
call fcn.1401a5bb0
mov qword [rsp + 0x30], rbp
mov rbp, rbx
and rbp, 0xfffffffffffffff0
je 0x1401a45eb
lea rdx, [rsi + 0x60]
mov r9, rbp
lea rcx, [rsi + 0x40]
mov r8, r14
call fcn.1401a59e0
add r14, rbp
sub rbx, rbp
mov rbp, qword [rsp + 0x30]
test rbx, rbx
je 0x1401a4612
mov edi, ebx
lea rcx, [rsi + 0x40]
sub r14, rsi
nop
movzx eax, byte [r14 + rcx - 0x40]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rbx, 1
jne 0x1401a4600
mov dword [rsi + 0x174], edi
xor eax, eax
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rbx, qword [rsp + 0x40]
or eax, 0xffffffff
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1401a5780
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
mov eax, 0x20
call fcn.140251b90
sub rsp, rax
xor ebp, ebp
mov rsi, r8
mov qword [rcx + 0x30], rbp
mov r15, rdx
mov qword [rcx + 0x38], rbp
mov rbx, rcx
mov qword [rcx + 0x170], rbp
cmp r8, 0xc
jne 0x1401a57d1
movsd xmm0, qword [rdx]
lea edi, [rbp + 1]
movsd qword [rcx], xmm0
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov dword [rcx + 0xc], 0x1000000
jmp 0x1401a5932
mov qword [rsp + 0x58], r13
mov r13, rsi
mov qword [rcx + 0x40], rbp
mov qword [rsp + 0x60], r14
mov qword [rcx + 0x48], rbp
cmp rsi, 0x10
jb 0x1401a5874
mov rbp, rsi
mov qword [rsp + 0x50], r12
shr rbp, 4
mov rdi, r15
imul rax, rbp, 0xfffffffffffffff0
sub rdi, rbx
add rsi, rax
sub rdi, 0x3f
mov rax, rbp
shl rax, 4
add r15, rax
nop word [rax + rax]
lea rax, [rbx + 0x40]
mov edx, 4
nop dword [rax]
movzx ecx, byte [rax + rdi - 1]
xor byte [rax], cl
movzx ecx, byte [rax + rdi]
xor byte [rax + 1], cl
movzx ecx, byte [rax + rdi + 1]
xor byte [rax + 2], cl
movzx ecx, byte [rax + rdi + 2]
xor byte [rax + 3], cl
lea rax, [rax + 4]
sub rdx, 1
jne 0x1401a5830
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.1401a5bb0
add rdi, 0x10
sub rbp, 1
jne 0x1401a5820
mov r12, qword [rsp + 0x50]
test rsi, rsi
je 0x1401a589f
lea rcx, [rbx + 0x40]
sub r15, rbx
movzx eax, byte [r15 + rcx - 0x40]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rsi, 1
jne 0x1401a5880
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.1401a5bb0
shl r13, 3
lea rdx, [rbx + 0x60]
xor byte [rbx + 0x4f], r13b
lea rcx, [rbx + 0x40]
mov rax, r13
shr rax, 0x38
xor byte [rbx + 0x48], al
mov rax, r13
shr rax, 0x30
xor byte [rbx + 0x49], al
mov rax, r13
shr rax, 0x28
xor byte [rbx + 0x4a], al
mov rax, r13
shr rax, 0x20
xor byte [rbx + 0x4b], al
mov rax, r13
shr rax, 0x18
xor byte [rbx + 0x4c], al
mov rax, r13
shr rax, 0x10
xor byte [rbx + 0x4d], al
mov rax, r13
shr rax, 8
xor byte [rbx + 0x4e], al
call fcn.1401a5bb0
movzx eax, byte [rbx + 0x4d]
movzx edi, byte [rbx + 0x4c]
mov r14, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
shl edi, 8
or edi, eax
movzx eax, byte [rbx + 0x4e]
shl edi, 8
or edi, eax
movzx eax, byte [rbx + 0x4f]
shl edi, 8
or edi, eax
mov rax, qword [rbx + 0x40]
mov qword [rbx], rax
mov rax, qword [rbx + 0x48]
mov qword [rbx + 8], rax
mov qword [rbx + 0x40], rbp
lea rdx, [rbx + 0x20]
mov qword [rbx + 0x48], rbp
mov rcx, rbx
mov r8, qword [rbx + 0x180]
call qword [rbx + 0x178]
inc edi
mov eax, edi
mov byte [rbx + 0xf], dil
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, edi
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, edi
shr eax, 8
mov byte [rbx + 0xe], al
add rsp, 0x20
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401a59e0
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
mov rsi, rcx
lea r14, [r8 + 0xe]
sub rsi, r8
lea r13, [0x140306f00]
mov r12, r9
mov rbp, rdx
mov r11, rcx
nop word [rax + rax]
movzx eax, byte [r11 + 0xf]
mov rdi, r14
movzx ecx, byte [r14 + 1]
mov r15d, reloc.WS2_32.dll_ntohs
xor rcx, rax
mov r9, rcx
and ecx, 0xf
add rcx, rcx
and r9, 0xfffffffffffffff0
mov r8, qword [rbp + rcx*8]
mov rcx, qword [rbp + rcx*8 + 8]
mov rax, r8
mov rdx, rcx
shr r8, 4
and edx, 0xf
shl rax, 0x3c
shr rcx, 4
or rax, rcx
mov rbx, qword [r13 + rdx*8]
xor rbx, r8
xor rbx, qword [r9 + rbp]
xor rax, qword [r9 + rbp + 8]
nop word [rax + rax]
movzx ecx, byte [rdi]
mov r9, rbx
movzx edx, byte [rsi + rdi]
lea rdi, [rdi - 1]
xor rdx, rcx
shr rbx, 4
mov rcx, rax
shl r9, 0x3c
shr rax, 4
and ecx, 0xf
or r9, rax
mov r10, rdx
and r10, 0xfffffffffffffff0
and edx, 0xf
add rdx, rdx
mov r8, qword [r13 + rcx*8]
xor r8, rbx
xor r9, qword [rbp + rdx*8 + 8]
xor r8, qword [rbp + rdx*8]
mov rcx, r9
and ecx, 0xf
shr r9, 4
mov rax, r8
shr r8, 4
shl rax, 0x3c
or rax, r9
mov rbx, qword [r13 + rcx*8]
xor rax, qword [r10 + rbp + 8]
xor rbx, r8
xor rbx, qword [r10 + rbp]
sub r15, 1
jne 0x1401a5a80
mov rdx, rbx
mov byte [r11 + 7], bl
shr rdx, 0x20
add r14, 0x10
mov ecx, edx
mov byte [r11 + 3], dl
shr ecx, 0x18
sub rsi, 0x10
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 + 0xb], dl
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 + 0xf], al
sub r12, 0x10
jne 0x1401a5a20
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 0x1401a5bb0
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, [0x140306f00]
mov r10d, eax
mov rdi, rdx
and eax, 0xf
and r10, 0xfffffffffffffff0
add rax, rax
mov esi, reloc.WS2_32.dll_ntohl
mov r9, qword [rdx + rax*8]
mov r8, qword [rdx + rax*8 + 8]
mov r11, r9
mov rax, r8
shr r9, 4
and eax, 0xf
shl r11, 0x3c
shr r8, 4
or r11, r8
mov rbx, qword [r14 + rax*8]
xor rbx, r9
xor rbx, qword [r10 + rdx]
xor r11, qword [r10 + rdx + 8]
nop word [rax + rax]
movzx edx, byte [rsi + rcx]
mov rax, r11
shr r11, 4
mov r9, rbx
shr rbx, 4
and eax, 0xf
shl r9, 0x3c
mov r10d, edx
or r9, r11
and r10, 0xfffffffffffffff0
and edx, 0xf
mov r8, qword [r14 + rax*8]
add rdx, rdx
xor r8, rbx
xor r9, qword [rdi + rdx*8 + 8]
xor r8, qword [rdi + rdx*8]
mov rax, r9
and eax, 0xf
shr r9, 4
mov r11, r8
shr r8, 4
shl r11, 0x3c
or r11, r9
mov rbx, qword [r14 + rax*8]
xor r11, qword [r10 + rdi + 8]
xor rbx, r8
xor rbx, qword [r10 + rdi]
sub rsi, 1
jns 0x1401a5c20
mov rsi, qword [rsp + 0x10]
mov rdx, rbx
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
shr rdx, 0x20
mov eax, edx
mov byte [rcx + 3], dl
shr eax, 0x18
mov byte [rcx], al
mov eax, edx
shr eax, 0x10
mov byte [rcx + 1], al
mov eax, edx
shr eax, 8
mov rdx, r11
mov byte [rcx + 2], al
mov eax, ebx
shr eax, 0x18
mov byte [rcx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [rcx + 5], al
mov eax, ebx
shr eax, 8
mov byte [rcx + 6], al
shr rdx, 0x20
mov eax, edx
mov byte [rcx + 7], bl
mov rbx, qword [rsp + 8]
shr eax, 0x18
mov byte [rcx + 8], al
mov eax, edx
shr eax, 0x10
mov byte [rcx + 9], al
mov eax, edx
shr eax, 8
mov byte [rcx + 0xa], al
mov eax, r11d
shr eax, 0x18
mov byte [rcx + 0xc], al
mov eax, r11d
shr eax, 0x10
mov byte [rcx + 0xd], al
mov eax, r11d
shr eax, 8
mov byte [rcx + 0xe], al
mov byte [rcx + 0xb], dl
mov byte [rcx + 0xf], r11b
ret
Function at 0x1401a9b90
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.140251b90
sub rsp, rax
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rax, qword [rbp + 0x7f]
mov r14, r8
mov dword [rbp - 0x11], 0x61707865
mov rsi, rdx
mov dword [rbp - 0xd], 0x3320646e
mov rdi, rcx
mov dword [rbp - 9], 0x79622d32
mov dword [rbp - 5], 0x6b206574
movups xmm0, xmmword [r9]
movups xmm1, xmmword [r9 + 0x10]
movups xmmword [rbp - 1], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf], xmm1
movups xmmword [rbp + 0x1f], xmm0
test r8, r8
je 0x1401a9d24
mov qword [rsp + 0xd8], rbx
nop dword [rax + rax]
mov ebx, 0x40
lea rdx, [rbp - 0x11]
cmp r14, rbx
lea rcx, [rbp - 0x51]
cmovb rbx, r14
call fcn.1401a9d50
xor eax, eax
test rbx, rbx
je 0x1401a9d0a
cmp rbx, 0x20
jb 0x1401a9cd5
lea rdx, [rdi - 1]
add rdx, rbx
lea rcx, [rbp + rbx - 0x52]
cmp rdi, rcx
ja 0x1401a9c58
lea rcx, [rbp - 0x51]
cmp rdx, rcx
jae 0x1401a9cd5
lea rcx, [rsi - 1]
add rcx, rbx
cmp rdi, rcx
ja 0x1401a9c69
cmp rdx, rsi
jae 0x1401a9cd5
lea rcx, [rbp - 0x51]
mov rdx, rsi
sub rdx, rcx
mov r9, rbx
lea rcx, [rbp - 0x51]
and r9, 0xffffffffffffffe0
mov r8, rdi
sub r8, rcx
nop dword [rax]
nop dword [rax + rax]
movdqu xmm0, xmmword [rbp + rax - 0x51]
lea rcx, [rdx + rax]
movdqu xmm1, xmmword [rbp + rcx - 0x51]
lea rcx, [r8 + rax]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rbp + rax - 0x41]
movdqu xmmword [rbp + rcx - 0x51], xmm1
lea rcx, [rdx + rax]
movdqu xmm1, xmmword [rbp + rcx - 0x41]
lea rcx, [r8 + rax]
add rax, 0x20
pxor xmm1, xmm0
movdqu xmmword [rbp + rcx - 0x41], xmm1
cmp rax, r9
jb 0x1401a9c90
cmp rax, rbx
jae 0x1401a9d0a
lea rcx, [rbp - 0x51]
mov r8, rsi
sub r8, rcx
mov r9, rdi
lea rcx, [rbp - 0x51]
sub r9, rcx
nop
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 0x1401a9cf0
inc dword [rbp + 0x1f]
add rdi, rbx
add rsi, rbx
sub r14, rbx
jne 0x1401a9c10
mov rbx, qword [rsp + 0xd8]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140250db0
mov rsi, qword [rsp + 0xe0]
add rsp, 0xb0
pop r14
pop rdi
pop rbp
ret
Function at 0x1401ad110
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x38
call fcn.140251b90
sub rsp, rax
cmp dword [rsp + 0x68], 0
je 0x1401ad139
lea rax, [0x1401ab6e0]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.1401a3830
lea rax, [0x1401aa840]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.1401a3560
Function at 0x140250538
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1403c8880]
mov ebx, r9d
mov rdi, r8
mov esi, edx
test rax, rax
je 0x140250563
call qword [case.0x14025b122.0]
jmp 0x140250578
call fcn.140250504
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140251564
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1402515ef
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1402515ef
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402515ef
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1402515eb
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1402515e5
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jae 0x1402515e5
test rdx, rdx
je 0x1402515eb
cmp dword [rdx + 0x24], 0
jge 0x1402515e1
xor al, al
jmp 0x1402515f5
mov al, 1
jmp 0x1402515f5
add rdx, 0x28
jmp 0x1402515b7
xor al, al
jmp 0x1402515f5
xor al, al
jmp 0x1402515f5
add rsp, 0x18
ret

Function at 0x14028cbb0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14028ca43
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14028ca43
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14028ca43
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14028ca43
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14028ca43
cmp dword [rcx + 0x84], 0xe
jbe 0x14028ca43
cmp dword [rcx + 0xf8], 0
je 0x14028ca43
mov ecx, ebx
call fcn.14028cae4
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14028c8d4
cmp dword [rbp + 0x20], 0
je 0x14028ca90
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14028ca98
int3
xor r8d, r8d
xor edx, edx
jmp 0x14028c9dc