Function at 0x1400afd50
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x1401b66f8]
xor rax, rsp
mov qword [rbp], rax
movzx r15d, r9b
mov byte [rsp + 0x30], r8b
movzx r12d, dl
mov r13, rcx
mov qword [rsp + 0x48], rcx
xor r14d, r14d
mov esi, r14d
mov dword [rsp + 0x50], r14d
call fcn.1400ab8a0
mov rdi, rax
test rax, rax
jne 0x1400afdd1
mov qword [r13], r14
mov qword [r13 + 8], r14
mov qword [r13 + 0x10], r14
jmp 0x1400b0357
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov ecx, 0x5dc
call fcn.14012e6c4
mov qword [rsp + 0x78], rax
lea rbx, [rax + 0x5dc]
mov qword [rbp - 0x78], rbx
xor edx, edx
mov r8d, 0x5dc
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x80], rbx
mov rax, qword [0x1401bafb0]
mov qword [rsp + 0x20], r14
mov r9d, 0x5dc
mov r8, qword [rsp + 0x78]
mov rdx, rdi
mov rcx, qword [0x1401bb090]
test rax, rax
je 0x1400afe3e
call rax
jmp 0x1400afe44
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [0x1401bb018]
call fcn.14001a240
sub rax, rbx
movzx ecx, word [0x1401bb02c]
xor edx, edx
div rcx
mov rdx, rax
mov qword [rsp + 0x48], rax
cmp byte [0x1401bb078], 0
je 0x1400b03a9
mov r8, qword [rsp + 0x78]
mov ecx, dword [r8]
mov dword [rsp + 0x40], ecx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov qword [rbp - 0x60], r14
mov r14d, reloc.WS2_32.dll_recv
mov rax, qword [rbp - 0x80]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp r14, rax
jae 0x1400b02ed
xorps xmm9, xmm9
nop word [rax + rax]
cmp byte [0x1401bb078], 0
je 0x1400b039b
mov ebx, dword [r8 + r14]
cmp ebx, ecx
je 0x1400b02ed
test ebx, ebx
je 0x1400b02d5
cmp ebx, edx
je 0x1400b02d5
mov ecx, ebx
call fcn.1400afb50
test al, al
je 0x1400b02c7
lea rcx, [rbp - 0x50]
call fcn.1400b0c40
nop
mov dword [rbp - 0x50], ebx
test r12b, r12b
jne 0x1400aff0a
cmp byte [rsp + 0x30], r12b
jne 0x1400aff0a
test r15b, r15b
je 0x1400b0062
movzx edi, word [0x1401bb02c]
imul rdi, rbx
add rdi, qword [0x1401bb018]
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov qword [rsp + 0x68], rax
mov ecx, 0x5dc
call fcn.14012e6c4
mov qword [rsp + 0x58], rax
lea rbx, [rax + 0x5dc]
mov qword [rsp + 0x68], rbx
xor edx, edx
mov r8d, 0x5dc
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x60], rbx
mov rax, qword [0x1401bafb0]
mov qword [rsp + 0x20], 0
mov r9d, 0x5dc
mov r8, qword [rsp + 0x58]
mov rdx, rdi
mov rcx, qword [0x1401bb090]
test rax, rax
je 0x1400aff8a
call rax
jmp 0x1400aff90
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rsp + 0x58]
test r12b, r12b
je 0x1400affc5
cmp byte [0x1401bb078], 0
je 0x1400b03b7
movsd xmm0, qword [rcx + 0x10]
movsd qword [rbp - 0x48], xmm0
movsd xmm1, qword [rcx + 0x18]
movsd qword [rbp - 0x40], xmm1
movsd xmm0, qword [rcx + 0x20]
movsd qword [rbp - 0x38], xmm0
cmp byte [rsp + 0x30], 0
je 0x1400affdf
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x58]
call fcn.1400aede0
mov rcx, qword [rsp + 0x58]
test r15b, r15b
je 0x1400afff7
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x58]
call fcn.1400af790
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400b002e
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b0029
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b0348
call fcn.14012e950
test r12b, r12b
je 0x1400b0062
movsd xmm0, qword [rbp - 0x48]
ucomisd xmm0, xmm9
jp 0x1400b0062
jne 0x1400b0062
movsd xmm0, qword [rbp - 0x40]
ucomisd xmm0, xmm9
jp 0x1400b0062
jne 0x1400b0062
movsd xmm0, qword [rbp - 0x38]
ucomisd xmm0, xmm9
jp 0x1400b0062
jne 0x1400b0062
xor dil, dil
jmp 0x1400b0065
mov dil, 1
test r15b, r15b
je 0x1400b0243
mov rax, qword [0x140198698]
mov qword [rsp + 0x38], rax
cmp byte [0x14019869f], 0
je 0x1400b01d0
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400b0198
movdqa xmm4, xmmword [0x140198d70]
mov eax, 4
movd xmm6, eax
mov eax, Ordinal_33
movd xmm5, eax
movdqa xmm2, xmmword [0x140198b10]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140198b70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140198d00]
movd xmm0, dword [rsp + 0x38]
xorps xmm2, xmm0
movd dword [rsp + 0x38], xmm2
movdqa xmm3, xmmword [0x140198b20]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140198b70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140198d00]
movd xmm0, dword [rsp + 0x3c]
xorps xmm2, xmm0
movd dword [rsp + 0x3c], xmm2
jmp 0x1400b01d0
lea r9, [rsp + 0x38]
xor r8d, r8d
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1400b01a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x38]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400b01f0
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.14001fd20
or esi, 2
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdx, qword [rsp + 0x58]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rcx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
cmp r8, qword [rsp + 0x68]
jne 0x1400b0243
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400b0243
xor bl, bl
jmp 0x1400b0245
mov bl, 1
test sil, 2
je 0x1400b0258
and esi, 0xfffffffd
lea rcx, [rsp + 0x58]
call fcn.14000c460
test dil, dil
je 0x1400b02be
test bl, bl
je 0x1400b02be
mov rdx, qword [rbp - 0x68]
cmp rdx, qword [rbp - 0x60]
je 0x1400b02b0
mov eax, dword [rbp - 0x50]
mov dword [rdx], eax
movsd xmm0, qword [rbp - 0x48]
movsd qword [rdx + 8], xmm0
movsd xmm1, qword [rbp - 0x40]
movsd qword [rdx + 0x10], xmm1
movsd xmm0, qword [rbp - 0x38]
movsd qword [rdx + 0x18], xmm0
mov eax, dword [rbp - 0x30]
mov dword [rdx + 0x20], eax
mov rax, qword [rbp - 0x28]
mov qword [rdx + 0x28], rax
lea rcx, [rdx + 0x30]
lea rdx, [rbp - 0x20]
call fcn.14001c0b0
add qword [rbp - 0x68], 0x50
jmp 0x1400b02be
lea r8, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.1400b2320
nop
lea rcx, [rbp - 0x20]
call fcn.14000c460
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov r8, qword [rsp + 0x78]
add r14, 4
mov rax, qword [rbp - 0x80]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp r14, rax
jb 0x1400afeb0
mov rdx, qword [rbp - 0x60]
xor r9d, r9d
mov qword [rbp - 0x60], r9
mov rcx, qword [rbp - 0x68]
mov qword [rbp - 0x68], r9
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x70], r9
mov qword [r13], rax
mov qword [r13 + 8], rcx
mov qword [r13 + 0x10], rdx
test r8, r8
je 0x1400b0357
mov rdx, qword [rbp - 0x78]
sub rdx, r8
mov rax, r8
cmp rdx, 0x1000
jb 0x1400b034f
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b034f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r8
call fcn.14012e950
mov rax, r13
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14012e5c0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movss xmm0, dword [0x140198804]
call fcn.14009d4c0
nop
movss xmm0, dword [0x140198804]
call fcn.14009d4c0
nop
movss xmm0, dword [0x140198804]
call fcn.14009d4c0
int3