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

Disassembly:
push rbx
push rsi
push rdi
push r13
push r14
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.1403983a0
sub rsp, rax
xor r13d, r13d
lea r14, [rcx + 0x40]
mov qword [rcx + 0x30], r13
mov rsi, r8
mov qword [rcx + 0x38], r13
mov rdi, rdx
mov qword [rcx + 0x178], r13
mov rbx, rcx
cmp r8, 0xc
jne 0x140318939
movsd xmm0, qword [rdx]
mov edi, 1
movsd qword [rcx], xmm0
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov dword [rcx + 0xc], 0x1000000
jmp 0x140318a61
mov qword [rsp + 0x50], rbp
mov rbp, rsi
mov qword [rsp + 0x60], r15
lea r15, [rcx + 0x60]
mov qword [r14], r13
mov qword [rcx + 0x48], r13
cmp rsi, 0x10
jb 0x140318a01
mov qword [rsp + 0x58], r12
mov r12, rsi
shr r12, 4
imul rax, r12, 0xfffffffffffffff0
add rsi, rax
nop
movzx eax, byte [r14]
mov rdx, r15
xor al, byte [rdi]
mov rcx, r14
mov byte [r14], al
movzx eax, byte [rdi + 1]
xor byte [rbx + 0x41], al
movzx eax, byte [rdi + 2]
xor byte [rbx + 0x42], al
movzx eax, byte [rdi + 3]
xor byte [rbx + 0x43], al
movzx eax, byte [rdi + 4]
xor byte [rbx + 0x44], al
movzx eax, byte [rdi + 5]
xor byte [rbx + 0x45], al
movzx eax, byte [rdi + 6]
xor byte [rbx + 0x46], al
movzx eax, byte [rdi + 7]
xor byte [rbx + 0x47], al
movzx eax, byte [rdi + 8]
xor byte [rbx + 0x48], al
movzx eax, byte [rdi + 9]
xor byte [rbx + 0x49], al
movzx eax, byte [rdi + 0xa]
xor byte [rbx + 0x4a], al
movzx eax, byte [rdi + 0xb]
xor byte [rbx + 0x4b], al
movzx eax, byte [rdi + 0xc]
xor byte [rbx + 0x4c], al
movzx eax, byte [rdi + 0xd]
xor byte [rbx + 0x4d], al
movzx eax, byte [rdi + 0xe]
xor byte [rbx + 0x4e], al
movzx eax, byte [rdi + 0xf]
xor byte [rbx + 0x4f], al
call qword [rbx + 0x170]
add rdi, 0x10
sub r12, 1
jne 0x140318970
mov r12, qword [rsp + 0x58]
test rsi, rsi
je 0x140318a2d
mov rcx, r14
sub rdi, rbx
nop dword [rax]
movzx eax, byte [rdi + rcx - 0x40]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rsi, 1
jne 0x140318a10
mov rdx, r15
mov rcx, r14
call qword [rbx + 0x170]
shl rbp, 3
mov rdx, r15
bswap rbp
xor qword [rbx + 0x48], rbp
mov rcx, r14
call qword [rbx + 0x170]
mov rax, qword [r14]
mov edi, dword [rbx + 0x4c]
mov r15, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov qword [rbx], rax
mov rax, qword [rbx + 0x48]
mov qword [rbx + 8], rax
bswap edi
mov qword [r14], r13
lea rdx, [rbx + 0x20]
mov qword [rbx + 0x48], r13
mov rcx, rbx
mov r8, qword [rbx + 0x188]
call qword [rbx + 0x180]
inc edi
bswap edi
mov dword [rbx + 0xc], edi
add rsp, 0x20
pop r14
pop r13
pop rdi
pop rsi
pop rbx
ret
Function at 0x140319260
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x78
call fcn.1403983a0
sub rsp, rax
mov rax, qword [0x14048bd00]
xor rax, rsp
mov qword [rsp + 0x60], rax
movzx edi, byte [rcx]
mov rbp, r9
mov r10, qword [rsp + 0xe0]
mov r13, r9
mov r9, qword [rcx + 0x30]
mov r15, r8
mov rax, qword [rcx + 0x28]
mov r14, rdx
mov qword [rsp + 0x38], r9
mov rbx, rcx
mov qword [rsp + 0x40], r10
mov byte [rsp + 0x30], dil
mov qword [rsp + 0x48], rax
test dil, 0x40
jne 0x1403192d8
lea rdx, [rcx + 0x10]
mov r8, r9
call rax
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x40]
mov r12d, reloc.WS2_32.dll_ntohs
xor esi, esi
mov r8d, edi
mov eax, r12d
and r8d, 7
mov ecx, esi
sub eax, r8d
mov dword [rsp + 0x40], r8d
mov byte [rbx], r8b
cmp eax, r12d
jae 0x140319318
mov edx, eax
add rdx, rbx
movzx eax, byte [rdx]
mov byte [rdx], sil
lea rdx, [rdx + 1]
or rcx, rax
shl rcx, 8
sub r8, 1
jne 0x140319301
movzx eax, byte [rbx + 0xf]
or rcx, rax
mov byte [rbx + 0xf], 1
cmp rcx, rbp
je 0x140319332
mov eax, 0xffffffff
jmp 0x14031945d
mov rdi, rbp
shr rdi, 4
test rdi, rdi
je 0x1403193b3
lea rax, [rbx + 0x10]
mov r8, rdi
mov qword [rsp + 0x28], rax
mov rdx, r15
mov rcx, r14
mov qword [rsp + 0x20], rbx
call r10
shl rdi, 4
add r14, rdi
add r15, rdi
sub rbp, rdi
je 0x140319409
shr rdi, 4
lea r8, [rbx + 0x10]
mov r9, 0xfffffffffffffff8
mov rdx, rsi
sub r9, rbx
movzx eax, byte [r8 - 1]
lea r8, [r8 - 1]
add rdx, rax
movzx ecx, dil
add rdx, rcx
shr rdi, 8
mov byte [r8], dl
lea rax, [r8 + r9]
shr rdx, 8
test rax, rax
je 0x1403193b8
test rdi, rdi
jne 0x140319380
test rdx, rdx
jne 0x140319380
jmp 0x1403193b8
test r13, r13
je 0x140319409
mov rdi, qword [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov r13, qword [rsp + 0x48]
mov r8, rdi
mov rcx, rbx
call r13
test rbp, rbp
je 0x1403193fa
mov rcx, rsi
nop dword [rax + rax]
movzx eax, byte [rcx + r14]
inc esi
xor al, byte [rsp + rcx + 0x50]
mov byte [rcx + r15], al
xor byte [rcx + rbx + 0x10], al
mov ecx, esi
cmp rcx, rbp
jb 0x1403193e0
lea rcx, [rbx + 0x10]
mov r8, rdi
mov rdx, rcx
call r13
jmp 0x140319413
mov r13, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
sub r12d, dword [rsp + 0x40]
cmp r12d, 0x10
jae 0x140319434
mov r8d, reloc.WS2_32.dll_recv
mov ecx, r12d
sub r8d, r12d
add rcx, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call r13
mov rax, qword [rsp + 0x50]
xor qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x58]
xor qword [rbx + 0x18], rax
movzx eax, byte [rsp + 0x30]
mov byte [rbx], al
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140397b20
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14031b300
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14031b469
mov eax, 8
call fcn.1403983a0
sub rsp, rax
xor r10d, r10d
mov r11, rcx
cmp r8, rax
jb 0x14031b43d
lea rcx, [r9 - 1]
lea rax, [rdx - 1]
add rcx, r8
add rax, r8
cmp r9, rax
ja 0x14031b341
cmp rcx, rdx
jae 0x14031b43d
lea rax, [r8 - 1]
add rax, r11
cmp r9, rax
ja 0x14031b356
cmp rcx, r11
jae 0x14031b43d
mov rcx, r11
mov qword [rsp + 0x10], rbx
sub rcx, rdx
mov qword [rsp], rdi
cmp r8, 0x40
jb 0x14031b3f7
mov rbx, r8
mov qword [rsp + 0x18], rsi
and ebx, 0x3f
mov rdi, r8
sub rdi, rbx
mov rsi, r9
lea rax, [rdx + 0x10]
sub rsi, rdx
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add r10, 0x40
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rsi + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rcx + rax - 0x30]
movdqu xmm1, xmmword [rax - 0x30]
movdqu xmmword [rsi + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rcx + rax - 0x20]
movdqu xmm2, xmmword [rax - 0x20]
movdqu xmmword [rsi + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rsi + rax - 0x20], xmm2
cmp r10, rdi
jb 0x14031b390
mov rsi, qword [rsp + 0x18]
cmp rbx, 8
jb 0x14031b42f
mov rbx, r8
and rbx, 0xfffffffffffffff8
mov rdi, r9
lea rax, [r10 + rdx]
sub rdi, rdx
nop dword [rax + rax]
movq xmm1, qword [rax + rcx]
add r10, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rdi + rax - 8], xmm1
cmp r10, rbx
jb 0x14031b410
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp r10, r8
jae 0x14031b465
sub r11, rdx
lea rax, [r10 + rdx]
sub r9, rdx
sub r8, r10
nop word [rax + rax]
movzx ecx, byte [rax + r11]
xor cl, byte [rax]
mov byte [r9 + rax], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x14031b450
add rsp, 8
ret
Function at 0x14031b550
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
push r14
push r15
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.1403983a0
sub rsp, rax
mov rdi, qword [rcx + 0x28]
mov rbx, rdx
mov r15, rcx
cmp rdx, rdi
ja 0x14031b590
shl rbx, 4
add rbx, qword [rcx + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov rcx, qword [rcx + 0x30]
cmp rbx, rcx
jb 0x14031b5dd
sub rdx, rcx
lea r8, [0x140434b50]
add rdx, 4
mov r9d, WSAStartup
and rdx, 0xfffffffffffffffc
add rdx, rcx
mov rcx, qword [r15 + 0x58]
mov qword [r15 + 0x30], rdx
shl rdx, 4
call fcn.1401f9ba0
test rax, rax
jne 0x14031b5d9
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov qword [r15 + 0x58], rax
mov qword [rsp + 0x40], rbp
mov rbp, rdi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r12
mov r12, rbx
shl rbp, 4
sub r12, rdi
nop dword [rax]
mov rcx, qword [r15 + 0x58]
mov edx, 1
add rcx, rbp
movzx edi, byte [rcx]
lea rsi, [rcx + 0x10]
shr dil, 7
mov r8, rsi
neg dil
and dil, 0x87
call fcn.14031b130
xor byte [rsi + 0xf], dil
add rbp, 0x10
sub r12, 1
jne 0x14031b600
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov qword [r15 + 0x28], rbx
shl rbx, 4
add rbx, qword [r15 + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14031f910
Capabilities:
Encode data using xor

Disassembly:
mov eax, reloc.WS2_32.dll_getservbyport
call fcn.1403983a0
sub rsp, rax
cmp dword [rsp + 0x68], 0
je 0x14031f939
lea rax, [0x14031dee0]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.1403166c0
lea rax, [0x14031d090]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.140316400
Function at 0x1403225f0
Capabilities:
Hash data using sha1

Disassembly:
push rbx
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.1403983a0
sub rsp, rax
mov rbx, rcx
call fcn.140220010
test eax, eax
jne 0x140322611
add rsp, 0x20
pop rbx
ret
lea rcx, [rbx + 0x5c]
add rsp, 0x20
pop rbx
jmp fcn.14026c810
Function at 0x140325490
Capabilities:
Hash data using sha512

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.1403983a0
sub rsp, rax
mov rbx, rdx
mov rdi, rcx
add rcx, 0x40
xor edx, edx
mov r8d, 0xb0
call sub.VCRUNTIME140.dll_memset
movabs rsi, 0x1f83d9abfb41bd6b
movabs rbp, 0x5be0cd19137e2179
mov qword [rdi + 0x30], rsi
movabs rcx, 0x6a09e667f3bcc908
mov qword [rdi + 0x38], rbp
movabs rdx, 0xbb67ae8584caa73b
mov qword [rdi], rcx
movabs r8, 0x3c6ef372fe94f82b
mov qword [rdi + 8], rdx
movabs r9, 0xa54ff53a5f1d36f1
mov qword [rdi + 0x10], r8
movabs r10, 0x510e527fade682d1
mov qword [rdi + 0x18], r9
movabs r11, 0x9b05688c2b3e6c1f
mov qword [rdi + 0x20], r10
mov qword [rdi + 0x28], r11
movzx eax, byte [rbx]
mov qword [rdi + 0xe8], rax
mov rax, qword [rbx]
xor rax, rcx
mov qword [rdi], rax
mov rax, qword [rbx + 8]
xor rax, rdx
mov qword [rdi + 8], rax
mov rax, qword [rbx + 0x10]
xor rax, r8
mov qword [rdi + 0x10], rax
mov rax, qword [rbx + 0x18]
xor rax, r9
mov qword [rdi + 0x18], rax
mov rax, qword [rbx + 0x20]
xor rax, r10
mov qword [rdi + 0x20], rax
mov rax, qword [rbx + 0x28]
xor rax, r11
mov qword [rdi + 0x28], rax
mov rax, qword [rbx + 0x30]
xor rax, rsi
mov rsi, qword [rsp + 0x40]
mov qword [rdi + 0x30], rax
mov rax, qword [rbx + 0x38]
mov rbx, qword [rsp + 0x30]
xor rax, rbp
mov rbp, qword [rsp + 0x38]
mov qword [rdi + 0x38], rax
add rsp, 0x20
pop rdi
ret

Function at 0x140327c00
Capabilities:
Hash data using sha256

Disassembly:
xorps xmm0, xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
movups xmmword [rcx + 0x70], xmm0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
movzx eax, byte [rdx]
mov qword [rcx + 0x78], rax
mov eax, dword [rdx]
xor eax, 0x6a09e667
mov dword [rcx], eax
mov eax, dword [rdx + 4]
xor eax, 0xbb67ae85
mov dword [rcx + 4], eax
mov eax, dword [rdx + 8]
xor eax, 0x3c6ef372
mov dword [rcx + 8], eax
mov eax, dword [rdx + 0xc]
xor eax, 0xa54ff53a
mov dword [rcx + 0xc], eax
mov eax, dword [rdx + 0x10]
xor eax, 0x510e527f
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x14]
xor eax, 0x9b05688c
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 0x18]
xor eax, 0x1f83d9ab
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0x1c]
xor eax, 0x5be0cd19
mov dword [rcx + 0x1c], eax
ret
Function at 0x140328200
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1403283f5
push rbx
mov eax, Ordinal_211
call fcn.1403983a0
sub rsp, rax
mov rax, qword [0x14048bd00]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xe8], rbp
mov rbx, rdx
mov qword [rsp + 0xf0], rsi
lea rbp, [r8 - 1]
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0xc8], r14
lea r14, [rcx + 0xc]
shr rbp, 3
mov qword [rsp + 0xc0], r15
inc rbp
lea r15, [rcx + 0x14]
nop word [rax + rax]
movzx eax, byte [rbx + 1]
mov rcx, r14
movzx edi, byte [rbx]
movzx esi, byte [rbx + 4]
lea rbx, [rbx + 8]
shl eax, 8
or edi, eax
movzx eax, byte [rbx - 6]
shl eax, 0x10
or edi, eax
movzx eax, byte [rbx - 5]
shl eax, 0x18
or edi, eax
movzx eax, byte [rbx - 3]
shl eax, 8
or esi, eax
mov dword [rsp + 0x20], edi
movzx eax, byte [rbx - 2]
shl eax, 0x10
or esi, eax
mov dword [rsp + 0x28], edi
movzx eax, byte [rbx - 1]
and byte [r14], 0xdf
and byte [r15], 0xbf
or byte [r14], 0x40
or byte [r15], 0x20
shl eax, 0x18
or esi, eax
mov dword [rsp + 0x24], esi
mov dword [rsp + 0x2c], esi
call fcn.1402208d0
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140220280
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.140298940
mov rcx, r15
call fcn.1402208d0
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.140220280
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140298940
mov edx, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
xor edx, edi
xor edi, dword [rsp + 0x28]
xor ecx, esi
xor esi, dword [rsp + 0x2c]
mov eax, edi
shr eax, 8
mov byte [r14 + 1], al
mov eax, edi
shr eax, 0x10
mov byte [r14 + 2], al
mov eax, ecx
shr eax, 8
mov byte [r14 + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [r14 + 6], al
mov eax, edx
shr eax, 8
mov byte [r15 + 1], al
mov eax, edx
shr eax, 0x10
mov byte [r14], dil
shr edi, 0x18
mov byte [r14 + 4], cl
shr ecx, 0x18
mov byte [r15], dl
shr edx, 0x18
mov byte [r15 + 3], dl
mov byte [r14 + 3], dil
mov byte [r14 + 7], cl
mov byte [r15 + 2], al
mov byte [r15 + 4], sil
mov eax, esi
shr eax, 8
mov byte [r15 + 5], al
mov eax, esi
shr eax, 0x10
shr esi, 0x18
mov byte [r15 + 6], al
mov byte [r15 + 7], sil
sub rbp, 1
jne 0x140328270
mov r15, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xf0]
mov rbp, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140397b20
add rsp, 0xd0
pop rbx
ret
Function at 0x140348930
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, reloc.WS2_32.dll_WSASetLastError
call fcn.1403983a0
sub rsp, rax
mov rax, qword [0x14048bd00]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, r8
lea rbp, [r8 + r8]
shl rax, 7
xor edi, edi
mov rsi, r8
mov rbx, rdx
mov r14, rcx
movups xmm0, xmmword [rax + rdx - 0x40]
movups xmm1, xmmword [rax + rdx - 0x30]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm1
movups xmm0, xmmword [rax + rdx - 0x20]
movups xmm1, xmmword [rax + rdx - 0x10]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm1
test rbp, rbp
je 0x140348a70
nop word [rax + rax]
xor eax, eax
lea rcx, [rbx + 0x3c]
lea rdx, [rsp + 0x20]
cmp rdx, rcx
ja 0x1403489d5
lea rcx, [rsp + 0x5c]
cmp rcx, rbx
jb 0x1403489d5
nop word [rax + rax]
mov ecx, dword [rbx]
add rbx, 4
xor dword [rsp + rax*4 + 0x20], ecx
inc rax
cmp rax, 0x10
jb 0x1403489c0
jmp 0x140348a18
movdqu xmm0, xmmword [rbx]
xorps xmm0, xmmword [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
movdqu xmm0, xmmword [rbx + 0x10]
xorps xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
movdqu xmm0, xmmword [rbx + 0x20]
xorps xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmm0, xmmword [rbx + 0x30]
add rbx, 0x40
xorps xmm0, xmmword [rsp + 0x50]
movdqu xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x20]
call fcn.1403484b0
movups xmm0, xmmword [rsp + 0x20]
mov rcx, rdi
movups xmm1, xmmword [rsp + 0x30]
and ecx, 1
imul rcx, rsi
mov rax, rdi
inc rdi
shr rax, 1
add rcx, rax
shl rcx, 6
movups xmmword [rcx + r14], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx + r14 + 0x10], xmm1
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rcx + r14 + 0x20], xmm0
movups xmmword [rcx + r14 + 0x30], xmm1
cmp rdi, rbp
jb 0x1403489a0
mov edx, 0x40
lea rcx, [rsp + 0x20]
call fcn.140001240
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140397b20
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140349b10
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r12
push r15
mov eax, 0x50
call fcn.1403983a0
sub rsp, rax
mov r12, rdx
test rdx, rdx
mov rdx, r8
mov r15, r9
mov rbp, r8
je 0x140349d63
mov qword [rsp + 0x70], rbx
mov rbx, qword [rsp + 0xa8]
mov qword [rsp + 0x78], rsi
mov rsi, qword [rsp + 0xa0]
mov qword [rsp + 0x48], r13
mov r13, qword [rsp + 0x98]
mov qword [rsp + 0x40], r14
lea r14, [r9 + 1]
mov r9, qword [rsp + 0x90]
mov qword [rsp + 0x30], rbx
shr r14, 1
mov r8, r14
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x20], r13
call fcn.140349900
test eax, eax
je 0x140349bf8
mov r8d, 0x1c8
lea rdx, [0x140448e40]
mov rcx, rbx
call fcn.1401f9aa0
mov rdi, rax
test rax, rax
je 0x140349bf8
mov r9, qword [rsp + 0x90]
sub rbp, r14
mov qword [rsp + 0x30], rbx
mov r8, r14
mov qword [rsp + 0x28], rax
mov rcx, r12
mov qword [rsp + 0x20], r13
lea rdx, [r15 + rbp]
call fcn.140349900
test eax, eax
jne 0x140349c20
mov r9d, 0x1cd
lea r8, [0x140448e40]
mov rdx, rbx
mov rcx, rdi
call fcn.1401f9c30
xor eax, eax
mov rdi, qword [rsp + 0x80]
mov r13, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r12
pop rbp
ret
xor ecx, ecx
test rbx, rbx
je 0x140349d41
cmp rbx, 8
jb 0x140349d14
lea rdx, [rsi - 1]
lea rax, [rbx - 1]
add rdx, rbx
add rax, rdi
cmp rsi, rax
ja 0x140349c51
cmp rdx, rdi
jae 0x140349d14
cmp rbx, 0x40
jb 0x140349cd3
mov rdx, rbx
mov r8, rbx
and edx, 0x3f
sub r8, rdx
mov r9, rdi
lea rax, [rsi + 0x10]
sub r9, rsi
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x10]
add rcx, 0x40
movdqu xmm1, xmmword [r9 + rax - 0x10]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [r9 + rax - 0x40]
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm2, xmmword [rax - 0x40]
movdqu xmm1, xmmword [r9 + rax - 0x30]
xorps xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [r9 + rax - 0x20]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
cmp rcx, r8
jb 0x140349c70
cmp rdx, 8
jb 0x140349d0f
mov rdx, rbx
and rdx, 0xfffffffffffffff8
mov r8, rdi
lea rax, [rcx + rsi]
sub r8, rsi
nop dword [rax]
nop dword [rax + rax]
movq xmm0, qword [rax]
add rcx, 8
movq xmm1, qword [r8 + rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rax - 8], xmm1
cmp rcx, rdx
jb 0x140349cf0
cmp rcx, rbx
jae 0x140349d41
mov r8, rdi
lea rax, [rcx + rsi]
sub r8, rsi
mov rdx, rbx
sub rdx, rcx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140349d30
mov r9d, 0x1d2
lea r8, [0x140448e40]
mov rdx, rbx
mov rcx, rdi
call fcn.1401f9c30
mov eax, 1
jmp 0x140349bfa
mov rax, qword [rsp + 0xa8]
mov r8, r15
mov r9, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
call fcn.140349900
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x50
pop r15
pop r12
pop rbp
ret
Function at 0x140352c00
Capabilities:
Encode data using xor

Disassembly:
test rcx, rcx
je 0x140352e62
mov qword [rsp + 0x20], rbx
push rsi
mov eax, 0x840
call fcn.1403983a0
sub rsp, rax
mov rax, qword [0x14048bd00]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov r11d, dword [rcx + 0x7c]
mov rbx, rcx
mov qword [rsp + 0x860], rdi
mov eax, r11d
mov rdi, qword [rcx + 0x68]
mov rsi, rdx
shl rax, 0xa
mov edx, 8
lea rcx, [rdi - 0x400]
add rcx, rax
lea rax, [rsp + 0x30]
nop
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140352c60
mov r10d, dword [rbx + 0x54]
mov r9d, 1
cmp r10d, r9d
jbe 0x140352da7
nop word [rax + rax]
lea eax, [r9 + 1]
mov r9d, eax
lea r8, [rsp + 0x30]
imul eax, r11d
lea edx, [rax - 1]
xor eax, eax
shl rdx, 0xa
add rdx, rdi
lea rcx, [rdx + 0x3f8]
cmp r8, rcx
ja 0x140352d26
lea rcx, [rsp + 0x428]
cmp rcx, rdx
jb 0x140352d26
nop word [rax + rax]
mov rcx, qword [rdx + rax*8]
xor qword [rsp + rax*8 + 0x30], rcx
inc rax
cmp rax, 0x80
jl 0x140352d10
jmp 0x140352d9e
lea rcx, [rsp + 0x30]
sub rcx, rdx
lea r8, [rsp + 0x40]
sub r8, rdx
lea rax, [rdx + 0x20]
mov edx, reloc.WS2_32.dll_recv
nop
movdqu xmm0, xmmword [rcx + rax - 0x20]
movdqu xmm1, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmmword [rcx + rax - 0x60], xmm1
movdqu xmm0, xmmword [r8 + rax - 0x60]
movdqu xmm1, xmmword [rax - 0x50]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [r8 + rax - 0x60], xmm1
movdqu xmm1, xmmword [rcx + rax - 0x40]
xorps xmm1, xmm0
movdqu xmmword [rcx + rax - 0x40], xmm1
movdqu xmm0, xmmword [r8 + rax - 0x40]
movdqu xmm1, xmmword [rax - 0x30]
xorps xmm1, xmm0
movdqu xmmword [r8 + rax - 0x40], xmm1
sub rdx, 1
jne 0x140352d40
cmp r9d, r10d
jb 0x140352cd0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x430]
call fcn.1403535f0
mov r9d, dword [rbx + 8]
lea rax, [rsp + 0x430]
mov rdx, qword [rbx + 0x90]
mov r8, rsi
mov rcx, qword [rbx + 0x88]
mov qword [rsp + 0x28], 0x400
mov qword [rsp + 0x20], rax
call fcn.140350fe0
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.140001240
mov edx, 0x400
lea rcx, [rsp + 0x430]
call fcn.140001240
mov edx, dword [rbx + 0x74]
lea r8, [0x14044aad0]
mov rcx, qword [rbx + 0x68]
mov rdi, qword [rsp + 0x860]
shl rdx, 0xa
cmp dword [rbx + 0x64], 0
je 0x140352e37
mov r9d, 0x310
call fcn.1402229c0
jmp 0x140352e42
mov r9d, 0x313
call fcn.1401f9c30
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.140397b20
mov rbx, qword [rsp + 0x868]
add rsp, 0x840
pop rsi
ret