Function at 0x14008ee80
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push r12
push r13
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14036a3c8]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0xd8]
xorps xmm0, xmm0
mov r12, qword [rbp + 0xe8]
mov r11d, edx
mov rbx, qword [rbp + 0xd0]
mov r10, rcx
mov r13, qword [rbp + 0xe0]
mov qword [rsp + 0x30], rax
xor eax, eax
mov dword [rsp + 0x1c], r8d
xor r15d, r15d
mov r8, qword [rbp + 0xc8]
mov qword [rbp - 0x78], r15
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x40], r12
movups xmmword [rsp + 0x50], xmm0
mov qword [rbp - 0x80], rax
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rcx]
lea rcx, [rcx + 4]
inc dword [rsp + rax*4 + 0x50]
add edx, 0xffffffff
jne 0x14008ef10
cmp dword [rsp + 0x50], r11d
jne 0x14008ef33
mov qword [r8], r15
xor eax, eax
mov dword [rbx], r15d
jmp 0x14008f2fa
mov edx, dword [rbx]
mov ecx, 1
mov qword [rsp + 0x1b0], rsi
mov qword [rsp + 0x160], r14
nop word [rax + rax]
mov eax, ecx
cmp dword [rsp + rax*4 + 0x50], r15d
jne 0x14008ef60
inc ecx
cmp ecx, 0xf
jbe 0x14008ef50
cmp edx, ecx
mov r8d, ecx
mov r14d, ecx
cmovae r8d, edx
mov edx, reloc.WS2_32.dll_ntohs
mov eax, edx
cmp dword [rsp + rax*4 + 0x50], r15d
jne 0x14008ef7f
add edx, 0xffffffff
jne 0x14008ef71
cmp r8d, edx
mov dword [rsp + 8], edx
mov esi, edx
cmovbe esi, r8d
mov r8d, 1
shl r8d, cl
mov dword [rbx], esi
cmp ecx, edx
jae 0x14008efb2
nop dword [rax + rax]
mov eax, ecx
sub r8d, dword [rsp + rax*4 + 0x50]
js 0x14008efc9
inc ecx
add r8d, r8d
cmp ecx, edx
jb 0x14008efa0
mov eax, edx
lea rcx, [rsp + 0x50]
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
sub r8d, eax
mov dword [rsp + 0x20], r8d
jns 0x14008efd3
mov eax, 0xfffffffd
jmp 0x14008f2ea
add eax, r8d
mov qword [rsp + 0x168], rdi
mov dword [rcx], eax
mov ecx, r15d
mov dword [rbp - 0x6c], r15d
lea r8, [rsp + 0x54]
lea r9, [rbp - 0x68]
add edx, 0xffffffff
je 0x14008f016
nop word [rax + rax]
mov eax, dword [r8]
lea r9, [r9 + 4]
add ecx, eax
lea r8, [r8 + 4]
mov dword [r9 - 4], ecx
add edx, 0xffffffff
jne 0x14008f000
mov edx, r15d
nop dword [rax]
mov eax, dword [r10]
lea r10, [r10 + 4]
test eax, eax
je 0x14008f03d
lea rcx, [rbp - 0x70]
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
mov dword [r12 + rax*4], edx
inc eax
mov dword [rcx], eax
inc edx
cmp edx, r11d
jb 0x14008f020
movsxd rcx, dword [rsp + 8]
mov r11d, esi
neg r11d
mov qword [rbp - 0x30], r15
mov rdx, r12
mov edi, r15d
mov qword [rsp + 0x10], rdx
mov r9, r15
mov eax, dword [rbp + rcx*4 - 0x70]
mov r10d, r15d
mov dword [rsp + 0x18], eax
mov dword [rbp - 0x70], r15d
cmp r14d, ecx
jg 0x14008f2cd
mov rbx, 0xffffffffffffffff
movsxd rax, r14d
lea r8, [rsp + 0x50]
mov r12d, dword [r8 + rax*4]
lea r8, [r8 + rax*4]
mov qword [rsp + 0x28], r8
test r12d, r12d
je 0x14008f2c1
nop
mov r15d, r12d
lea eax, [rsi + r11]
dec r12d
cmp r14d, eax
jle 0x14008f1a7
nop dword [rax]
nop word [rax + rax]
mov r9d, ecx
inc rbx
sub r9d, eax
mov r11d, eax
cmp r9d, esi
mov edx, r14d
cmova r9d, esi
sub edx, eax
mov ecx, edx
mov eax, 1
shl eax, cl
cmp eax, r15d
jbe 0x14008f117
mov ecx, 0xffffffff
sub ecx, r12d
add eax, ecx
cmp edx, r9d
jae 0x14008f117
inc edx
cmp edx, r9d
jae 0x14008f117
nop dword [rax]
mov ecx, dword [r8 + 4]
lea r8, [r8 + 4]
add eax, eax
cmp eax, ecx
jbe 0x14008f117
sub eax, ecx
inc edx
cmp edx, r9d
jb 0x14008f100
mov eax, dword [r13]
mov ecx, edx
mov r10d, 1
shl r10d, cl
lea ecx, [rax + r10]
cmp ecx, 0x5a0
ja 0x14008f316
mov r8, qword [rsp + 0x30]
mov dword [r13], ecx
lea r9, [r8 + rax*8]
mov qword [rbp + rbx*8 - 0x30], r9
test rbx, rbx
je 0x14008f184
mov byte [rsp], dl
mov r8d, edi
mov rdx, qword [rbp + rbx*8 - 0x38]
mov ecx, r11d
sub ecx, esi
mov byte [rsp + 1], sil
shr r8d, cl
mov rax, r9
sub rax, rdx
mov dword [rbp + rbx*4 - 0x70], edi
sar rax, 3
sub eax, r8d
mov dword [rsp + 4], eax
mov rax, qword [rsp]
mov qword [rdx + r8*8], rax
jmp 0x14008f18c
mov rax, qword [rsp + 0x38]
mov qword [rax], r9
mov r8, qword [rsp + 0x28]
lea eax, [rsi + r11]
mov ecx, dword [rsp + 8]
cmp r14d, eax
jg 0x14008f0c0
mov rdx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x40]
movzx eax, r14b
sub al, r11b
mov byte [rsp + 1], al
mov eax, dword [rsp + 0x18]
lea rcx, [rcx + rax*4]
cmp rdx, rcx
jb 0x14008f1ca
mov byte [rsp], 0xc0
jmp 0x14008f226
mov ecx, dword [rdx]
add rdx, 4
mov eax, dword [rsp + 0x1c]
mov qword [rsp + 0x10], rdx
cmp ecx, eax
jae 0x14008f1fb
cmp ecx, 0x100
mov dword [rsp + 4], ecx
mov eax, 0x60
mov r15d, 0
cmovb eax, r15d
mov byte [rsp], al
jmp 0x14008f229
sub ecx, eax
mov qword [rsp + 0x10], rdx
mov rax, qword [rbp + 0xc0]
lea rcx, [rcx*4]
movzx eax, byte [rcx + rax]
add al, 0x50
mov byte [rsp], al
mov rax, qword [rsp + 0x48]
mov eax, dword [rcx + rax]
mov dword [rsp + 4], eax
xor r15d, r15d
mov ecx, r14d
mov r8d, 1
sub ecx, r11d
mov edx, edi
shl r8d, cl
mov ecx, r11d
shr edx, cl
cmp edx, r10d
jae 0x14008f25c
mov rax, qword [rsp]
nop dword [rax + rax]
mov qword [r9 + rdx*8], rax
add edx, r8d
cmp edx, r10d
jb 0x14008f250
lea ecx, [r14 - 1]
mov eax, 1
shl eax, cl
test edi, eax
je 0x14008f278
nop dword [rax + rax]
xor edi, eax
shr eax, 1
test edi, eax
jne 0x14008f270
xor edi, eax
mov ecx, r11d
mov eax, 1
shl eax, cl
dec eax
and eax, edi
cmp eax, dword [rbp + rbx*4 - 0x70]
je 0x14008f2aa
nop
sub r11d, esi
mov eax, 1
mov ecx, r11d
dec rbx
shl eax, cl
dec eax
and eax, edi
cmp eax, dword [rbp + rbx*4 - 0x70]
jne 0x14008f290
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x28]
mov ecx, dword [rsp + 8]
test r12d, r12d
jne 0x14008f0a0
inc r14d
cmp r14d, ecx
jle 0x14008f080
cmp dword [rsp + 0x20], 0
je 0x14008f2df
cmp ecx, 1
je 0x14008f2df
mov r15d, 0xfffffffb
mov eax, r15d
mov rdi, qword [rsp + 0x168]
mov rsi, qword [rsp + 0x1b0]
mov r14, qword [rsp + 0x160]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140240e30
add rsp, 0x170
pop r15
pop r13
pop r12
pop rbx
pop rbp
ret
mov eax, 0xfffffffc
jmp 0x14008f2e2