joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14019d460
Capabilities:
Create thread

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r12, r8
mov rbx, rdx
mov r14, rcx
mov rdx, qword [rcx]
mov rdi, rbx
sub rdi, rdx
mov rax, qword [rcx + 8]
sub rax, rdx
sar rax, 4
movabs r9, 0xfffffffffffffff
cmp rax, r9
je 0x14019d65c
lea r8, [rax + 1]
mov qword [rsp + 0xa8], r8
mov rcx, qword [rcx + 0x10]
sub rcx, rdx
sar rcx, 4
mov rdx, rcx
shr rdx, 1
mov rax, r9
sub rax, rdx
cmp rcx, rax
jbe 0x14019d59e
mov rsi, r9
mov qword [rsp + 0x98], r9
mov rcx, rsi
shl rcx, 4
call fcn.1400042d0
mov r15, rax
mov qword [rsp + 0x38], rax
and rdi, 0xfffffffffffffff0
lea r13, [rdi + rax]
lea rdi, [r13 + 0x10]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x90], rdi
mov ecx, 0x18
call fcn.14035e1d0
movups xmm0, xmmword [r12]
movups xmmword [rax], xmm0
movsd xmm1, qword [r12 + 0x10]
movsd qword [rax + 0x10], xmm1
mov qword [rsp + 0x40], rax
lea r12, [r13 + 8]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14019d670]
xor edx, edx
xor ecx, ecx
call fcn.14036c220
mov qword [r13], rax
test rax, rax
je 0x14019d649
mov qword [rsp + 0x90], r13
mov rcx, qword [r14 + 8]
mov rax, qword [r14]
mov rdx, r15
cmp rbx, rcx
jne 0x14019d5c2
cmp rax, rcx
je 0x14019d620
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
movups xmmword [rdx], xmm1
lea rdx, [rdx + 0x10]
add rax, 0x10
cmp rax, rcx
jne 0x14019d580
jmp 0x14019d620
lea rax, [rdx + rcx]
mov rsi, r8
cmp rax, r8
cmovae rsi, rax
mov qword [rsp + 0x98], rsi
cmp rsi, r9
ja 0x14019d662
jmp 0x14019d4d7
cmp rax, rbx
je 0x14019d5ed
nop word [rax + rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
movups xmmword [rdx], xmm1
lea rdx, [rdx + 0x10]
add rax, 0x10
cmp rax, rbx
jne 0x14019d5d0
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x90], r15
cmp rbx, rcx
je 0x14019d620
sub rdi, rbx
nop dword [rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rbx]
movups xmmword [rbx], xmm0
movups xmmword [rdi + rbx], xmm1
add rbx, 0x10
cmp rbx, rcx
jne 0x14019d600
nop word [rax + rax]
mov r9, rsi
mov r8, qword [rsp + 0xa8]
mov rdx, r15
mov rcx, r14
call fcn.14017d450
mov rax, r13
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov dword [r12], 0
mov ecx, 6
call fcn.14035c9f4
nop
call fcn.140014490
int3
call fcn.1400040c0
int3
Function at 0x1401a3de0
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rdx + 0x3f8]
lea r8, [rcx + 0x3f8]
cmp rcx, rax
ja 0x1401a3e22
xor r9d, r9d
cmp r8, rdx
jb 0x1401a3e22
mov r8d, 0x80
lea rax, [rcx + r9*8]
sub rdx, rcx
sub r8, r9
nop dword [rax + rax]
mov rcx, qword [rax + rdx]
xor qword [rax], rcx
lea rax, [rax + 8]
sub r8, 1
jne 0x1401a3e10
ret
lea rax, [rcx + 0x10]
sub rdx, rcx
mov ecx, reloc.WS2_32.dll_recv
nop
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [rdx + rax - 0x10]
movdqu xmm2, xmmword [rdx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [rdx + 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 [rdx + rax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
sub rcx, 1
jne 0x1401a3e30
ret
Function at 0x1401abc38
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x14050c618]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rdx
mov rsi, rcx
test dl, 0x3f
je 0x1401abc67
xor al, al
jmp 0x1401abd76
mov r14d, 0x40
shr rbx, 6
mov dword [rsp + 0x28], r14d
mov ecx, 0x200
mov qword [rsp + 0x20], rsi
lea r9d, [r14 - 0x20]
call fcn.140015ec0
lea edi, [r14 - 0x3f]
cmp ebx, edi
je 0x1401abcc2
mov ecx, edi
lea r8d, [rdi - 1]
shl rcx, 6
mov r9d, r14d
add rcx, rsi
shl r8, 6
mov dword [rsp + 0x28], r14d
add r8, rsi
mov qword [rsp + 0x20], rcx
mov ecx, 0x200
call fcn.140015ec0
inc edi
cmp edi, ebx
jne 0x1401abc91
mov ebp, 3
xor edi, edi
test ebx, ebx
je 0x1401abd6a
xor edx, edx
mov r9d, edi
shl r9, 6
add r9, rsi
mov eax, dword [r9]
div ebx
lea eax, [rbx - 1]
mov r8d, edx
add eax, edi
xor edx, edx
shl r8, 6
div ebx
mov ecx, edx
lea rdx, [rsp + 0x30]
shl rcx, 6
sub r8, rdx
add r8, rsi
mov edx, reloc.WS2_32.dll_recv
movups xmm0, xmmword [rcx + rsi]
movups xmm1, xmmword [rcx + rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rcx + rsi + 0x20]
movaps xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [rcx + rsi + 0x30]
lea rcx, [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
mov eax, dword [r8 + rcx]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1401abd34
mov dword [rsp + 0x28], r14d
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r9
mov ecx, 0x200
mov r9d, r14d
call fcn.140015ec0
inc edi
cmp edi, ebx
jne 0x1401abcd1
sub rbp, 1
jne 0x1401abcc7
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14035e1b0
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401abd94
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14050c618]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r13, qword [r9]
xor ebp, ebp
mov r14, r9
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x38], rcx
mov rsi, rcx
mov ebx, edx
lea edi, [rbp + 4]
mov eax, dword [r14 + 0x1c]
lea r8, [rbx + rbp]
mov cl, byte [r14 + 0x24]
mov r9d, 0x40
mov edx, dword [r14 + 0x20]
add rdx, r8
mov dword [rsp + 0x28], 0x40
imul rdx, rax
mov qword [rsp + 0x20], rsi
shr rdx, cl
mov ecx, 0x200
imul edx, dword [r14 + 0x18]
sub r8d, edx
mov eax, r8d
mov r8, rsi
shl rax, 6
movups xmm0, xmmword [rax + r13]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + r13 + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rax + r13 + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rax + r13 + 0x30]
lea eax, [rbx + rbp]
movups xmmword [rsi + 0x30], xmm1
xor dword [rsi], eax
call fcn.140015ec0
inc rbp
add rsi, 0x40
cmp rbp, rdi
jb 0x1401abdd8
mov rbx, qword [rsp + 0x38]
xor r9d, r9d
xor r10d, r10d
mov ebp, dword [r14 + 0x24]
lea r11, [rsp + 0x40]
mov r15d, dword [r14 + 0x20]
mov rax, r10
mov r12d, dword [r14 + 0x1c]
xor r8d, r8d
and eax, 0xf
lea rsi, [rbx + rax*4]
mov ebx, dword [rsp + 0x30]
lea eax, [r8 + rbx]
xor eax, r9d
imul ecx, eax, 0x1000193
xor ecx, dword [rsi]
mov edx, ecx
lea rax, [r15 + rcx]
mov rcx, rbp
imul rax, r12
shr rax, cl
imul eax, dword [r14 + 0x18]
sub edx, eax
mov ecx, edx
shl rcx, 6
add rcx, r13
mov qword [r11], rcx
prefetcht0 byte [rcx]
inc r8d
lea rsi, [rsi + 0x40]
lea r11, [r11 + 8]
cmp r8d, edi
jb 0x1401abe85
mov rbx, qword [rsp + 0x38]
mov r11d, reloc.WS2_32.dll_recv
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
sub rdx, rbx
mov r8d, r11d
imul eax, dword [rcx], 0x1000193
xor eax, dword [rdx + rcx]
mov dword [rcx], eax
add rcx, rdi
sub r8, 1
jne 0x1401abee3
mov rdx, qword [rsp + 0x48]
lea rcx, [rbx + 0x40]
sub rdx, rbx
mov r8, r11
imul eax, dword [rcx], 0x1000193
xor eax, dword [rdx + rcx - 0x40]
mov dword [rcx], eax
add rcx, rdi
sub r8, 1
jne 0x1401abf06
mov rdx, qword [rsp + 0x50]
lea rcx, [rbx + 0x80]
sub rdx, rbx
mov r8, r11
imul eax, dword [rcx], 0x1000193
xor eax, dword [rdx + rcx - 0x80]
mov dword [rcx], eax
add rcx, rdi
sub r8, 1
jne 0x1401abf2d
mov rdx, qword [rsp + 0x58]
lea rcx, [rbx + 0xc0]
sub rdx, rbx
mov r8, r11
imul eax, dword [rcx], 0x1000193
xor eax, dword [rdx + rcx - 0xc0]
mov dword [rcx], eax
add rcx, rdi
sub r8, 1
jne 0x1401abf54
inc r9d
inc r10
cmp r9d, 0x200
jne 0x1401abe63
mov dword [rsp + 0x28], 0x40
mov r9d, 0x40
mov r8, rbx
mov qword [rsp + 0x20], rbx
mov ecx, 0x200
call fcn.140015ec0
add rbx, 0x40
sub rdi, 1
jne 0x1401abf7f
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14035e1b0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1401af290
Capabilities:
Hash data using sha256

