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

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r13, r9
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 0x140155fe9
lea r8, [rax + 1]
mov qword [rsp + 0x30], 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 0x140155f2e
mov rsi, r9
mov qword [rsp + 0x98], r9
mov rcx, rsi
shl rcx, 4
call fcn.140003d50
mov r15, rax
mov qword [rsp + 0x40], rax
and rdi, 0xfffffffffffffff0
lea r12, [rdi + rax]
lea rdi, [r12 + 0x10]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x90], rdi
mov ecx, 0x20
call fcn.1403171f0
mov r9, rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax]
mov qword [r9], rcx
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax]
mov dword [r9 + 8], ecx
mov rax, qword [r13]
mov qword [r9 + 0x10], rax
mov rax, qword [rsp + 0xa0]
mov qword [r9 + 0x18], rax
mov qword [rsp + 0x48], r9
lea r13, [r12 + 8]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0
lea r8, [0x1401560c0]
xor edx, edx
xor ecx, ecx
call fcn.14032515c
mov qword [r12], rax
test rax, rax
je 0x140155fd6
mov qword [rsp + 0x90], r12
mov rcx, qword [r14 + 8]
mov rax, qword [r14]
mov rdx, r15
cmp rbx, rcx
jne 0x140155f52
cmp rax, rcx
je 0x140155fb0
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, rcx
jne 0x140155f10
jmp 0x140155fb0
lea rax, [rdx + rcx]
mov rsi, r8
cmp rax, r8
cmovae rsi, rax
mov qword [rsp + 0x98], rsi
cmp rsi, r9
ja 0x140155fef
jmp 0x140155e48
cmp rax, rbx
je 0x140155f7d
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 0x140155f60
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x90], r15
cmp rbx, rcx
je 0x140155fb0
sub rdi, rbx
nop dword [rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rbx]
movups xmmword [rbx], xmm0
movups xmmword [rbx + rdi], xmm1
add rbx, 0x10
cmp rbx, rcx
jne 0x140155f90
nop word [rax + rax]
mov r9, rsi
mov r8, qword [rsp + 0x30]
mov rdx, r15
mov rcx, r14
call fcn.140148080
mov rax, r12
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov dword [r13], 0
mov ecx, 6
call fcn.140315a14
nop
call fcn.140013d30
int3
call fcn.140003b40
int3
Function at 0x140156220
Capabilities:
Delete service
Stop service

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14046c618]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x140156248
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
jne 0x140156266
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1403171d0
add rsp, 0x50
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor esi, esi
mov qword [rsp + 0x70], rdi
mov dil, 1
cmp byte [rbx], sil
jne 0x1401562c1
lea r8, [rsp + 0x20]
lea edx, [rsi + 1]
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, qword [rbx + 0x18]
test eax, eax
movzx edi, dil
cmove edi, esi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x1401562c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.e_43_1me_1_37m_msr_____e_0m
lea rdx, str._s_e_0_31mfailed_to_remove_WinRing0_driver__error__ue_0m
lea ecx, [rsi + 3]
call fcn.140026210
xor dil, dil
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, dil
mov qword [rbx + 0x18], rsi
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1403171d0
add rsp, 0x50
pop rbx
ret
Function at 0x140158040
Capabilities:
Contain obfuscated stackstrings
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14046c618]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [rcx + 0xc]
mov rbx, rdx
mov dword [rsp + 0x30], eax
xor edx, edx
mov eax, dword [rcx + 0x1c]
mov rdi, r8
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 8]
mov dword [rsp + 0x3c], eax
mov eax, dword [rcx + 0x18]
mov dword [rsp + 0x44], eax
mov eax, dword [rcx + 4]
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 0x14]
mov dword [rsp + 0x50], eax
mov eax, dword [rcx]
mov dword [rsp + 0x54], eax
mov eax, dword [rcx + 0x10]
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x58], edx
mov rdx, rbx
mov dword [rsp + 0x20], 0x61707865
mov dword [rsp + 0x24], 0x3320646e
mov dword [rsp + 0x28], 0x79622d32
mov dword [rsp + 0x2c], 0x6b206574
mov dword [rsp + 0x5c], eax
call fcn.14015c360
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbx - 0x10], xmm0
movups xmmword [rdi + rbx], xmm1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1403171d0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x140158100
Capabilities:
Contain obfuscated stackstrings
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14046c618]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r8
mov rbx, rdx
test r8, r8
je 0x1401581ae
mov eax, dword [rcx]
xor edx, edx
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 4]
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 8]
mov dword [rsp + 0x5c], eax
mov eax, dword [rcx + 0xc]
mov dword [rsp + 0x50], eax
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x3c], eax
mov eax, dword [rcx + 0x14]
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + 0x18]
mov dword [rsp + 0x44], eax
mov eax, dword [rcx + 0x1c]
mov rcx, rbx
mov dword [rsp + 0x58], eax
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x20], 0x61707865
mov dword [rsp + 0x24], 0x3320646e
mov dword [rsp + 0x28], 0x79622d32
mov dword [rsp + 0x2c], 0x6b206574
call fcn.140319f10
mov r9, rdi
lea rcx, [rsp + 0x20]
mov r8, rbx
mov rdx, rbx
call fcn.14015a6c0
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbx - 0x10], xmm0
movups xmmword [rdi + rbx], xmm1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1403171d0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x1401629f0
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rdx + 0x3f8]
lea r8, [rcx + 0x3f8]
cmp rcx, rax
ja 0x140162a32
xor r9d, r9d
cmp r8, rdx
jb 0x140162a32
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 0x140162a20
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 0x140162a40
ret
Function at 0x14016d134
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, dword [rcx + 0x60]
mov rbx, rcx
and edx, 0x3f
mov eax, gethostname
mov rsi, r9
lea rdi, [rbx + 0x40]
mov byte [rdx + rcx], 0x80
inc edx
mov ecx, edx
add rcx, rbx
cmp edx, eax
jbe 0x14016d196
lea r8d, [rax + 8]
sub r8d, edx
xor edx, edx
call fcn.140319f10
mov rdx, rdi
mov rcx, rbx
call fcn.14016a848
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
mov qword [rbx + 0x30], rax
jmp 0x14016d1a2
sub eax, edx
xor edx, edx
mov r8d, eax
call fcn.140319f10
mov rcx, qword [rbx + 0x60]
shl rcx, 3
rol rcx, 0x20
mov rdx, rcx
mov rax, rcx
shl rcx, 0x10
shr rdx, 0x10
shl rax, 0x10
xor rdx, rax
movabs rax, 0xffff0000ffff
and rdx, rax
xor rdx, rcx
mov rcx, rdx
mov rax, rdx
shr rcx, 8
shl rax, 8
xor rcx, rax
shl rdx, 8
movabs rax, 0xff00ff00ff00ff
and rcx, rax
xor rcx, rdx
mov rdx, rdi
mov qword [rbx + 0x38], rcx
mov rcx, rbx
call fcn.14016a848
xor r8d, r8d
mov ecx, dword [rdi]
lea rdi, [rdi + 4]
rol ecx, 0x10
mov eax, ecx
mov edx, ecx
shr edx, 8
shl eax, 8
xor edx, eax
shl ecx, 8
and edx, 0xff00ff
lea eax, [r8*4]
xor edx, ecx
inc r8d
mov dword [rax + rsi], edx
cmp r8d, 8
jb 0x14016d20a
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14016d250
Capabilities:
Hash data using sha256

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x14046c618]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movups xmm0, xmmword [0x1403edab0]
mov rdi, r8
mov rsi, rdx
movups xmm1, xmmword [0x1403edac0]
mov r14, rcx
movaps xmmword [rsp + 0x70], xmm0
and qword [r11 - 0x48], 0
movaps xmmword [r11 - 0x58], xmm1
cmp r8, 0x80
jae 0x14016d2ad
lea rcx, [rsp + 0x30]
call fcn.14016d0a0
jmp 0x14016d2ef
mov rbx, rdi
shr rbx, 6
imul rbp, rbx, 0xffffffffffffffc0
add rbp, rdi
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.14016a848
add rsi, 0x40
sub rbx, 1
jne 0x14016d2bb
test rbp, rbp
je 0x14016d2e7
mov r8, rbp
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.140319860
add qword [rsp + 0x90], rdi
mov r9, r14
lea rcx, [rsp + 0x30]
call fcn.14016d134
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1403171d0
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14016e5b0
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.140319f10
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.1402f3840
lea rcx, [rbx + 0x28]
call fcn.1402f3790
lea ecx, [r14 + 0x10]
call fcn.1403171f0
mov rdi, rax
mov qword [rsp + 0x50], rax
lea ecx, [r14 + 0x10]
call fcn.1403171f0
mov qword [rax], rbx
lea rcx, [0x14016e6d0]
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, [0x14006fb60]
xor edx, edx
xor ecx, ecx
call fcn.14032515c
mov qword [rdi], rax
test rax, rax
je 0x14016e6bb
mov qword [rbx + 0x288], rdi
mov qword [rsp + 0x50], 1
nop word [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.140081e30
movzx eax, byte [rbx + 0x274]
test al, al
je 0x14016e690
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.140315a14
int3
Function at 0x14016e830
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 [0x140710340], eax
test eax, eax
jne 0x14016e9e0
lea ecx, [rax + 1]
call fcn.1403171f0
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, [0x140170dc0]
xor edx, edx
xor ecx, ecx
call fcn.14032515c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14016e9f5
cmp dword [rsp + 0x38], ebx
je 0x14016ea04
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rsp + 0x38], eax
je 0x14016ea0f
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140316154
test eax, eax
jne 0x14016ea1a
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
cmp dword [0x1406ff000], eax
jbe 0x14016e91b
lea rdx, str._____________________________________________
lea ecx, [rbx + 6]
call fcn.140026210
cmp dword [0x1406ff000], ebx
jbe 0x14016e91b
lea rdx, str._________GhostRider_tuning_results_________
lea ecx, [rbx + 6]
call fcn.140026210
cmp dword [0x1406ff000], ebx
jbe 0x14016e91b
lea rdx, str._____________________________________________
lea ecx, [rbx + 6]
call fcn.140026210
lea rdi, str.cn_dark__512_KB_
mov esi, 6
lea rbp, [0x140000000]
nop
cmp dword [0x1406ff000], 0
jbe 0x14016e96f
movsd xmm0, qword [rbx + rbp + 0x46daa0]
movsd qword [rsp + 0x28], xmm0
mov eax, dword [rbx + rbp + 0x46daac]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbx + rbp + 0x46daa8]
mov r8, qword [rdi]
lea rdx, str._24s___ux_u___.2f_h_s
mov ecx, 6
call fcn.140026210
mov r9d, dword [rbx + rbp + 0x46da48]
cmp r9d, dword [rbx + rbp + 0x46daa8]
jne 0x14016e991
mov eax, dword [rbx + rbp + 0x46daac]
cmp dword [rbx + rbp + 0x46da4c], eax
je 0x14016e9c8
cmp dword [0x1406ff000], 0
jbe 0x14016e9c8
movsd xmm0, qword [rbx + rbp + 0x46da40]
movsd qword [rsp + 0x28], xmm0
mov eax, dword [rbx + rbp + 0x46da4c]
mov dword [rsp + 0x20], eax
mov r8, qword [rdi]
lea rdx, str._24s___ux_u___.2f_h_s
mov ecx, 6
call fcn.140026210
add rbx, 0x10
add rdi, 8
sub rsi, 1
jne 0x14016e930
cmp dword [rsp + 0x38], esi
jne 0x14016ea25
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.140315a14
nop
mov ecx, 1
call fcn.140315a14
int3
mov ecx, 5
call fcn.140315a14
int3
mov ecx, 2
call fcn.140315a14
nop
call fcn.140322518
int3
Function at 0x140188544
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x14046c618]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r10, qword [rcx + 8]
mov rbx, rcx
mov rax, qword [rcx + 0x50]
mov rdi, r9
mov byte [rbx + r10], 0x80
lea rdx, [rax + r10*8]
rol rdx, 0x20
mov r8, rdx
mov rax, rdx
shr r8, 0x10
shl rax, 0x10
xor r8, rax
shl rdx, 0x10
movabs rax, 0xffff0000ffff
and r8, rax
xor r8, rdx
mov rcx, r8
mov rax, r8
shr rcx, 8
shl rax, 8
xor rcx, rax
shl r8, 8
movabs rax, 0xff00ff00ff00ff
and rcx, rax
xor rcx, r8
mov r8d, 8
inc r10
mov qword [rsp + 0x20], rcx
cmp r10, r8
jae 0x1401885e3
sub r8, r10
lea rcx, [rbx + r10]
xor edx, edx
call fcn.140319f10
mov r8d, 1
mov rdx, rbx
mov rcx, rbx
call fcn.14017f3f4
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1401826ac
xor r8d, r8d
add rbx, 0x10
mov edx, dword [rbx]
lea rbx, [rbx + 4]
rol edx, 0x10
mov ecx, edx
mov eax, edx
shr ecx, 8
shl eax, 8
xor ecx, eax
shl edx, 8
and ecx, 0xff00ff
xor ecx, edx
mov dword [rdi + r8*4], ecx
inc r8
cmp r8, 0x10
jb 0x140188608
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1403171d0
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1401af70c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x14046c618]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbp, qword [rcx + 0x80]
lea r12, [rsp + 0x30]
mov rdx, qword [rcx + 0xe8]
add r12, rbp
mov rsi, qword [rcx + 0xf0]
or r13, 0xffffffffffffffff
xor edi, edi
mov qword [rsp + 0x20], r9
lea r8d, [rbp*8]
mov r15d, 0x80
mov byte [r12], r15b
lea r14, [rdx + r8]
mov rbx, rcx
test rbp, rbp
jne 0x1401af78b
mov qword [rcx + 0xf0], r13
mov rdx, 0xfffffffffffffc00
jmp 0x1401af7af
test rdx, rdx
jne 0x1401af7a4
lea rax, [rsi - 1]
mov qword [rcx + 0xf0], rax
lea rdx, [r8 - 0x400]
jmp 0x1401af7af
mov ecx, 0x400
sub ecx, r8d
sub rdx, rcx
lea rcx, [rsp + 0x31]
mov qword [rbx + 0xe8], rdx
add rcx, rbp
rol rsi, 0x20
rol r14, 0x20
xor edx, edx
cmp r8d, 0x37e
ja 0x1401af879
lea r8d, [rdx + 0x6f]
sub r8, rbp
call fcn.140319f10
or byte [rsp + 0x9f], 1
mov rdx, rsi
shr rdx, 0x10
mov rax, rsi
shl rax, 0x10
movabs r13, 0xffff0000ffff
xor rdx, rax
shl rsi, 0x10
and rdx, r13
xor rdx, rsi
movabs rsi, 0xff00ff00ff00ff
mov rcx, rdx
mov rax, rdx
shr rcx, 8
shl rdx, 8
shl rax, 8
xor rcx, rax
mov rax, r14
and rcx, rsi
shl rax, 0x10
xor rcx, rdx
mov rdx, r14
shr rdx, 0x10
xor rdx, rax
mov qword [rsp + 0xa0], rcx
and rdx, r13
shl r14, 0x10
xor rdx, r14
mov rcx, rdx
mov rax, rdx
shr rcx, 8
shl rax, 8
xor rcx, rax
shl rdx, 8
and rcx, rsi
xor rcx, rdx
sub r15, rbp
jmp 0x1401af94f
mov r8d, 0x7f
sub r8, rbp
call fcn.140319f10
mov r8, r15
mov rdx, r12
sub r8, rbp
mov rcx, rbx
call fcn.1401ab2b8
xor edx, edx
mov qword [rbx + 0xe8], 0xfffffffffffffc00
lea rcx, [rsp + 0x30]
mov qword [rbx + 0xf0], r13
lea r8d, [rdx + 0x6f]
call fcn.140319f10
mov rdx, rsi
mov byte [rsp + 0x9f], 1
shr rdx, 0x10
lea r12, [rsp + 0x30]
mov rax, rsi
movabs r13, 0xffff0000ffff
shl rax, 0x10
xor rdx, rax
shl rsi, 0x10
and rdx, r13
xor rdx, rsi
movabs rsi, 0xff00ff00ff00ff
mov rcx, rdx
mov rax, rdx
shr rcx, 8
shl rdx, 8
shl rax, 8
xor rcx, rax
mov rax, r14
and rcx, rsi
shl rax, 0x10
xor rcx, rdx
mov rdx, r14
shr rdx, 0x10
xor rdx, rax
mov qword [rsp + 0xa0], rcx
and rdx, r13
shl r14, 0x10
xor rdx, r14
mov rcx, rdx
mov rax, rdx
shr rcx, 8
shl rax, 8
xor rcx, rax
shl rdx, 8
and rcx, rsi
xor rcx, rdx
mov qword [rsp + 0xa8], rcx
mov r8, r15
mov rcx, rbx
mov rdx, r12
call fcn.1401ab2b8
mov r8, qword [rsp + 0x20]
add rbx, 0x88
mov rcx, qword [rbx]
lea rbx, [rbx + 8]
rol rcx, 0x20
mov rdx, rcx
mov rax, rcx
shl rcx, 0x10
shr rdx, 0x10
shl rax, 0x10
xor rdx, rax
and rdx, r13
xor rdx, rcx
mov rcx, rdx
mov rax, rdx
shr rcx, 8
shl rax, 8
xor rcx, rax
shl rdx, 8
and rcx, rsi
xor rcx, rdx
mov qword [r8 + rdi*8], rcx
inc rdi
cmp rdi, 8
jb 0x1401af971
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1403171d0
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401f7c30
Capabilities:
Encode data using xor

Disassembly:
push rbx
movsxd rbx, r9d
mov r10, r8
mov r11, rdx
cmp rdx, r8
je 0x1401f7d92
mov qword [rsp + 0x10], rsi
lea rsi, [rcx - 1]
not rcx
shr rsi, 0x3f
shr rcx, 0x3f
and rsi, rcx
mov ecx, dword [rdx + 8]
xor ecx, dword [r8 + 8]
dec rsi
and ecx, esi
xor dword [rdx + 8], ecx
xor dword [r8 + 8], ecx
mov edx, dword [r8 + 0x10]
movq xmm4, rsi
xor edx, dword [r11 + 0x10]
and edx, esi
punpcklqdq xmm4, xmm4
xor dword [r11 + 0x10], edx
xor dword [r8 + 0x10], edx
mov ecx, dword [r11 + 0x14]
mov edx, dword [r8 + 0x14]
xor rdx, rcx
and edx, 4
and rdx, rsi
mov eax, edx
xor eax, ecx
xor ecx, ecx
mov dword [r11 + 0x14], eax
xor dword [r8 + 0x14], edx
mov edx, ecx
test r9d, r9d
jle 0x1401f7d52
cmp ebx, 2
jb 0x1401f7d52
mov r9, qword [r8]
lea rax, [rbx - 1]
mov r8, qword [r11]
mov qword [rsp + 0x18], rdi
lea rdi, [rbx - 1]
lea rdi, [r9 + rdi*8]
lea rax, [r8 + rax*8]
cmp r9, rax
ja 0x1401f7ce1
cmp rdi, r8
jae 0x1401f7d4d
cmp r9, r10
ja 0x1401f7ceb
cmp rdi, r10
jae 0x1401f7d4d
cmp r9, r11
ja 0x1401f7cf5
cmp rdi, r11
jae 0x1401f7d4d
cmp r8, r10
ja 0x1401f7cff
cmp rax, r10
jae 0x1401f7d4d
cmp r8, r11
ja 0x1401f7d09
cmp rax, r11
jae 0x1401f7d4d
mov eax, ebx
and eax, 0xfffffffe
nop
movdqu xmm2, xmmword [rcx + r9]
add edx, 2
movdqu xmm1, xmmword [rcx + r8]
lea rcx, [rcx + 0x10]
movdqa xmm3, xmm2
pxor xmm3, xmm1
pand xmm3, xmm4
movdqa xmm0, xmm3
pxor xmm3, xmm2
pxor xmm0, xmm1
movdqu xmmword [rcx + r8 - 0x10], xmm0
movdqu xmmword [rcx + r9 - 0x10], xmm3
cmp edx, eax
jl 0x1401f7d10
mov rdi, qword [rsp + 0x18]
movsxd rax, edx
cmp rax, rbx
jge 0x1401f7d8d
nop word [rax + rax]
mov rcx, qword [r11]
mov rdx, qword [rcx + rax*8]
lea r8, [rcx + rax*8]
mov rcx, qword [r10]
mov r9, qword [rcx + rax*8]
xor r9, rdx
and r9, rsi
xor rdx, r9
mov qword [r8], rdx
mov rcx, qword [r10]
xor qword [rcx + rax*8], r9
inc rax
cmp rax, rbx
jl 0x1401f7d60
mov rsi, qword [rsp + 0x10]
pop rbx
ret
Function at 0x1401fea40
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
mov r10, rdx
xor r11b, r11b
xor edx, edx
mov rsi, r9
mov rbx, rcx
test rcx, rcx
je 0x1401feb54
test r10, r10
je 0x1401feb54
movzx eax, byte [rcx]
test r8d, r8d
jne 0x1401fea85
cmp al, 0x7f
jbe 0x1401feb4d
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1401feb5c
mov r11b, 0xff
cmp al, 0x80
jbe 0x1401fea9b
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1401feb5c
jne 0x1401feb4d
mov eax, 1
lea rcx, [r10 - 1]
cmp r10, rax
jbe 0x1401feb3e
cmp rcx, 8
jb 0x1401feb30
and ecx, 7
mov rdx, r10
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop dword [rax + rax]
movd xmm1, dword [rax + rbx]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
por xmm1, xmm3
movdqa xmm3, xmm1
movd xmm1, dword [rax + rbx + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
por xmm1, xmm2
movdqa xmm2, xmm1
cmp rax, rdx
jb 0x1401fead0
por xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd edx, xmm2
cmp rax, r10
jae 0x1401feb3e
nop
movzx ecx, byte [rax + rbx]
inc rax
or edx, ecx
cmp rax, r10
jb 0x1401feb30
neg edx
sbb r11b, r11b
movzx r11d, r11b
mov edx, r11d
and edx, 1
mov eax, edx
add rax, r10
jmp 0x1401feb5c
mov eax, 1
mov r10, rdx
mov qword [rsp + 0x10], rdi
test rsi, rsi
je 0x1401febb5
mov rdi, qword [r9]
test rdi, rdi
je 0x1401febb5
movzx r8d, r11b
lea r9, [rbx + r10]
and r8d, 1
mov byte [rdi], r11b
test r10, r10
je 0x1401febb2
mov ebx, edx
add rbx, rdi
nop word [rax + rax]
movzx edx, byte [r9 - 1]
lea r9, [r9 - 1]
dec r10
movzx ecx, r11b
xor edx, ecx
add r8d, edx
mov byte [rbx + r10], r8b
shr r8d, 8
test r10, r10
jne 0x1401feb90
add qword [rsi], rax
mov rdi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
pop rsi
ret

Function at 0x140202050
Capabilities:
Set thread local storage value

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

Disassembly:
mov eax, 0x28
call fcn.140317e30
sub rsp, rax
lea rcx, [0x140473688]
add rsp, 0x28
jmp fcn.140201eb0

Function at 0x140223100
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
mov r10, rdx
test r8, r8
je 0x140223127
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 0x140223110
movzx eax, r9b
ret