Function at 0x1400f5dd0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2b8]
mov eax, 0x3b8
call fcn.1401e5760
sub rsp, rax
mov rax, qword [0x1402c94a0]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov rax, qword [rbp + 0x320]
mov edi, 0x40
mov rbx, qword [rbp + 0x330]
mov r14d, 0x28
mov qword [rsp + 0x70], rax
mov rsi, r8
mov rax, qword [rbp + 0x338]
mov qword [rbp - 0x70], rax
lea r13d, [rdi - 0x38]
mov qword [rsp + 0x50], r9
mov qword [rbp - 0x30], r8
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x20], 1
cmp rbx, 0x100000
jae 0x1400f6706
call fcn.140100230
mov rcx, rax
call fcn.1400b82a0
mov ecx, eax
cmp eax, 0x2a1
jg 0x1400f5f68
je 0x1400f5f2a
cmp eax, 4
je 0x1400f5eec
cmp eax, edi
je 0x1400f5ebd
cmp eax, 0x2a0
jne 0x1400f5f75
lea rcx, [rbp - 0x20]
call fcn.14012eb80
test eax, eax
jle 0x1400f6706
mov r12d, 0x20
lea rcx, [0x1400f6980]
mov qword [rsp + 0x30], r12
lea rax, [0x14012ebf0]
jmp 0x1400f5fe6
lea rcx, [rbp - 0x20]
call fcn.14012d1f0
test eax, eax
jle 0x1400f6706
mov r12d, setsockopt
lea rcx, [0x1400f68f0]
mov qword [rsp + 0x30], r12
lea rax, [0x14012d250]
jmp 0x1400f5fe6
lea rcx, [rbp - 0x20]
call fcn.1401328e0
test eax, eax
jle 0x1400f6706
mov r12d, reloc.WS2_32.dll_recv
mov byte [rsp + 0x20], 0
mov r14d, 0x30
mov qword [rsp + 0x30], r12
mov qword [rbp - 0x78], r14
lea rcx, [0x1400f6870]
lea rax, [0x140132930]
jmp 0x1400f5fe6
lea rcx, [rbp - 0x20]
call fcn.14012fe90
test eax, eax
jle 0x1400f6706
mov r12d, 0x30
lea rax, [0x1400f6a60]
mov qword [rsp + 0x40], rax
lea rax, [0x1401308e0]
mov qword [rsp + 0x30], r12
lea edi, [r12 + 0x50]
lea r13d, [r12 - 0x20]
jmp 0x1400f5feb
sub ecx, 0x2a2
je 0x1400f5fb6
cmp ecx, 1
je 0x1400f5f8a
test rsi, rsi
je 0x1400f6706
mov qword [rsi], 0
jmp 0x1400f6706
lea rcx, [rbp - 0x20]
call fcn.14012e7d0
test eax, eax
jle 0x1400f6706
mov r12d, 0x1c
lea rcx, [0x1400f6980]
mov qword [rsp + 0x30], r12
lea rax, [0x14012ebf0]
jmp 0x1400f5fe6
lea rcx, [rbp - 0x20]
call fcn.140130850
test eax, eax
jle 0x1400f6706
mov r12, rdi
mov qword [rsp + 0x30], rdi
mov edi, 0x80
lea rcx, [0x1400f6a60]
lea rax, [0x1401308e0]
lea r13d, [rdi - 0x70]
mov qword [rsp + 0x40], rcx
movzx r11d, byte [rbp + 0x348]
mov esi, reloc.WS2_32.dll_listen
mov qword [rsp + 0x28], rax
test r11b, r11b
je 0x1400f6018
mov rsi, qword [rbp + 0x340]
mov r9d, 2
add rsi, 0xb
add rsi, r14
jmp 0x1400f602b
lea rax, [rdi + 0xff]
xor edx, edx
add rax, r12
div rdi
lea r9, [rax + 1]
mov r14, qword [rbp + 0x328]
lea rax, [rbx - 1]
xor edx, edx
mov qword [rsp + 0x48], r9
mov r8, rsi
xor r15d, r15d
sub r8, r12
mov ebx, r15d
add r14, r8
lea rcx, [r8 + r13]
add rcx, rdi
add rax, rcx
mov ecx, r15d
div rdi
xor edx, edx
mov r10, rax
mov rax, r14
div rdi
mov rax, r14
mov qword [rbp - 0x80], rdx
xor edx, edx
div rdi
xor edx, edx
mov qword [rbp - 0x68], rax
lea rax, [r14 + r13]
div rdi
test r11b, r11b
mov qword [rbp - 0x60], rax
setne cl
lea rdx, [rcx + r9]
mov rcx, r10
sub rcx, r9
cmp r10, rdx
jbe 0x1400f60a3
mov rbx, rcx
imul rbx, rdi
cmp r10, rdx
cmovbe rcx, r15
lea r14, [r14*8]
mov qword [rsp + 0x78], rcx
test r11b, r11b
jne 0x1400f617f
mov r8, rdi
lea rcx, [rbp + 0x110]
xor edx, edx
lea r14, [r14 + rdi*8]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rbp + 0x340]
cmp rax, 0x80
ja 0x1400f6706
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp + 0x110]
mov r8, rax
call sub.VCRUNTIME140.dll_memcpy
movdqa xmm2, xmmword [str.6666666666666666jjjjjjjjjjjjjjjjSRTP_AES128_CM_SHA1_80]
mov rax, r15
movdqu xmm0, xmmword [rbp + rax + 0x110]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rbp + rax + 0x110], xmm1
movdqu xmm0, xmmword [rbp + rax + 0x120]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rbp + rax + 0x120], xmm1
movdqu xmm0, xmmword [rbp + rax + 0x130]
movdqa xmm1, xmm2
pxor xmm0, xmm2
movdqu xmmword [rbp + rax + 0x130], xmm0
movdqu xmm0, xmmword [rbp + rax + 0x140]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax + 0x140], xmm1
add rax, 0x40
cmp rax, rdi
jb 0x1400f6103
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x20]
call qword [rsp + 0x28]
mov rax, r14
lea rcx, [rbp + 0xc0]
shr rax, 0x18
xor edx, edx
mov qword [rsp + 0x58], rax
mov rax, r14
shr rax, 0x10
mov qword [rsp + 0x60], rax
mov rax, r14
shr rax, 8
mov qword [rsp + 0x38], rax
cmp byte [rsp + 0x20], r15b
je 0x1400f61ed
lea r8, [r13 - 4]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x58]
mov byte [rbp + r13 + 0xbc], al
mov rax, qword [rsp + 0x60]
mov byte [rbp + r13 + 0xbd], al
mov rax, qword [rsp + 0x38]
mov byte [rbp + r13 + 0xbe], al
mov byte [rbp + r13 + 0xbf], r14b
jmp 0x1400f6224
mov r8, r13
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x58]
mov byte [rbp + r13 + 0xbb], al
mov rax, qword [rsp + 0x60]
mov byte [rbp + r13 + 0xba], al
mov rax, qword [rsp + 0x38]
mov byte [rbp + r13 + 0xb9], al
mov byte [rbp + r13 + 0xb8], r14b
test rbx, rbx
je 0x1400f635d
cmp byte [rbp + 0x348], r15b
je 0x1400f62d9
cmp rsi, rdi
jbe 0x1400f6706
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp - 0x20]
mov r14, rsi
sub r14, rdi
mov qword [rsp + 0x38], r14
call qword [rsp + 0x28]
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp + 0x190]
add rdx, rdi
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov r8, rdi
lea rcx, [rbp + 0x190]
sub r8, r14
add rcx, r14
mov r14, qword [rsp + 0x70]
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rbp + 0x190]
lea rcx, [rbp - 0x20]
call qword [rsp + 0x28]
xor edx, edx
mov rax, rbx
div rdi
dec rax
cmp rax, 1
jbe 0x1400f635d
sub r14, qword [rsp + 0x38]
lea r15, [rax - 1]
mov r12, qword [rsp + 0x28]
add r14, rdi
mov rdx, r14
lea rcx, [rbp - 0x20]
call r12
add r14, rdi
sub r15, 1
jne 0x1400f62c4
jmp 0x1400f6355
mov rcx, qword [rsp + 0x50]
lea r8, [rdi - 0xd]
mov r14, qword [rsp + 0x70]
mov rdx, r14
mov eax, dword [rcx + 8]
movsd xmm0, qword [rcx]
mov dword [rbp + 0x198], eax
movzx eax, byte [rcx + 0xc]
lea rcx, [rbp + 0x19d]
mov byte [rbp + 0x19c], al
movsd qword [rbp + 0x190], xmm0
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rbp + 0x190]
lea rcx, [rbp - 0x20]
call qword [rsp + 0x28]
xor edx, edx
mov rax, rbx
div rdi
cmp rax, 1
jbe 0x1400f635d
mov r12, qword [rsp + 0x28]
lea r15, [rax - 1]
add r14, 0xfffffffffffffff3
add r14, rdi
mov rdx, r14
lea rcx, [rbp - 0x20]
call r12
add r14, rdi
sub r15, 1
jne 0x1400f6342
mov r12, qword [rsp + 0x30]
xor r15d, r15d
mov r8, qword [rsp + 0x78]
xor eax, eax
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rax
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rax
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rax
mov rax, qword [rsp + 0x48]
add rax, r8
mov qword [rbp - 0x50], rax
cmp r8, rax
ja 0x1400f6666
mov rcx, qword [rbp - 0x80]
mov rax, rcx
movaps xmmword [rsp + 0x3a0], xmm6
shr rax, 0x3f
mov r9, rcx
mov qword [rbp - 0x80], rax
not r9
lea rdx, [rcx + 1]
mov qword [rbp - 0x48], r9
mov rax, rdx
mov qword [rsp + 0x38], rdx
shr rax, 0x3f
mov qword [rsp + 0x48], rax
mov rax, rdi
sub rax, r13
mov qword [rsp + 0x60], rax
mov rax, rcx
sub rax, rdi
lea rax, [rbp + rax + 0xc1]
add rax, r13
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x211]
add rax, rcx
mov qword [rbp - 0x58], rax
nop word [rax + rax]
mov rax, r8
mov r10, r9
xor rax, qword [rbp - 0x68]
lea r13, [rax - 1]
not rax
shr rax, 0x3f
shr r13, 0x3f
and r13b, al
mov rax, r8
xor rax, qword [rbp - 0x60]
neg r13b
lea r14, [rax - 1]
not rax
shr rax, 0x3f
shr r14, 0x3f
and r14b, al
neg r14b
movsx eax, r14b
movd xmm6, eax
movzx eax, r14b
not al
punpcklbw xmm6, xmm6
mov byte [rsp + 0x20], al
or al, r13b
movzx r12d, byte [rsp + 0x20]
punpcklwd xmm6, xmm6
mov byte [rsp + 0x21], al
pshufd xmm6, xmm6, 0
xor r11b, r11b
cmp rbx, rsi
jae 0x1400f6496
mov rax, qword [rsp + 0x50]
jmp 0x1400f64ad
mov rax, qword [rbp + 0x330]
add rax, rsi
cmp rbx, rax
jae 0x1400f64b2
mov rax, qword [rsp + 0x70]
sub rax, rsi
movzx r11d, byte [rax + rbx]
mov rcx, qword [rbp - 0x80]
lea r9, [rdx + r10]
mov rdx, r9
lea r15, [r10 + 1]
shr rdx, 0x3f
mov r8, r15
shr r8, 0x3f
movzx eax, dl
xor al, cl
xor r8b, cl
or r8b, al
movzx ecx, dl
xor cl, byte [rsp + 0x48]
xor r8b, dl
dec r8b
mov rax, r10
shr rax, 0x3f
and r8b, r13b
xor al, byte [rsp + 0x48]
inc rbx
or al, cl
movzx ecx, r8b
xor al, dl
not cl
dec al
and cl, r11b
and al, r13b
and r8b, 0x80
not al
or cl, r8b
and al, cl
and al, byte [rsp + 0x21]
cmp r9, qword [rsp + 0x60]
jb 0x1400f652f
mov rcx, qword [rsp + 0x58]
and al, r12b
movzx edx, byte [rcx + r10]
and dl, r14b
or al, dl
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rsp + 0x38]
mov byte [rcx + r10], al
mov r10, r15
lea rax, [rdx + r15]
cmp rax, rdi
jb 0x1400f6487
lea rdx, [rbp + 0x210]
lea rcx, [rbp - 0x20]
call qword [rsp + 0x28]
lea rdx, [rbp + 0x210]
lea rcx, [rbp - 0x20]
call qword [rsp + 0x40]
mov r12, qword [rsp + 0x30]
xor r15d, r15d
mov ecx, r15d
cmp r12, 0x40
jb 0x1400f661f
mov rax, r12
and rax, 0xffffffffffffffc0
movdqu xmm0, xmmword [rbp + rcx + 0xd0]
movdqu xmm1, xmmword [rbp + rcx + 0x210]
pand xmm1, xmm6
por xmm1, xmm0
movdqu xmmword [rbp + rcx + 0xd0], xmm1
movdqu xmm0, xmmword [rbp + rcx + 0xe0]
movdqu xmm1, xmmword [rbp + rcx + 0x220]
pand xmm1, xmm6
por xmm1, xmm0
movdqu xmmword [rbp + rcx + 0xe0], xmm1
movdqu xmm0, xmmword [rbp + rcx + 0xf0]
movdqu xmm1, xmmword [rbp + rcx + 0x230]
pand xmm1, xmm6
por xmm1, xmm0
movdqu xmmword [rbp + rcx + 0xf0], xmm1
movdqu xmm0, xmmword [rbp + rcx + 0x100]
movdqu xmm1, xmmword [rbp + rcx + 0x240]
pand xmm1, xmm6
por xmm1, xmm0
movdqu xmmword [rbp + rcx + 0x100], xmm1
add rcx, 0x40
cmp rcx, rax
jb 0x1400f6586
cmp rcx, r12
jae 0x1400f663e
movzx eax, byte [rbp + rcx + 0x210]
and al, r14b
or byte [rbp + rcx + 0xd0], al
inc rcx
cmp rcx, r12
jb 0x1400f6624
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x38]
inc r8
mov r9, qword [rbp - 0x48]
mov qword [rsp + 0x78], r8
cmp r8, qword [rbp - 0x50]
jbe 0x1400f6420
movaps xmm6, xmmword [rsp + 0x3a0]
call fcn.1401075b0
mov rbx, rax
test rax, rax
je 0x1400f66fe
mov rcx, qword [rbp - 0x40]
call fcn.140100230
mov rdx, rax
xor r8d, r8d
mov rcx, rbx
call fcn.140107090
test eax, eax
jle 0x1400f66fe
cmp byte [rbp + 0x348], 0
je 0x1400f672b
mov rdi, qword [rbp - 0x78]
lea rcx, [rbp + 0x110]
mov r8, rdi
mov edx, 0x5c
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rbp + 0x340]
mov rcx, rbx
mov rdx, qword [rbp - 0x70]
call fcn.1401072e0
test eax, eax
jle 0x1400f66fe
mov r8, rdi
lea rdx, [rbp + 0x110]
mov rcx, rbx
call fcn.1401072e0
test eax, eax
jle 0x1400f66fe
mov r8, r12
lea rdx, [rbp + 0xd0]
mov rcx, rbx
call fcn.1401072e0
test eax, eax
jg 0x1400f67ed
mov rcx, rbx
call fcn.140107570
xor eax, eax
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1401e4940
add rsp, 0x3b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
movdqa xmm2, xmmword [0x140206670]
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rbp + r15 + 0x110]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rbp + r15 + 0x110], xmm1
movdqu xmm0, xmmword [rbp + r15 + 0x120]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rbp + r15 + 0x120], xmm1
movdqu xmm0, xmmword [rbp + r15 + 0x130]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rbp + r15 + 0x130], xmm1
movdqu xmm0, xmmword [rbp + r15 + 0x140]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rbp + r15 + 0x140], xmm1
add r15, 0x40
cmp r15, rdi
jb 0x1400f6740
mov r8, rdi
lea rdx, [rbp + 0x110]
mov rcx, rbx
call fcn.1401072e0
test eax, eax
jle 0x1400f66fe
mov r8, r12
lea rdx, [rbp + 0xd0]
mov rcx, rbx
call fcn.1401072e0
test eax, eax
jle 0x1400f66fe
mov rdx, qword [rbp - 0x38]
lea r8, [rsp + 0x68]
mov rcx, rbx
call fcn.140106eb0
test eax, eax
je 0x1400f6812
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400f6812
mov eax, dword [rsp + 0x68]
mov qword [rcx], rax
mov rcx, rbx
call fcn.140107570
mov eax, 1
jmp 0x1400f6708