Disassembly:
mov r11, rsp
push rbx
push rsi
push r14
sub rsp, 0xc0
mov rax, qword [0x14050c618]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rsi, r8
mov rbx, rdx
mov r14, rcx
movups xmm0, xmmword [0x140483618]
movups xmm1, xmmword [0x140483628]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [r11 - 0x58], xmm1
mov qword [r11 - 0x48], 0
cmp r8, 0x80
jae 0x1401af2ee
lea rcx, [rsp + 0x30]
call fcn.1401aeff0
jmp 0x1401af354
mov qword [rsp + 0xb8], rbp
mov qword [rsp + 0xb0], rdi
mov rdi, rsi
shr rdi, 6
imul rbp, rdi, 0xffffffffffffffc0
add rbp, rsi
nop dword [rax]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1401ac790
add rbx, 0x40
sub rdi, 1
jne 0x1401af310
mov rdi, qword [rsp + 0xb0]
test rbp, rbp
je 0x1401af344
mov r8, rbp
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.140360840
add qword [rsp + 0x90], rsi
mov rbp, qword [rsp + 0xb8]
mov r9, r14
lea rcx, [rsp + 0x30]
call fcn.1401af0a0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14035e1b0
add rsp, 0xc0
pop r14
pop rsi
pop rbx
ret

Function at 0x1401b0370
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
movzx ebp, r9b
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
add rcx, 0x70
xor edx, edx
mov r8d, 0x200
call fcn.140360ef0
xor r14d, r14d
mov dword [rbx + 0x270], r14d
mov byte [rbx + 0x274], r14b
mov byte [rbx + 0x275], r14b
mov qword [rbx + 0x278], rdi
mov dword [rbx + 0x280], esi
mov byte [rbx + 0x284], bpl
mov qword [rbx + 0x288], r14
mov rcx, rbx
call fcn.140335bd0
lea rcx, [rbx + 0x28]
call fcn.140335b20
lea ecx, [r14 + 0x10]
call fcn.14035e1d0
mov rdi, rax
mov qword [rsp + 0x50], rax
lea ecx, [r14 + 0x10]
call fcn.14035e1d0
mov qword [rax], rbx
lea rcx, [0x1401b0490]
mov qword [rax + 8], rcx
mov qword [rsp + 0x58], rax
lea rsi, [rdi + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140071610]
xor edx, edx
xor ecx, ecx
call fcn.14036c220
mov qword [rdi], rax
test rax, rax
je 0x1401b047b
mov qword [rbx + 0x288], rdi
mov qword [rsp + 0x50], 1
nop word [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.140083460
movzx eax, byte [rbx + 0x274]
test al, al
je 0x1401b0450
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov dword [rsi], r14d
mov ecx, 6
call fcn.14035c9f4
int3
Function at 0x1401b05c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov eax, 1
xchg dword [0x1407b71b0], eax
test eax, eax
jne 0x1401b0770
lea ecx, [rax + 1]
call fcn.14035e1d0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x1401b2bf0]
xor edx, edx
xor ecx, ecx
call fcn.14036c220
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1401b0785
cmp dword [rsp + 0x38], ebx
je 0x1401b0794
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rsp + 0x38], eax
je 0x1401b079f
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14035d134
test eax, eax
jne 0x1401b07aa
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
cmp dword [0x1407a4ec0], eax
jbe 0x1401b06ab
lea rdx, str._____________________________________________
lea ecx, [rbx + 6]
call fcn.140026700
cmp dword [0x1407a4ec0], ebx
jbe 0x1401b06ab
lea rdx, str._________GhostRider_tuning_results_________
lea ecx, [rbx + 6]
call fcn.140026700
cmp dword [0x1407a4ec0], ebx
jbe 0x1401b06ab
lea rdx, str._____________________________________________
lea ecx, [rbx + 6]
call fcn.140026700
lea rdi, str.cn_dark__512_KB_
mov esi, 6
lea rbp, [0x140000000]
nop
cmp dword [0x1407a4ec0], 0
jbe 0x1401b06ff
movsd xmm0, qword [rbx + rbp + 0x513150]
movsd qword [rsp + 0x28], xmm0
mov eax, dword [rbx + rbp + 0x51315c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbx + rbp + 0x513158]
mov r8, qword [rdi]
lea rdx, str._24s___ux_u___.2f_h_s
mov ecx, 6
call fcn.140026700
mov r9d, dword [rbx + rbp + 0x5130f8]
cmp r9d, dword [rbx + rbp + 0x513158]
jne 0x1401b0721
mov eax, dword [rbx + rbp + 0x51315c]
cmp dword [rbx + rbp + 0x5130fc], eax
je 0x1401b0758
cmp dword [0x1407a4ec0], 0
jbe 0x1401b0758
movsd xmm0, qword [rbx + rbp + 0x5130f0]
movsd qword [rsp + 0x28], xmm0
mov eax, dword [rbx + rbp + 0x5130fc]
mov dword [rsp + 0x20], eax
mov r8, qword [rdi]
lea rdx, str._24s___ux_u___.2f_h_s
mov ecx, 6
call fcn.140026700
add rbx, 0x10
add rdi, 8
sub rsi, 1
jne 0x1401b06c0
cmp dword [rsp + 0x38], esi
jne 0x1401b07b5
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov dword [rsp + 0x38], ebx
mov ecx, 6
call fcn.14035c9f4
nop
mov ecx, 1
call fcn.14035c9f4
int3
mov ecx, 5
call fcn.14035c9f4
int3
mov ecx, 2
call fcn.14035c9f4
nop
call fcn.14036957c
int3
Function at 0x140243a60
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, gethostname
call fcn.14035ee10
sub rsp, rax
mov r10, r8
mov r11, rcx
test r9, r9
jne 0x140243a9f
mov edx, 0xe2
mov dword [rsp + 0x20], 0x9a
lea r9, str.crypto_asn1_a_int.c
lea ecx, [rax - 0x2b]
lea r8d, [rdx - 4]
call fcn.140248180
xor eax, eax
add rsp, 0x38
ret
movzx r8d, byte [r8]
and r8d, 0x80
test rdx, rdx
je 0x140243ab2
mov dword [rdx], r8d
cmp r9, 1
jne 0x140243ad4
test r11, r11
je 0x140243aca
movzx eax, byte [r10]
test r8d, r8d
je 0x140243ac8
neg al
mov byte [rcx], al
mov eax, 1
add rsp, 0x38
ret
movzx ecx, byte [r10]
mov qword [rsp + 0x40], rbx
xor ebx, ebx
mov eax, ebx
test cl, cl
jne 0x140243af1
mov eax, 1
mov ebx, eax
jmp 0x140243b9f
cmp cl, 0xff
jne 0x140243bdd
mov eax, 1
lea rcx, [r9 - 1]
mov edx, ebx
cmp r9, rax
jbe 0x140243b8f
cmp rcx, 8
jb 0x140243b80
and ecx, 7
mov rdx, r9
sub rdx, rcx
xorps xmm2, xmm2
xorps xmm3, xmm3
movd xmm1, dword [rax + r10]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
por xmm2, xmm1
movd xmm1, dword [rax + r10 + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
por xmm1, xmm3
movdqa xmm3, xmm1
cmp rax, rdx
jb 0x140243b23
por xmm2, xmm1
movdqa xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd edx, xmm2
cmp rax, r9
jae 0x140243b8f
nop
movzx ecx, byte [rax + r10]
inc rax
or edx, ecx
cmp rax, r9
jb 0x140243b80
test edx, edx
mov eax, ebx
setne al
test edx, edx
setne bl
test edx, edx
je 0x140243bdd
movzx ecx, byte [r10 + 1]
and ecx, 0x80
cmp r8d, ecx
jne 0x140243bdd
mov edx, 0xe2
mov dword [rsp + 0x20], 0xbb
lea r9, str.crypto_asn1_a_int.c
mov ecx, reloc.WS2_32.dll_listen
lea r8d, [rdx - 5]
call fcn.140248180
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x38
ret
mov ecx, eax
sub r9, rcx
test r11, r11
je 0x140243c31
neg r8d
mov qword [rsp + 0x30], rdi
lea r8, [rbx + r10]
sbb edi, edi
add r8, r9
movzx edi, dil
mov ecx, edi
and ecx, 1
test r9, r9
je 0x140243c2c
mov rdx, r8
sub rdx, rbx
sub rdx, r10
nop
movzx eax, byte [r8 - 1]
lea r8, [r8 - 1]
dec rdx
xor eax, edi
add ecx, eax
mov byte [rdx + r11], cl
shr ecx, 8
test rdx, rdx
jne 0x140243c10
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rax, r9
add rsp, 0x38
ret

Function at 0x1402473a0
Capabilities:
Set thread local storage value

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

Disassembly:
mov eax, 0x28
call fcn.14035ee10
sub rsp, rax
lea rcx, [0x140519548]
add rsp, 0x28
jmp fcn.140247200

Function at 0x140268300
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
mov r10, rdx
test r8, r8
je 0x140268327
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 0x140268310
movzx eax, r9b
ret
Function at 0x1402a51d0
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.14035ee10
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 0x1402a5248
mov rdx, qword [rsp + 0x98]
nop dword [rax]
test rbx, rbx
je 0x1402a5241
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 0x1402a5220
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 0x1402a537e
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 0x1402a533d
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 0x1402a5320
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 0x1402a52a0
mov edi, dword [rsp + 0x80]
mov r13d, ntohs
mov r9, qword [rsp + 0xa0]
test rbx, rbx
je 0x1402a5421
mov rax, qword [rsp + 0x98]
xorps xmm0, xmm0
mov qword [rsp + 0x20], r8
mov r9, r10
mov r8, rsi
mov rdx, rax
mov rcx, rax
movups xmmword [rax], xmm0
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 0x1402a53f7
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 0x1402a53e0
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 0x1402a5400
mov rax, qword [rsp + 0xa0]
mov dword [rax], edi
jmp 0x1402a5424
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 0x1402a5ba0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push r14
mov eax, 0x20
call fcn.14035ee10
sub rsp, rax
cmp qword [rcx + 0x38], 0
mov rbx, r8
mov r14, rdx
mov rbp, rcx
je 0x1402a5bd0
mov eax, 0xfffffffe
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov rcx, qword [rcx + 0x30]
movabs rax, 0x2000000000000000
add rcx, rbx
cmp rcx, rax
ja 0x1402a5cc2
cmp rcx, rbx
jb 0x1402a5cc2
mov qword [rsp + 0x40], rsi
mov esi, dword [rbp + 0x174]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
mov qword [rbp + 0x30], rcx
test esi, esi
je 0x1402a5c45
test rbx, rbx
je 0x1402a5ca2
movzx eax, byte [r14]
dec rbx
mov ecx, esi
inc r14
xor byte [rcx + rbp + 0x40], al
inc esi
and esi, 0xf
jne 0x1402a5c10
lea r12, [rbp + 0x60]
lea rdi, [rbp + 0x40]
mov rdx, r12
mov rcx, rdi
call fcn.1402a7250
jmp 0x1402a5c4d
lea r12, [rbp + 0x60]
lea rdi, [rbp + 0x40]
mov qword [rsp + 0x58], r15
mov r15, rbx
and r15, 0xfffffffffffffff0
je 0x1402a5c72
mov r9, r15
mov r8, r14
mov rdx, r12
mov rcx, rdi
call fcn.1402a7090
add r14, r15
sub rbx, r15
mov r15, qword [rsp + 0x58]
test rbx, rbx
je 0x1402a5ca2
mov esi, ebx
sub r14, rbp
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r14 + rdi - 0x40]
xor byte [rdi], al
lea rdi, [rdi + 1]
sub rbx, 1
jne 0x1402a5c90
mov rdi, qword [rsp + 0x48]
xor eax, eax
mov r12, qword [rsp + 0x50]
mov dword [rbp + 0x174], esi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov eax, 0xffffffff
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
Function at 0x1402a7090
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 r14
push r15
movzx r10d, byte [rcx + 0xf]
lea rbp, [r8 + 0xe]
mov rdi, rcx
lea r12, [0x1403d93e0]
sub rdi, r8
mov r15, r9
mov rsi, rdx
mov r11, rcx
nop dword [rax]
movzx ecx, byte [rbp + 1]
mov rbx, rbp
movzx eax, r10b
mov r14d, reloc.WS2_32.dll_ntohs
xor rcx, rax
mov rdx, rcx
and ecx, 0xf
add rcx, rcx
and rdx, 0xfffffffffffffff0
mov r8, qword [rsi + rcx*8]
mov r10, qword [rsi + rcx*8 + 8]
mov rax, r8
mov rcx, r10
shr rax, 4
and ecx, 0xf
shr r10, 4
shl r8, 0x3c
or r10, r8
xor rax, qword [r12 + rcx*8]
xor rax, qword [rdx + rsi]
xor r10, qword [rdx + rsi + 8]
nop
movzx ecx, byte [rbx]
mov r9, rax
movzx edx, byte [rdi + rbx]
lea rbx, [rbx - 1]
xor rdx, rcx
shl rax, 0x3c
mov rcx, r10
shr r9, 4
shr r10, 4
mov r8, rdx
or rax, r10
and edx, 0xf
add rdx, rdx
and ecx, 0xf
and r8, 0xfffffffffffffff0
xor rax, qword [rsi + rdx*8 + 8]
xor r9, qword [r12 + rcx*8]
mov rcx, rax
xor r9, qword [rsi + rdx*8]
and ecx, 0xf
mov rdx, rax
mov r10, r9
shl r10, 0x3c
mov rax, r9
shr rax, 4
xor rax, qword [r12 + rcx*8]
xor rax, qword [r8 + rsi]
shr rdx, 4
or r10, rdx
xor r10, qword [r8 + rsi + 8]
sub r14, 1
jne 0x1402a7120
mov rdx, rax
mov byte [r11 + 7], al
shr rdx, 0x20
add rbp, 0x10
mov ecx, edx
mov byte [r11 + 3], dl
shr ecx, 0x18
sub rdi, 0x10
mov byte [r11], cl
mov ecx, edx
shr ecx, 0x10
mov byte [r11 + 1], cl
mov ecx, edx
shr ecx, 8
mov byte [r11 + 2], cl
mov ecx, eax
shr ecx, 0x18
mov byte [r11 + 4], cl
mov ecx, eax
shr ecx, 0x10
mov byte [r11 + 5], cl
mov ecx, eax
shr ecx, 8
mov byte [r11 + 6], cl
mov rcx, r10
shr rcx, 0x20
mov eax, ecx
mov byte [r11 + 0xb], cl
shr eax, 0x18
mov byte [r11 + 8], al
mov eax, ecx
shr eax, 0x10
mov byte [r11 + 9], al
mov eax, ecx
shr eax, 8
mov byte [r11 + 0xa], al
mov eax, r10d
shr eax, 0x18
mov byte [r11 + 0xc], al
mov eax, r10d
shr eax, 0x10
mov byte [r11 + 0xd], al
mov eax, r10d
shr eax, 8
mov byte [r11 + 0xe], al
mov byte [r11 + 0xf], r10b
sub r15, 0x10
jne 0x1402a70d0
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret