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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x180003f54
mov eax, esi
lea ecx, [rax - 0x34]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x180003f40
mov byte [r8 + 7], sil
lea rax, [r8 + 6]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], sil
cmp r9, rax
je 0x180003f89
mov r8d, 6
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.180006320
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180003f97
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.1800092d0
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x18000400e
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004009
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004009
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180105d50
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x180004020
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x180004054
mov eax, esi
lea ecx, [rax - 0x34]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x180004040
mov byte [r8 + 9], sil
lea rax, [r8 + 8]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], sil
cmp r9, rax
je 0x180004089
mov r8d, 8
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.180006320
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180004097
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.1800092d0
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x18000410e
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004109
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004109
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180105d50
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x180004120
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x180004154
mov eax, esi
lea ecx, [rax - 0x34]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x180004140
mov byte [r8 + 0xa], sil
lea rax, [r8 + 9]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], sil
cmp r9, rax
je 0x180004189
mov r8d, 9
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.180006320
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180004197
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.1800092d0
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x18000420e
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004209
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004209
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180105d50
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x180004220
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x180004248
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x34]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x135
jb 0x180004230
mov byte [rcx + 0x136], 0
mov rax, rcx
ret
Function at 0x1800129d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rax, qword [0x1802e9b90]
xor rax, rsp
mov qword [rbp + 0x20], rax
movdqa xmm1, xmmword [0x1801e6330]
xorps xmm0, xmm0
mov r15, qword [rbp + 0x90]
mov rsi, r9
mov r14, r8
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movdqa xmm0, xmmword [0x1801e6350]
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rsp + 0x20], xmm1
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x50], xmm1
cmp rdx, 0x40
jbe 0x180012a60
mov r9d, 0x40
lea r8, [rbp - 0x60]
call fcn.180012ba0
jmp 0x180012a6f
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
movdqu xmm1, xmmword [rbp + rax - 0x60]
movdqu xmm0, xmmword [rsp + rax + 0x20]
xorps xmm0, xmm1
movdqu xmmword [rsp + rax + 0x20], xmm0
movdqu xmm0, xmmword [rsp + rax + 0x60]
xorps xmm0, xmm1
movdqu xmmword [rsp + rax + 0x60], xmm0
add rax, 0x10
cmp rax, 0x40
jl 0x180012a71
lea rbx, [rsi + 0x40]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movups xmm0, xmmword [rsp + 0x20]
mov r8, rsi
movups xmm1, xmmword [rsp + 0x30]
mov rdx, r14
mov rdi, rax
movups xmmword [rax], xmm0
lea rcx, [rax + 0x40]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm1
call sub.VCRUNTIME140.dll_memcpy
mov esi, reloc.WLDAP32.dll_Ordinal_32
lea r8, [rbp - 0x20]
mov r9d, esi
mov rdx, rbx
mov rcx, rdi
call fcn.180012ba0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea ecx, [rsi + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movups xmm0, xmmword [rsp + 0x60]
lea r8, [rbp]
movups xmm1, xmmword [rsp + 0x70]
lea edx, [rsi + 0x40]
mov r9d, esi
mov rcx, rax
movups xmmword [rax], xmm0
mov rbx, rax
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rax + 0x50], xmm1
call fcn.180012ba0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rbp + 0x98]
lea rdx, [rbp]
cmp rbx, rsi
mov rcx, r15
cmova rbx, rsi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, rbx
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.180106370
add rsp, 0x138
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x180012ba0
Capabilities:
Hash data using sha256

Disassembly:
push rbp
push rbx
push rsi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x1802e9b90]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, rdx
mov qword [rbp - 0x55], 0x5be0cd19
xor edx, edx
mov dword [rbp - 0x71], 0x6a09e667
mov qword [rbp - 0x79], rdx
mov r14, r9
mov dword [rbp - 0x6d], 0xbb67ae85
mov r15, r8
mov dword [rbp - 0x69], 0x3c6ef372
mov rsi, rcx
mov dword [rbp - 0x65], 0xa54ff53a
mov dword [rbp - 0x61], 0x510e527f
mov dword [rbp - 0x5d], 0x9b05688c
mov dword [rbp - 0x59], 0x1f83d9ab
test ebx, ebx
je 0x180012ca3
mov qword [rsp + 0xc8], rdi
nop dword [rax]
test edx, edx
jne 0x180012c49
cmp ebx, 0x40
jb 0x180012c49
mov rdx, rsi
lea rcx, [rbp - 0x79]
call fcn.180012cf0
add qword [rbp - 0x79], 0x200
add rsi, 0x40
mov edx, dword [rbp - 0x51]
add ebx, 0xffffffc0
jmp 0x180012c97
mov eax, edx
mov ecx, 0x40
sub ecx, edx
mov edi, ebx
cmp ebx, ecx
mov rdx, rsi
cmovae edi, ecx
lea rcx, [rbp - 0x4d]
add rcx, rax
mov r8d, edi
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [rbp - 0x51]
add rsi, rdi
add edx, edi
sub ebx, edi
mov dword [rbp - 0x51], edx
cmp edx, 0x40
jne 0x180012c97
lea rdx, [rbp - 0x4d]
lea rcx, [rbp - 0x79]
call fcn.180012cf0
add qword [rbp - 0x79], 0x200
xor edx, edx
mov dword [rbp - 0x51], edx
test ebx, ebx
jne 0x180012c20
mov rdi, qword [rsp + 0xc8]
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x79]
call fcn.1800133e0
mov eax, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rbp - 9]
cmp r14, rax
mov rcx, r15
cmova r14, rax
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.180106370
add rsp, 0xd0
pop r15
pop r14
pop rsi
pop rbx
pop rbp
ret
Function at 0x1800133e0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [rcx + 0x28]
mov rdi, rdx
mov rbx, rcx
cmp r8d, 0x40
jae 0x180013598
lea ecx, [r8*8]
mov qword [rsp + 0x30], rsi
add qword [rbx], rcx
mov byte [r8 + rbx + 0x2c], 0x80
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jbe 0x180013458
cmp eax, 0x40
jae 0x180013442
nop word [rax + rax]
mov byte [rax + rbx + 0x2c], 0
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x40
jb 0x180013430
lea rsi, [rbx + 0x2c]
mov rcx, rbx
mov rdx, rsi
call fcn.180012cf0
xor eax, eax
mov dword [rbx + 0x28], eax
jmp 0x180013460
lea rsi, [rbx + 0x2c]
jae 0x180013472
nop
mov byte [rax + rbx + 0x2c], 0
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jb 0x180013460
movzx eax, byte [rbx + 7]
mov rdx, rsi
mov byte [rbx + 0x64], al
mov rcx, rbx
movzx eax, byte [rbx + 6]
mov byte [rbx + 0x65], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 0x66], al
movzx eax, byte [rbx + 4]
mov byte [rbx + 0x67], al
movzx eax, byte [rbx + 3]
mov byte [rbx + 0x68], al
movzx eax, byte [rbx + 2]
mov byte [rbx + 0x69], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 0x6a], al
movzx eax, byte [rbx]
mov byte [rbx + 0x6b], al
call fcn.180012cf0
movzx eax, byte [rbx + 0xb]
mov byte [rdi], al
movzx eax, byte [rbx + 0xa]
mov byte [rdi + 1], al
movzx eax, byte [rbx + 9]
mov byte [rdi + 2], al
movzx eax, byte [rbx + 8]
mov byte [rdi + 3], al
movzx eax, byte [rbx + 0xf]
mov byte [rdi + 4], al
movzx eax, byte [rbx + 0xe]
mov byte [rdi + 5], al
movzx eax, byte [rbx + 0xd]
mov byte [rdi + 6], al
movzx eax, byte [rbx + 0xc]
mov byte [rdi + 7], al
movzx eax, byte [rbx + 0x13]
mov byte [rdi + 8], al
movzx eax, byte [rbx + 0x12]
mov byte [rdi + 9], al
movzx eax, byte [rbx + 0x11]
mov byte [rdi + 0xa], al
movzx eax, byte [rbx + 0x10]
mov byte [rdi + 0xb], al
movzx eax, byte [rbx + 0x17]
mov byte [rdi + 0xc], al
movzx eax, byte [rbx + 0x16]
mov byte [rdi + 0xd], al
movzx eax, byte [rbx + 0x15]
mov byte [rdi + 0xe], al
movzx eax, byte [rbx + 0x14]
mov byte [rdi + 0xf], al
movzx eax, byte [rbx + 0x1b]
mov byte [rdi + 0x10], al
movzx eax, byte [rbx + 0x1a]
mov byte [rdi + 0x11], al
movzx eax, byte [rbx + 0x19]
mov byte [rdi + 0x12], al
movzx eax, byte [rbx + 0x18]
mov byte [rdi + 0x13], al
movzx eax, byte [rbx + 0x1f]
mov byte [rdi + 0x14], al
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 0x15], al
movzx eax, byte [rbx + 0x1d]
mov byte [rdi + 0x16], al
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 0x17], al
movzx eax, byte [rbx + 0x23]
mov byte [rdi + 0x18], al
movzx eax, byte [rbx + 0x22]
mov byte [rdi + 0x19], al
movzx eax, byte [rbx + 0x21]
mov byte [rdi + 0x1a], al
movzx eax, byte [rbx + 0x20]
mov byte [rdi + 0x1b], al
movzx eax, byte [rbx + 0x27]
mov byte [rdi + 0x1c], al
movzx eax, byte [rbx + 0x26]
mov byte [rdi + 0x1d], al
movzx eax, byte [rbx + 0x25]
mov byte [rdi + 0x1e], al
movzx eax, byte [rbx + 0x24]
mov rsi, qword [rsp + 0x30]
mov byte [rdi + 0x1f], al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800137b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x10
mov esi, dword [reloc.WS2_32.dll_accept]
mov ebp, 4
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov rbx, r8
mov rdi, rdx
mov r11, rcx
lea r14d, [rbp + 0x1b]
cmp byte [rdx + 7], r9b
je 0x180013931
cmp esi, 2
jl 0x1800138f5
movdqa xmm2, xmmword [0x18014bc30]
movdqa xmm4, xmmword [0x18014bd60]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x18014bc40]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm5, ebp
movaps xmmword [rsp], xmm6
movd xmm6, r14d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18014bc50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rdx]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x18014bc90]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rdx], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
movaps xmm6, xmmword [rsp]
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18014bc50]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rdx + 4]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18014bc90]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
movd dword [rdx + 4], xmm2
jmp 0x180013931
mov r10, rdi
mov r8d, r9d
nop dword [rax + rax]
mov eax, 0x51eb851f
lea r10, [r10 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r10 - 1], al
cmp r8d, 8
jl 0x180013900
mov qword [r11], rdi
mov rdi, qword [rsp + 0x20]
cmp byte [rbx + 3], r9b
je 0x180013a10
cmp esi, 2
jl 0x1800139cf
movdqa xmm3, xmmword [0x18014bc30]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x18014bd60]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x18014bd60]
shufps xmm2, xmm0, 0xdd
movd xmm0, ebp
psrad xmm2, xmm0
movd xmm0, r14d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x18014bc50]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbx]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18014bc90]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
movd dword [rbx], xmm2
jmp 0x180013a10
mov r8, rbx
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r9b
inc r9d
sub al, cl
add al, 0x33
xor byte [r8 - 1], al
cmp r9d, ebp
jl 0x1800139e0
mov rbp, qword [rsp + 0x30]
mov rax, r11
mov rsi, qword [rsp + 0x38]
mov qword [r11 + 8], rbx
mov rbx, qword [rsp + 0x28]
add rsp, 0x10
pop r14
ret
Function at 0x180013a30
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
movzx eax, byte [rdx + 9]
mov r11, r8
mov r10, rcx
test al, al
je 0x180013a6a
xor byte [rdx], 0x33
xor byte [rdx + 1], 0x34
xor byte [rdx + 2], 0x35
xor byte [rdx + 3], 0x36
xor byte [rdx + 4], 0x37
xor byte [rdx + 5], 0x38
xor byte [rdx + 6], 0x39
xor byte [rdx + 7], 0x3a
xor byte [rdx + 8], 0x3b
xor al, 0x3c
mov byte [rdx + 9], al
mov qword [rcx], rdx
cmp byte [r8 + 0xd], 0
je 0x180013bdd
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x180013b96
movdqa xmm2, xmmword [0x18014bc30]
mov eax, 4
movdqa xmm4, xmmword [0x18014bd60]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x18014bc40]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov r8d, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm5, eax
mov eax, Ordinal_32
movaps xmmword [rsp], xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movd xmm6, eax
movdqa xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18014bc50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [r11]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x18014bc90]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [r11], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
movaps xmm6, xmmword [rsp]
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18014bc50]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [r11 + 4]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18014bc90]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
movd dword [r11 + 4], xmm2
movsxd r9, r8d
add r9, r11
nop dword [rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x180013ba0
mov qword [r10 + 8], r11
mov rax, r10
add rsp, 0x18
ret
mov qword [rcx + 8], r11
mov rax, r10
add rsp, 0x18
ret
Function at 0x180013bf0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x10
cmp byte [rdx + 0xd], 0
mov rbx, r8
mov r10, rdx
mov r11, rcx
je 0x180013d61
xor r9d, r9d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x180013d23
movdqa xmm2, xmmword [0x18014bc30]
mov eax, 4
movdqa xmm4, xmmword [0x18014bd60]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x18014bc40]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov r9d, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm5, eax
mov eax, Ordinal_32
movaps xmmword [rsp], xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movd xmm6, eax
movdqa xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18014bc50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rdx]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x18014bc90]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rdx], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
movaps xmm6, xmmword [rsp]
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18014bc50]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rdx + 4]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18014bc90]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
movd dword [rdx + 4], xmm2
movsxd r8, r9d
add r8, r10
nop dword [rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r9b
inc r9d
sub al, cl
add al, 0x33
xor byte [r8 - 1], al
cmp r9d, 0xe
jl 0x180013d30
mov qword [r11], r10
mov rax, qword [rbx]
mov qword [r11 + 8], rax
mov rax, r11
add rsp, 0x10
pop rbx
ret
Function at 0x180017d30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1802e9b90]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x90]
mov rdi, rdx
test eax, eax
movd edx, xmm3
mov r11d, 6
mov rbp, r8
mov r10d, r11d
mov r14, rcx
cmovns r10d, eax
mov eax, edx
and eax, 0x7fffff
shr edx, 0x17
lea r9d, [rax + rax]
test edx, edx
jne 0x180017d90
neg eax
sbb ecx, ecx
and ecx, 0xffffff82
jmp 0x180017d93
lea ecx, [rdx - 0x7f]
mov eax, r9d
mov r15d, reloc.WLDAP32.dll_Ordinal_45
bts eax, 0x18
test edx, edx
cmovne r9d, eax
mov eax, ecx
cdq
mov esi, eax
mov eax, Ordinal_46
xor esi, edx
sub esi, edx
test ecx, ecx
cmovns r15d, eax
cmp esi, 0xa
jae 0x180017dc4
lea edx, [rax - 0x27]
jmp 0x180017dcd
cmp esi, 0x64
sbb rdx, rdx
add rdx, r11
mov rcx, rbp
movsxd r8, r10d
sub rcx, rdi
cmp rcx, r8
jge 0x180017deb
mov qword [r14], rbp
mov dword [r14 + 8], 0x84
jmp 0x180017f37
xor eax, eax
test r10d, r10d
setg al
sub rcx, r8
add rax, rdx
cmp rcx, rax
jl 0x180017ddb
mov qword [rsp + 0x70], rbx
cmp r10d, r11d
jge 0x180017e2d
lea r8d, [r9 + r9]
sub r11d, r10d
shl r11d, 2
lea eax, [r8 - 1]
or eax, r9d
movzx ecx, r11b
mov edx, 1
shl edx, cl
and edx, eax
and edx, r8d
add r9d, edx
mov eax, r9d
and r9d, 0xffffff
shr eax, 0x18
add al, 0x30
mov byte [rdi], al
inc rdi
test r10d, r10d
jle 0x180017eb4
mov byte [rdi], reloc.WLDAP32.dll_Ordinal_46
lea r11, [0x180141a98]
mov eax, r9d
lea r8d, [r10 - 1]
shr rax, 0x14
mov ecx, reloc.WS2_32.dll_sendto
movzx eax, byte [rax + r11]
mov byte [rdi + 1], al
add rdi, 2
test r8d, r8d
je 0x180017eb4
mov edx, 0x100000
test ecx, ecx
je 0x180017e9e
lea eax, [rdx - 1]
sub ecx, 4
and r9d, eax
ror edx, 4
mov eax, r9d
shr rax, cl
movzx eax, byte [rax + r11]
mov byte [rdi], al
inc rdi
sub r8d, 1
jne 0x180017e76
jmp 0x180017eb4
movsxd rbx, r8d
mov edx, Ordinal_50
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
add rdi, rbx
mov byte [rdi], reloc.WS2_32.dll_WSASetLastError
lea r9, [rsp + 0x40]
mov byte [rdi + 1], r15b
add rdi, 2
nop dword [rax]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul esi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub sil, cl
add sil, 0x30
mov byte [r9], sil
mov esi, edx
test edx, edx
jne 0x180017ed0
lea rbx, [rsp + 0x40]
mov rax, rbp
sub rbx, r9
sub rax, rdi
cmp rax, rbx
jge 0x180017f15
mov dword [r14 + 8], 0x84
jmp 0x180017f2f
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov dword [r14 + 8], 0
lea rbp, [rbx + rdi]
mov qword [r14], rbp
mov rbx, qword [rsp + 0x70]
mov rax, r14
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180106370
lea r11, [rsp + 0x50]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret