Function at 0x14000dcf0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x118]
sub rsp, 0x218
mov rax, qword [0x1403dc048]
xor rax, rsp
mov qword [rbp + 0x108], rax
mov rsi, qword [rbp + 0x170]
mov r14, r9
mov r13, r8
mov r12, rdx
mov r15, rcx
test rcx, rcx
je 0x14000e3db
test rdx, rdx
je 0x14000e3db
xor eax, eax
mov qword [rsp + 0x210], rdi
mov qword [rbp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0x30], xmm0
test r9, r9
je 0x14000dd64
mov qword [r9], rax
mov rdi, qword [rbp + 0x178]
lea rcx, [rbp + 0xe0]
mov eax, 0x21
mov r8, rdi
cmp rdi, rax
mov rdx, rsi
cmova r8, rax
call fcn.140010dab
xorps xmm0, xmm0
lea r10, [0x1403d6e60]
xor r8d, r8d
xor r9d, r9d
movups xmmword [rbp + 0x60], xmm0
xor eax, eax
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
nop dword [rax]
xor edx, edx
movsxd rcx, r8d
cmp rcx, rdi
cmovb edx, r8d
xor r8d, r8d
movsxd rcx, edx
movzx ecx, byte [rcx + rsi]
xor cl, byte [rax + r10]
mov byte [rbp + rax + 0x60], cl
inc edx
movsxd rcx, edx
cmp rcx, rdi
cmovb r8d, edx
movsxd rcx, r8d
lea edx, [r8 + 1]
xor r8d, r8d
movzx ecx, byte [rcx + rsi]
xor cl, byte [rax + r10 + 1]
mov byte [rbp + rax + 0x61], cl
movsxd rcx, edx
cmp rcx, rdi
cmovb r8d, edx
movsxd rcx, r8d
lea edx, [r8 + 1]
xor r8d, r8d
movzx ecx, byte [rcx + rsi]
xor cl, byte [rax + r10 + 2]
mov byte [rbp + rax + 0x62], cl
movsxd rcx, edx
cmp rcx, rdi
cmovb r8d, edx
movsxd rcx, r8d
lea edx, [r8 + 1]
xor r8d, r8d
movzx ecx, byte [rcx + rsi]
xor cl, byte [rax + r10 + 3]
mov byte [rbp + rax + 0x63], cl
movsxd rcx, edx
cmp rcx, rdi
cmovb r8d, edx
movsxd rcx, r8d
lea edx, [r8 + 1]
xor r8d, r8d
movzx ecx, byte [rcx + rsi]
xor cl, byte [rax + r10 + 4]
mov byte [rbp + rax + 0x64], cl
movsxd rcx, edx
cmp rcx, rdi
cmovb r8d, edx
movsxd rcx, r8d
lea edx, [r8 + 1]
xor r8d, r8d
movzx ecx, byte [rcx + rsi]
xor cl, byte [rax + r10 + 5]
mov byte [rbp + rax + 0x65], cl
movsxd rcx, edx
cmp rcx, rdi
cmovb r8d, edx
movsxd rcx, r8d
lea edx, [r8 + 1]
xor r8d, r8d
movzx ecx, byte [rcx + rsi]
xor cl, byte [rax + r10 + 6]
mov byte [rbp + rax + 0x66], cl
movsxd rcx, edx
cmp rcx, rdi
cmovb r8d, edx
movsxd rcx, r8d
lea edx, [r8 + 1]
xor r8d, r8d
movzx ecx, byte [rcx + rsi]
xor cl, byte [rax + r10 + 7]
mov byte [rbp + rax + 0x67], cl
movsxd rcx, edx
cmp rcx, rdi
cmovb r8d, edx
movsxd rcx, r8d
lea edx, [r8 + 1]
movzx ecx, byte [rcx + rsi]
xor cl, byte [rax + r10 + 8]
mov byte [rbp + rax + 0x68], cl
xor r8d, r8d
movsxd rcx, edx
cmp rcx, rdi
lea rax, [rax + 0x10]
cmovb r8d, edx
movsxd rcx, r8d
lea edx, [r8 + 1]
xor r8d, r8d
movzx ecx, byte [rcx + rsi]
xor cl, byte [rax + r10 - 7]
mov byte [rbp + rax + 0x59], cl
movsxd rcx, edx
cmp rcx, rdi
cmovb r8d, edx
movsxd rcx, r8d
lea edx, [r8 + 1]
xor r8d, r8d
movzx ecx, byte [rcx + rsi]
xor cl, byte [rax + r10 - 6]
mov byte [rbp + rax + 0x5a], cl
movsxd rcx, edx
cmp rcx, rdi
cmovb r8d, edx
movsxd rcx, r8d
lea edx, [r8 + 1]
xor r8d, r8d
movzx ecx, byte [rcx + rsi]
xor cl, byte [rax + r10 - 5]
mov byte [rbp + rax + 0x5b], cl
movsxd rcx, edx
cmp rcx, rdi
cmovb r8d, edx
movsxd rcx, r8d
lea edx, [r8 + 1]
xor r8d, r8d
movzx ecx, byte [rcx + rsi]
xor cl, byte [rax + r10 - 4]
mov byte [rbp + rax + 0x5c], cl
movsxd rcx, edx
cmp rcx, rdi
cmovb r8d, edx
movsxd rcx, r8d
lea edx, [r8 + 1]
xor r8d, r8d
movzx ecx, byte [rcx + rsi]
xor cl, byte [rax + r10 - 3]
mov byte [rbp + rax + 0x5d], cl
movsxd rcx, edx
cmp rcx, rdi
cmovb r8d, edx
movsxd rcx, r8d
lea edx, [r8 + 1]
xor r8d, r8d
movzx ecx, byte [rcx + rsi]
xor cl, byte [rax + r10 - 2]
mov byte [rbp + rax + 0x5e], cl
movsxd rcx, edx
cmp rcx, rdi
cmovb r8d, edx
add r9d, 0x10
movsxd rcx, r8d
movzx ecx, byte [rcx + rsi]
xor cl, byte [rax + r10 - 1]
inc r8d
mov byte [rbp + rax + 0x5f], cl
cmp r9d, 0x80
jb 0x14000ddd0
movzx ecx, byte [rbp + 0xe0]
lea rax, [rbp + 0x60]
mov rdi, qword [rsp + 0x210]
lea rdx, [rbp + 0x60]
shr rcx, 3
add rax, rcx
cmp rcx, 0x10
lea rcx, [rbp + 0x48]
cmovae rdx, rax
lea rax, [rdx + 0xf]
cmp rcx, rax
ja 0x14000e035
lea rax, [rbp + 0x57]
cmp rax, rdx
jb 0x14000e035
movups xmm0, xmmword [rdx]
movups xmmword [rbp + 0x48], xmm0
jmp 0x14000e03c
movups xmm0, xmmword [rdx]
movups xmmword [rbp + 0x48], xmm0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x110
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x60]
mov qword [rsp + 0x24], 0x100
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x38], rax
call fcn.140010470
mov r9d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x30]
mov r8, r15
lea rcx, [rsp + 0x20]
call fcn.140010050
xor eax, eax
lea r9, [rbp + 0x61]
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
xor edx, edx
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 - 1], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 1], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 2], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 3], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 4], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 5], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 6], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 7], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 8], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 9], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 0xa], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 0xb], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 0xc], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 0xd], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 0xe], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 0xf], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 0x10], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 0x11], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 0x12], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 0x13], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 + 0x14], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
mov byte [r9 + 0x15], cl
xor edx, edx
cmp eax, 8
lea r9, [r9 + 0x20]
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 - 0xa], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 - 9], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 - 8], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 - 7], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 - 6], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 - 5], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 - 4], cl
cmp eax, 8
cmovl edx, eax
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
xor edx, edx
mov byte [r9 - 3], cl
cmp eax, 8
cmovl edx, eax
add r8d, 0x20
movsxd rax, edx
movzx ecx, byte [rbp + rax + 0x30]
lea eax, [rdx + 1]
mov byte [r9 - 2], cl
cmp r8d, 0x80
jb 0x14000e0a0
lea rax, [rbp + 0x60]
mov qword [rsp + 0x24], 0x80
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x38], rax
call fcn.140010470
lea r9d, [r12 - 0x10]
mov rdx, r13
lea r8, [r15 + 0x10]
lea rcx, [rsp + 0x20]
call fcn.140010160
mov eax, eax
test r14, r14
je 0x14000e3e7
mov qword [r14], rax
jmp 0x14000e3e7
test r14, r14
je 0x14000e3e7
mov qword [r9], 0
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.140010ab0
add rsp, 0x218
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret