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

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r15
sub rsp, 0x30
cmp dword [rsp + 0x78], 0
mov r15, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
je 0x1400889db
mov qword [rsp + 0x58], r12
mov r12, qword [rsp + 0x70]
mov r10, r12
cmp r8, 0x10
jb 0x1400888ba
mov qword [rsp + 0x50], rbp
mov rbp, r8
shr rbp, 4
imul rax, rbp, 0xfffffffffffffff0
add rdi, rax
nop word [rax + rax]
sub r10, rsi
mov r8, rbx
sub r8, rsi
mov rax, rsi
mov edx, 2
mov rcx, qword [r10 + rax]
xor rcx, qword [rax]
mov qword [r8 + rax], rcx
lea rax, [rax + 8]
sub rdx, 1
jne 0x140088881
mov r8, r15
mov rdx, rbx
mov rcx, rbx
call fcn.140089220
mov r10, rbx
add rsi, 0x10
add rbx, 0x10
sub rbp, 1
jne 0x140088870
mov rbp, qword [rsp + 0x50]
test rdi, rdi
je 0x1400889bf
mov qword [rsp + 0x60], r14
nop dword [rax + rax]
mov r8, r10
lea rcx, [rsi + 1]
mov r9, rbx
mov r11d, 1
sub r8, rsi
sub r9, rsi
sub r11, rsi
xor edx, edx
mov r14d, 2
sub r14, rsi
cmp rdx, rdi
jae 0x140088970
movzx eax, byte [r8 + rcx - 1]
xor al, byte [rcx - 1]
mov byte [r9 + rcx - 1], al
mov rax, rcx
sub rax, rsi
cmp rax, rdi
jae 0x140088967
movzx eax, byte [rcx + r8]
xor al, byte [rcx]
mov byte [rcx + r9], al
lea rax, [r11 + rcx]
cmp rax, rdi
jae 0x140088961
movzx eax, byte [r8 + rcx + 1]
xor al, byte [rcx + 1]
mov byte [r9 + rcx + 1], al
lea rax, [r14 + rcx]
cmp rax, rdi
jae 0x14008895b
movzx eax, byte [r8 + rcx + 2]
add rdx, 4
xor al, byte [rcx + 2]
mov byte [r9 + rcx + 2], al
add rcx, 4
cmp rdx, 0x10
jb 0x1400888f4
jmp 0x140088991
add rdx, 3
jmp 0x14008896a
add rdx, 2
jmp 0x14008896a
inc rdx
cmp rdx, 0x10
jae 0x140088991
sub r10, rbx
lea rcx, [rdx + rbx]
mov r8d, reloc.WS2_32.dll_recv
sub r8, rdx
movzx eax, byte [r10 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x140088980
mov r8, r15
mov rdx, rbx
mov rcx, rbx
call fcn.140089220
mov r10, rbx
cmp rdi, 0x10
jbe 0x1400889ba
add rsi, 0x10
add rbx, 0x10
sub rdi, 0x10
jne 0x1400888d0
mov r14, qword [rsp + 0x60]
movups xmm0, xmmword [r10]
movups xmmword [r12], xmm0
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop rdi
pop rsi
ret
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop rdi
pop rsi
jmp fcn.140089e20
Function at 0x140088fb0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r8
call fcn.1400889f0
lfence
test eax, eax
js 0x140089214
mov ecx, dword [rbx + 0xf0]
lea eax, [rcx*4]
movsxd r9, eax
test eax, eax
jle 0x140089043
lea r8, [rbx + 8]
xor r10d, r10d
lea r8, [r8 + r9*4]
lea rax, [rbx + 8]
nop dword [rax]
mov edx, dword [rax - 8]
add r10, 4
mov ecx, dword [r8 - 8]
lea r8, [r8 - 0x10]
mov dword [rax - 8], ecx
lea rax, [rax + 0x10]
mov ecx, dword [r8 + 0xc]
sub r9, 4
mov dword [r8 + 8], edx
mov edx, dword [rax - 0x14]
mov dword [rax - 0x14], ecx
mov ecx, dword [r8 + 0x10]
mov dword [r8 + 0xc], edx
mov edx, dword [rax - 0x10]
mov dword [rax - 0x10], ecx
mov ecx, dword [r8 + 0x14]
mov dword [r8 + 0x10], edx
mov edx, dword [rax - 0xc]
mov dword [rax - 0xc], ecx
mov dword [r8 + 0x14], edx
cmp r10, r9
jl 0x140088ff0
mov ecx, dword [rbx + 0xf0]
mov r11d, 1
cmp ecx, r11d
jle 0x140089212
mov qword [rsp + 0x30], rdi
lea r10, [rbx + 4]
lea rdi, sym.MZ_mQPlsmXCc__60Uh4h_9_OBkY_WADHltH
nop dword [rax]
nop word [rax + rax]
mov r9d, dword [r10 + 0x10]
lea r10, [r10 + 0x10]
mov edx, dword [r10 - 4]
inc r11d
movzx eax, byte [r10 - 3]
movzx ecx, byte [rdi + rax*4 + 0x29ce70]
mov eax, edx
shr rax, 0x18
mov r8d, dword [rdi + rcx*4 + 0x29b170]
movzx eax, byte [rdi + rax*4 + 0x29ce70]
xor r8d, dword [rdi + rax*4 + 0x29ba70]
movzx eax, dl
movzx ecx, byte [rdi + rax*4 + 0x29ce70]
movzx eax, byte [r10 - 2]
xor r8d, dword [rdi + rcx*4 + 0x29ca70]
movzx ecx, byte [rdi + rax*4 + 0x29ce70]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x29b570]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [r10 - 4], r8d
movzx edx, byte [rdi + rcx*4 + 0x29ce70]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x29b570]
movzx eax, byte [rdi + rcx*4 + 0x29ce70]
xor r8d, dword [rdi + rax*4 + 0x29b170]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x29ce70]
movzx eax, r9b
mov r9d, dword [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0x29ba70]
movzx ecx, byte [rdi + rax*4 + 0x29ce70]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x29ca70]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [r10], r8d
movzx edx, byte [rdi + rcx*4 + 0x29ce70]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x29b570]
movzx eax, byte [rdi + rcx*4 + 0x29ce70]
xor r8d, dword [rdi + rax*4 + 0x29b170]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x29ce70]
movzx eax, r9b
mov r9d, dword [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0x29ba70]
movzx ecx, byte [rdi + rax*4 + 0x29ce70]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x29ca70]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [r10 + 4], r8d
movzx edx, byte [rdi + rcx*4 + 0x29ce70]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x29b570]
movzx eax, byte [rdi + rcx*4 + 0x29ce70]
xor r8d, dword [rdi + rax*4 + 0x29b170]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x29ce70]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x29ba70]
movzx ecx, byte [rdi + rax*4 + 0x29ce70]
xor r8d, dword [rdi + rcx*4 + 0x29ca70]
mov dword [r10 + 8], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x140089070
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400ad1b0
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xa0
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x70], esi
cmp qword [rcx + 0x20], rsi
jne 0x1400ad3b7
cmp qword [rcx + 0x10], rsi
je 0x1400ad3b7
mov ecx, 0x160
call fcn.1400b9fa8
mov rbx, rax
mov qword [rsp + 0x98], rax
xor edx, edx
mov r8d, 0x160
mov rcx, rax
call fcn.1401df9b0
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], 7
mov word [rsp + 0x78], si
lea rdx, str..pipeBreakpadCrashServicesDaemonServer
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400ad230
lea rcx, [rsp + 0x78]
call fcn.14005bc50
nop
mov dword [rsp + 0x70], 1
mov qword [rsp + 0x60], rdi
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.14005be10
mov rbx, rax
mov qword [rdi + 0x20], rax
mov rdx, qword [rsp + 0x90]
cmp rdx, 8
jb 0x1400ad2b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ad2a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ad3d2
call fcn.1400b9f90
mov rbx, qword [rdi + 0x20]
cmp dword [rbx + 0xe0], 0
jne 0x1400ad395
mov dword [rbx + 0xe0], 2
xor r8d, r8d
lea edx, [r8 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + 0x70], rax
test rax, rax
je 0x1400ad395
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x100], rax
test rax, rax
je 0x1400ad395
lea rcx, [rbx + 0x68]
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0xffffffff
mov r9, rbx
lea r8, [0x14005cff0]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x1400ad395
mov rax, qword [rbx + 0x58]
lea rcx, [rbx + 0x38]
cmp qword [rcx + 0x18], 8
jb 0x1400ad342
mov rcx, qword [rcx]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x40
mov edx, 0x40080003
mov r9d, 1
lea r8d, [r9 + 5]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rbx + 0x60], rax
cmp rax, 0xffffffffffffffff
je 0x1400ad395
mov rcx, qword [rbx + 0x100]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x1400ad3ce
mov dword [rbx + 0xe0], 1
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x1400ad3b3
mov rcx, rbx
call fcn.14005c1a0
mov edx, 0x160
mov rcx, rbx
call fcn.1400b9f90
mov qword [rdi + 0x20], rsi
xor al, al
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov al, 1
jmp 0x1400ad3b9
call fcn.1401e40b0
int3
Function at 0x1400adbc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1402bf070]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
xor r10d, r10d
mov qword [rsp + 0x40], rbx
mov edi, 7
mov qword [rsp + 0x50], r10
mov rax, r8
mov qword [rsp + 0x58], rdi
lea rsi, [rbx - 1]
test r8, r8
je 0x1400adc2c
mov r8, rsi
inc r8
cmp word [rax + r8*2], bx
jne 0x1400adc06
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14005bc50
mov r10, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
test r10, r10
je 0x1400adc97
cmp rdi, 8
lea r9, [rsp + 0x40]
mov eax, 3
mov rcx, r10
cmovae r9, rbx
cmp r10, rax
cmova rcx, rax
lea rax, [0x1402a2088]
test rcx, rcx
je 0x1400add40
movzx edx, word [r9]
mov r8d, 0x2d
cmp dx, r8w
jb 0x1400adc97
sub r9, rax
cmp dx, r8w
ja 0x1400adc97
cmp rcx, 1
je 0x1400add40
movzx edx, word [r9 + rax + 2]
add rax, 2
dec rcx
movzx r8d, word [rax]
cmp dx, r8w
jae 0x1400adc74
lea rcx, [0x1402c5950]
call fcn.1400ad1b0
test al, al
je 0x1400adce4
lea rcx, [0x1402c5950]
call fcn.1400ad3e0
test al, al
jne 0x1400adce2
nop word [rax + rax]
mov ecx, dword [0x1402c5998]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc dword [0x1402c59a0]
lea rcx, [0x1402c5950]
call fcn.1400ad3e0
test al, al
je 0x1400adcc0
xor esi, esi
cmp rdi, 8
jb 0x1400add1f
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400add17
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400addcc
mov rcx, rbx
call fcn.1400b9f90
mov eax, esi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400b9f70
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
cmp r10, 3
jne 0x1400adc97
lea ecx, [r10 + 5]
call fcn.1400b9fa8
lea rcx, [0x1400b5340]
mov r9, rax
lea r8, [0x1400b54f0]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.1401ee520
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400addb1
cmp dword [rsp + 0x38], 0
je 0x1400addd2
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.1400b8abc
test eax, eax
jne 0x1400addc4
jmp 0x1400adc97
mov ecx, 6
mov dword [rsp + 0x38], 0
call fcn.1400b8f60
int3
mov ecx, eax
call fcn.1400b8f24
int3
call fcn.1401e40b0
int3
mov ecx, 1
call fcn.1400b8f60
int3
Function at 0x1400b58f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x1402bf070]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov rax, qword [rcx + 0x690]
xor esi, esi
mov rbx, rcx
test rax, rax
jne 0x1400b5960
lea r8, [rsp + 0x60]
mov qword [rsp + 0x60], rsi
lea rdx, [0x1400b69c0]
lea ecx, [rax + 4]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x690], rax
test rax, rax
je 0x1400b5a04
xor edx, edx
lea rcx, [rbp - 0x10]
mov r8d, 0x208
call fcn.1401df9b0
xor edx, edx
lea rcx, [rbp + 0x200]
mov r8d, 0x208
call fcn.1401df9b0
call fcn.1400b6460
test eax, eax
je 0x1400b599c
sub eax, 1
je 0x1400b5b08
cmp eax, 1
jne 0x1400b59d7
mov rcx, qword [rbx + 0x690]
lea r8, [rbp - 0x10]
mov r9d, 0x104
mov edx, 0x65
call 0x1403211e1
int3
lea rcx, [rbx + 0x280]
mov edx, 0x104
lea r8, [rbp - 0x10]
call fcn.1401e3b48
lea rcx, [rbx + 0x488]
mov edx, 0x104
lea r8, [rbp + 0x200]
call fcn.1401e3b48
mov rdi, qword [0x1402cc6e8]
test rdi, rdi
je 0x1400b5b5b
mov rbx, qword [0x1402cc6e0]
lea rax, [0x1400b5760]
mov edx, 0x7f00
mov qword [rsp + 0x78], rax
xor ecx, ecx
mov qword [rbp - 0x78], rbx
mov dword [rbp - 0x40], 0x4e0057
mov dword [rbp - 0x3c], 0x5f0044
mov dword [rbp - 0x38], 0x43005a
mov dword [rbp - 0x34], 0x5a0057
mov dword [rbp - 0x30], 0x6d0078
mov dword [rbp - 0x2c], 0x33004a
mov dword [rbp - 0x28], 0x320032
mov dword [rbp - 0x24], 0x300037
mov word [rbp - 0x20], si
mov dword [rsp + 0x70], 0x50
mov dword [rsp + 0x74], 3
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x70], rsi
call qword [sym.imp.USER32.dll_LoadCursorW]
movdqa xmm0, xmmword [0x1402a24a0]
lea rcx, [rsp + 0x70]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x50], rax
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x48], rsi
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], rsi
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x50], rbx
mov r9d, 0x80000000
mov qword [rsp + 0x48], rsi
xor r8d, r8d
mov qword [rsp + 0x40], rsi
mov ecx, pe_nt_image_headers64
mov dword [rsp + 0x38], 0x9a
mov dword [rsp + 0x30], 0x168
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rdi], rax
test rax, rax
jne 0x1400b5b2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400b5b5b
mov rcx, qword [rbx + 0x690]
lea r8, [rbp - 0x10]
mov r9d, 0x104
mov edx, 0x67
call 0x1403754e1
int3
mov rdx, rax
mov rcx, rdi
call fcn.1400b5b90
mov rcx, qword [rdi]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi]
xor r9d, r9d
lea edx, [r9 + 1]
lea r8d, [r9 + 0xf]
call qword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.1400b9f70
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400b6460
Capabilities:
Identify system language via api

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [0x1402cc6d8], eax
cmp eax, 0x1809
ja 0x1400b64d2
je 0x1400b6522
cmp eax, 0xc09
ja 0x1400b64ba
je 0x1400b6522
sub eax, 0x404
je 0x1400b64b0
sub eax, 5
je 0x1400b6522
sub eax, 0x3fb
je 0x1400b64b0
sub eax, 5
je 0x1400b6522
cmp eax, 0x3fb
jne 0x1400b6518
mov eax, 1
add rsp, 0x28
ret
sub eax, 0x1004
je 0x1400b64b0
sub eax, 5
je 0x1400b6522
sub eax, 0x3fb
je 0x1400b64b0
cmp eax, 5
jmp 0x1400b6516
cmp eax, 0x3009
je 0x1400b6522
cmp eax, 0x1c09
je 0x1400b6522
cmp eax, 0x2009
je 0x1400b6522
cmp eax, 0x2409
je 0x1400b6522
cmp eax, 0x2809
je 0x1400b6522
cmp eax, 0x2c09
je 0x1400b6522
cmp eax, 0x3409
je 0x1400b6522
cmp eax, 0x4009
je 0x1400b6522
cmp eax, 0x4409
je 0x1400b6522
cmp eax, 0x4809
je 0x1400b6522
mov eax, 2
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400d0a10
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 0x1400d0b24
test r10, r10
je 0x1400d0b24
movzx eax, byte [rcx]
test r8d, r8d
jne 0x1400d0a55
cmp al, 0x7f
jbe 0x1400d0b1d
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1400d0b2c
mov r11b, 0xff
cmp al, 0x80
jbe 0x1400d0a6b
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1400d0b2c
jne 0x1400d0b1d
mov eax, 1
lea rcx, [r10 - 1]
cmp r10, rax
jbe 0x1400d0b0e
cmp rcx, 8
jb 0x1400d0af9
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 0x1400d0aa0
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 0x1400d0b0e
nop
movzx ecx, byte [rax + rbx]
inc rax
or edx, ecx
cmp rax, r10
jb 0x1400d0b00
neg edx
sbb r11b, r11b
movzx r11d, r11b
mov edx, r11d
and edx, 1
mov eax, edx
add rax, r10
jmp 0x1400d0b2c
mov eax, 1
mov r10, rdx
mov qword [rsp + 0x10], rdi
test rsi, rsi
je 0x1400d0b85
mov rdi, qword [r9]
test rdi, rdi
je 0x1400d0b85
movzx r8d, r11b
lea r9, [rbx + r10]
and r8d, 1
mov byte [rdi], r11b
test r10, r10
je 0x1400d0b82
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 0x1400d0b60
add qword [rsi], rax
mov rdi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
pop rsi
ret

Function at 0x1400de8c0
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x28
call fcn.1400babe0
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 0x1400e4ff0
Capabilities:
Encode data using xor

Disassembly:
push rbx
movsxd rbx, r9d
mov r10, r8
mov r11, rdx
cmp rdx, r8
je 0x1400e5152
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 0x1400e5112
cmp ebx, 2
jb 0x1400e5112
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 0x1400e50a1
cmp rdi, r8
jae 0x1400e510d
cmp r9, r10
ja 0x1400e50ab
cmp rdi, r10
jae 0x1400e510d
cmp r9, r11
ja 0x1400e50b5
cmp rdi, r11
jae 0x1400e510d
cmp r8, r10
ja 0x1400e50bf
cmp rax, r10
jae 0x1400e510d
cmp r8, r11
ja 0x1400e50c9
cmp rax, r11
jae 0x1400e510d
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 0x1400e50d0
mov rdi, qword [rsp + 0x18]
movsxd rax, edx
cmp rax, rbx
jge 0x1400e514d
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 0x1400e5120
mov rsi, qword [rsp + 0x10]
pop rbx
ret
Function at 0x1400e68a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov eax, 0x20
call fcn.1400babe0
sub rsp, rax
mov rbx, rcx
mov rsi, rdx
mov rcx, rdx
call fcn.1400e5420
test eax, eax
je 0x1400e68df
xor edx, edx
mov rcx, rbx
call fcn.1400e58a0
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 0x1400e6927
mov edx, ebp
mov rcx, rbx
call fcn.1400e5e60
test rax, rax
je 0x1400e698d
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 0x1400e6947
mov qword [r8], rcx
test rdi, rdi
jle 0x1400e697e
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 0x1400e6950
mov dword [rbx + 8], ebp
test ebp, ebp
jne 0x1400e6988
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 0x1400fe790
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 0x28
call fcn.1400babe0
sub rsp, rax
lea rcx, [0x1402ca638]
add rsp, 0x28
jmp fcn.1400de720

Function at 0x14012c5d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x38
call fcn.1400babe0
sub rsp, rax
mov r10, rdx
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
add rdx, 0xf
lea rax, [r8 + 0xf]
mov r11, rcx
cmp r10, rax
ja 0x14012c600
xor r9d, r9d
cmp rdx, r8
jae 0x14012c619
movdqu xmm1, xmmword [r10]
movdqu xmm0, xmmword [r8]
pxor xmm1, xmm0
movdqu xmmword [r10], xmm1
mov r9d, reloc.WS2_32.dll_recv
cmp r9, 0x10
jae 0x14012c641
sub r8, r10
lea rax, [r9 + r10]
mov edx, reloc.WS2_32.dll_recv
sub rdx, r9
nop
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x14012c630
mov rcx, qword [r11 + 8]
lea r8, [rsp + 0x40]
mov r9, r10
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov rdx, r10
call fcn.1400eb0e0
test eax, eax
je 0x14012c672
cmp dword [rsp + 0x40], 0x10
jne 0x14012c672
mov eax, 1
add rsp, 0x38
ret
xor eax, eax
add rsp, 0x38
ret

Function at 0x14012c820
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x14012c8a8
test r8, r8
je 0x14012c8a8
mov rax, qword [rcx + 0x18]
cmp r8, rax
mov r9, rax
cmovb r9, r8
test r9, r9
je 0x14012c866
add rcx, 0x20
mov r11, rdx
sub r11, r10
nop
movzx eax, byte [r11 + rcx - 0x20]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r9, 1
jne 0x14012c850
mov rax, qword [r10 + 0x18]
cmp r8, rax
jbe 0x14012c8a8
sub r8, rax
mov eax, reloc.WS2_32.dll_recv
cmp r8, rax
cmova r8, rax
xor ecx, ecx
test r8, r8
je 0x14012c8a8
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r10 + 0x18]
add rax, rcx
movzx eax, byte [rax + rdx]
xor byte [r10 + rcx + 0x40], al
inc rcx
cmp rcx, r8
jb 0x14012c890
ret
Function at 0x140135e50
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x30
call fcn.1400babe0
sub rsp, rax
mov rsi, qword [rcx + 0x70]
mov rbx, r8
mov r8d, dword [rsi + 0x70]
lea rdi, [rsi + 0x70]
mov qword [rsp + 0x60], rdi
mov rbp, r9
mov r14, rdx
test r8d, r8d
je 0x140135ecb
test r9, r9
je 0x140135eaa
cmp r8d, 0x40
jae 0x140135eaa
mov eax, r8d
inc r8d
movzx ecx, byte [rax + rsi + 0x30]
xor cl, byte [rbx]
inc rbx
mov byte [r14], cl
inc r14
sub rbp, 1
jne 0x140135e88
mov dword [rdi], r8d
test rbp, rbp
je 0x140135fe2
cmp r8d, 0x40
jne 0x140135ecb
mov dword [rdi], 0
add dword [rsi + 0x20], 1
jne 0x140135ecb
inc dword [rsi + 0x24]
mov qword [rsp + 0x68], r12
lea rax, [rsi + 0x20]
mov r12d, ebp
mov qword [rsp + 0x70], r13
mov r13d, dword [rax]
and r12d, 0x3f
mov qword [rsp + 0x78], r15
mov r15d, r12d
sub rbp, r15
cmp rbp, 0x40
jb 0x140135f74
mov eax, 0x10000000
lea r15, [rsi + 0x20]
mov rdx, rbp
mov qword [rsp + 0x20], r15
shr rdx, 6
mov r9, rsi
cmp rdx, rax
cmova rdx, rax
add r13d, edx
mov rdi, rdx
mov ecx, r13d
mov eax, r13d
xor r13d, r13d
cmp rcx, rdx
cmovae r13d, eax
sub rdi, rcx
cmp rcx, rdx
mov rcx, r14
cmovae rdi, rdx
mov rdx, rbx
shl rdi, 6
mov r8, rdi
call fcn.1400506c0
sub rbp, rdi
mov dword [r15], r13d
add rbx, rdi
add r14, rdi
test r13d, r13d
jne 0x140135f5d
inc dword [rsi + 0x24]
mov eax, 0x10000000
cmp rbp, 0x40
jae 0x140135f01
mov rdi, qword [rsp + 0x60]
lea rax, [rsi + 0x20]
mov r15d, r12d
mov r13, qword [rsp + 0x70]
test r12d, r12d
je 0x140135fd8
lea rcx, [rsi + 0x30]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
mov r9, rsi
movups xmmword [rcx], xmm0
mov r8d, 0x40
mov rdx, rcx
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
call fcn.1400506c0
test r12d, r12d
je 0x140135fd5
sub rsi, rbx
sub r14, rbx
nop word [rax + rax]
movzx eax, byte [rsi + rbx + 0x30]
xor al, byte [rbx]
mov byte [r14 + rbx], al
lea rbx, [rbx + 1]
sub r15, 1
jne 0x140135fc0
mov dword [rdi], r12d
mov r12, qword [rsp + 0x68]
mov r15, qword [rsp + 0x78]
mov eax, 1
add rsp, 0x30
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140138e10
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.1400babe0
sub rsp, rax
mov rcx, qword [rcx + 0x18]
add rsp, 0x28
jmp fcn.1400e5520