Function at 0x1400a0430
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
push r13
lea rbp, [rsp - 0x598]
sub rsp, 0x698
mov rax, qword [0x14021b0e0]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov edi, r8d
mov dword [rsp + 0x48], r9d
mov r8, qword [rbp + 0x5f0]
mov rbx, rdx
mov r9, qword [rbp + 0x5f8]
mov r10d, reloc.WS2_32.dll_recv
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x68], r9
cmp edi, 0x100
jbe 0x1400a0490
mov r13d, dword [rdx + 0x400]
jmp 0x1400a0493
mov r13d, r10d
xorps xmm0, xmm0
xor eax, eax
mov rcx, rdx
mov dword [rbp - 0x40], eax
movups xmmword [rbp - 0x80], xmm0
mov edx, edi
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov eax, dword [rcx]
lea rcx, [rcx + 4]
inc dword [rbp + rax*4 - 0x80]
add edx, 0xffffffff
jne 0x1400a04b0
cmp dword [rbp - 0x80], edi
jne 0x1400a04d1
xor eax, eax
mov qword [r8], rax
mov dword [r9], eax
jmp 0x1400a08d9
mov qword [rsp + 0x690], r12
mov r12d, 1
mov ecx, r12d
mov eax, ecx
cmp dword [rbp + rax*4 - 0x80], 0
jne 0x1400a04f2
inc ecx
cmp ecx, r10d
jbe 0x1400a04e2
mov dword [rsp + 0x24], ecx
cmp dword [r9], ecx
jae 0x1400a0500
mov dword [r9], ecx
nop
mov eax, r10d
cmp dword [rbp + rax*4 - 0x80], 0
jne 0x1400a0510
add r10d, 0xffffffff
jne 0x1400a0500
mov dword [rsp + 0x20], r10d
cmp dword [r9], r10d
jbe 0x1400a051d
mov dword [r9], r10d
mov edx, r12d
shl edx, cl
cmp ecx, r10d
jae 0x1400a0538
mov eax, ecx
sub edx, dword [rbp + rax*4 - 0x80]
js 0x1400a054d
inc ecx
add edx, edx
cmp ecx, r10d
jb 0x1400a0527
mov eax, r10d
lea rcx, [rbp - 0x80]
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
sub edx, eax
mov dword [rsp + 0x4c], edx
jns 0x1400a0557
mov eax, 2
jmp 0x1400a08d1
add eax, edx
mov qword [rsp + 0x688], r14
mov dword [rcx], eax
xor ecx, ecx
mov qword [rsp + 0x680], r15
mov dword [rbp - 0x2c], ecx
add r10d, 0xffffffff
je 0x1400a0592
xor eax, eax
nop dword [rax + rax]
add ecx, dword [rbp + rax - 0x7c]
mov dword [rbp + rax - 0x28], ecx
lea rax, [rax + 4]
add r10d, 0xffffffff
jne 0x1400a0580
xor edx, edx
lea rcx, [rbp + 0xf0]
mov r8d, 0x480
call fcn.14014a5c0
xor edx, edx
nop dword [rax + rax]
mov eax, dword [rbx]
lea rbx, [rbx + 4]
test eax, eax
je 0x1400a05cf
lea rcx, [rbp - 0x30]
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
mov dword [rbp + rax*4 + 0xf0], edx
inc eax
mov dword [rcx], eax
inc edx
cmp edx, edi
jb 0x1400a05b0
movsxd rcx, dword [rsp + 0x20]
xor r15d, r15d
mov r11d, dword [rsp + 0x24]
xor edi, edi
xor r8d, r8d
mov qword [rsp + 0x6c0], rsi
xor r14d, r14d
mov dword [rbp + 0x20], r15d
mov eax, dword [rbp + rcx*4 - 0x30]
lea r10, [r15 - 1]
mov dword [rsp + 0x44], eax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x50], rax
mov dword [rbp - 0x30], r15d
mov qword [rbp + 0x70], rdi
cmp r11d, ecx
jg 0x1400a089d
mov rsi, r10
movsxd rax, r11d
mov edx, dword [rbp + rax*4 - 0x80]
lea rax, [rbp + rax*4 - 0x80]
mov qword [rsp + 0x70], rax
test edx, edx
je 0x1400a088c
nop dword [rax + rax]
mov ebx, dword [rbp + rsi*4 + 0x24]
mov r9d, edx
mov dword [rsp + 0x40], edx
dec edx
mov dword [rsp + 0x28], edx
lea eax, [rbx + rdi]
cmp r11d, eax
jle 0x1400a0784
nop dword [rax]
add edi, ebx
mov eax, ecx
mov rcx, qword [rsp + 0x68]
sub eax, edi
inc r10d
inc rsi
mov ebx, r11d
mov qword [rsp + 0x60], r10
mov r8d, dword [rcx]
cmp eax, r8d
cmovbe r8d, eax
sub ebx, edi
mov ecx, ebx
mov eax, r12d
shl eax, cl
cmp eax, r9d
jbe 0x1400a06c6
mov ecx, 0xffffffff
inc ebx
sub ecx, edx
add eax, ecx
mov rcx, qword [rsp + 0x70]
cmp ebx, r8d
jae 0x1400a06c6
nop word [rax + rax]
mov edx, dword [rcx + 4]
lea rcx, [rcx + 4]
add eax, eax
cmp eax, edx
jbe 0x1400a06c6
sub eax, edx
inc ebx
cmp ebx, r8d
jb 0x1400a06b0
lea eax, [rdi + rbx]
cmp eax, r13d
jbe 0x1400a06d8
cmp edi, r13d
jae 0x1400a06d8
mov ebx, r13d
sub ebx, edi
mov ecx, ebx
mov dword [rbp + rsi*4 + 0x24], ebx
mov r14d, r12d
shl r14d, cl
lea ecx, [r14 + 1]
shl rcx, 4
call fcn.1401507f8
test rax, rax
je 0x1400a08f5
mov rcx, qword [rsp + 0x58]
lea r8, [rax + 0x10]
add rax, 8
mov qword [rbp + rsi*8 + 0x70], r8
mov qword [rsp + 0x58], rax
mov qword [rcx], r8
mov qword [rax], 0
test rsi, rsi
je 0x1400a0761
movzx eax, byte [rbp + rsi*4 + 0x20]
mov ecx, edi
mov byte [rsp + 0x31], al
mov edx, r12d
shl edx, cl
lea eax, [rbx + 0x20]
sub ecx, dword [rbp + rsi*4 + 0x20]
dec edx
mov byte [rsp + 0x30], al
mov eax, r15d
and rdx, rax
mov qword [rsp + 0x38], r8
mov rax, qword [rbp + rsi*8 + 0x68]
movups xmm0, xmmword [rsp + 0x30]
shr rdx, cl
add rdx, rdx
mov dword [rbp + rsi*4 - 0x30], r15d
movups xmmword [rax + rdx*8], xmm0
mov r11d, dword [rsp + 0x24]
lea eax, [rdi + rbx]
mov r10, qword [rsp + 0x60]
mov edx, dword [rsp + 0x28]
mov r9d, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x20]
cmp r11d, eax
jg 0x1400a0660
mov rbx, qword [rsp + 0x50]
lea rcx, [rbp + 0xf0]
movzx eax, r11b
sub al, dil
mov byte [rsp + 0x31], al
mov eax, dword [rsp + 0x44]
lea rcx, [rcx + rax*4]
cmp rbx, rcx
jb 0x1400a07af
mov byte [rsp + 0x30], Ordinal_102
jmp 0x1400a07fe
mov ecx, dword [rbx]
add rbx, 4
mov eax, dword [rsp + 0x48]
mov qword [rsp + 0x50], rbx
cmp ecx, eax
jae 0x1400a07d8
cmp ecx, 0x100
mov word [rsp + 0x38], cx
setb al
add al, 0x1f
mov byte [rsp + 0x30], al
jmp 0x1400a07fe
sub ecx, eax
mov qword [rsp + 0x50], rbx
mov rax, qword [rbp + 0x5e8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x30], al
mov rax, qword [rbp + 0x5e0]
movzx eax, word [rax + rcx*2]
mov word [rsp + 0x38], ax
mov ecx, r11d
mov r9d, r12d
sub ecx, edi
mov edx, r15d
shl r9d, cl
mov ecx, edi
shr edx, cl
cmp edx, r14d
jae 0x1400a0832
movups xmm0, xmmword [rsp + 0x30]
nop word [rax + rax]
mov eax, edx
add edx, r9d
add rax, rax
movups xmmword [r8 + rax*8], xmm0
cmp edx, r14d
jb 0x1400a0820
lea ecx, [r11 - 1]
mov eax, r12d
shl eax, cl
test r15d, eax
je 0x1400a084a
xor r15d, eax
shr eax, 1
test r15d, eax
jne 0x1400a0840
xor r15d, eax
mov ecx, edi
mov eax, r12d
shl eax, cl
dec eax
and eax, r15d
cmp eax, dword [rbp + rsi*4 - 0x30]
je 0x1400a087c
nop
sub edi, dword [rbp + rsi*4 + 0x20]
dec rsi
mov ecx, edi
mov eax, r12d
shl eax, cl
dec r10d
dec eax
and eax, r15d
cmp eax, dword [rbp + rsi*4 - 0x30]
jne 0x1400a0860
mov edx, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
test edx, edx
jne 0x1400a0640
inc r11d
mov dword [rsp + 0x24], r11d
cmp r11d, ecx
jle 0x1400a0622
cmp dword [rsp + 0x4c], 0
mov rdx, qword [rsp + 0x68]
mov eax, dword [rbp + 0x24]
mov dword [rdx], eax
je 0x1400a08b3
cmp ecx, r12d
jne 0x1400a08b6
xor r12d, r12d
mov eax, r12d
mov rsi, qword [rsp + 0x6c0]
mov r14, qword [rsp + 0x688]
mov r15, qword [rsp + 0x680]
mov r12, qword [rsp + 0x690]
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.140147af0
add rsp, 0x698
pop r13
pop rdi
pop rbx
pop rbp
ret
cmp dword [rsp + 0x60], 0
je 0x1400a0925
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x1400a0925
nop word [rax + rax]
mov rbx, qword [rcx - 8]
sub rcx, 0x10
call fcn.14014e740
mov rcx, rbx
test rbx, rbx
jne 0x1400a0910
mov eax, 3
jmp 0x1400a08b9