Function at 0x14025fe80
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.140261900
sub rsp, rax
mov rax, qword [0x1403dc468]
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 0x1402607b6
call fcn.1401460b0
mov rcx, rax
call fcn.140142870
mov ecx, eax
cmp eax, 0x2a1
jg 0x140260018
je 0x14025ffda
cmp eax, 4
je 0x14025ff9c
cmp eax, edi
je 0x14025ff6d
cmp eax, 0x2a0
jne 0x140260025
lea rcx, [rbp - 0x20]
call fcn.140158db0
test eax, eax
jle 0x1402607b6
mov r12d, 0x20
lea rcx, [0x140260a30]
mov qword [rsp + 0x30], r12
lea rax, [0x140158e20]
jmp 0x140260096
lea rcx, [rbp - 0x20]
call fcn.140158820
test eax, eax
jle 0x1402607b6
mov r12d, shutdown
lea rcx, [0x1402609a0]
mov qword [rsp + 0x30], r12
lea rax, [0x140158880]
jmp 0x140260096
lea rcx, [rbp - 0x20]
call fcn.14015a200
test eax, eax
jle 0x1402607b6
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, [0x140260920]
lea rax, [0x14015a250]
jmp 0x140260096
lea rcx, [rbp - 0x20]
call fcn.140158fa0
test eax, eax
jle 0x1402607b6
mov r12d, 0x30
lea rax, [0x140260b10]
mov qword [rsp + 0x40], rax
lea rax, [0x1401599f0]
mov qword [rsp + 0x30], r12
lea edi, [r12 + 0x50]
lea r13d, [r12 - 0x20]
jmp 0x14026009b
sub ecx, 0x2a2
je 0x140260066
cmp ecx, 1
je 0x14026003a
test rsi, rsi
je 0x1402607b6
mov qword [rsi], 0
jmp 0x1402607b6
lea rcx, [rbp - 0x20]
call fcn.140158a00
test eax, eax
jle 0x1402607b6
mov r12d, 0x1c
lea rcx, [0x140260a30]
mov qword [rsp + 0x30], r12
lea rax, [0x140158e20]
jmp 0x140260096
lea rcx, [rbp - 0x20]
call fcn.140159960
test eax, eax
jle 0x1402607b6
mov r12, rdi
mov qword [rsp + 0x30], rdi
mov edi, 0x80
lea rcx, [0x140260b10]
lea rax, [0x1401599f0]
lea r13d, [rdi - 0x70]
mov qword [rsp + 0x40], rcx
movzx r11d, byte [rbp + 0x348]
mov esi, ntohs
mov qword [rsp + 0x28], rax
test r11b, r11b
je 0x1402600c8
mov rsi, qword [rbp + 0x340]
mov r9d, 2
add rsi, 0xb
add rsi, r14
jmp 0x1402600db
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 0x140260153
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 0x14026022f
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 0x1402607b6
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp + 0x110]
mov r8, rax
call sub.VCRUNTIME140.dll_memcpy
movdqa xmm2, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj_]
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 0x1402601b3
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 0x14026029d
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 0x1402602d4
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 0x14026040d
cmp byte [rbp + 0x348], r15b
je 0x140260389
cmp rsi, rdi
jbe 0x1402607b6
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 0x14026040d
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 0x140260374
jmp 0x140260405
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 0x14026040d
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 0x1402603f2
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 0x140260716
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 0x140260546
mov rax, qword [rsp + 0x50]
jmp 0x14026055d
mov rax, qword [rbp + 0x330]
add rax, rsi
cmp rbx, rax
jae 0x140260562
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 0x1402605df
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 0x140260537
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 0x1402606cf
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 0x140260636
cmp rcx, r12
jae 0x1402606ee
movzx eax, byte [rbp + rcx + 0x210]
and al, r14b
or byte [rbp + rcx + 0xd0], al
inc rcx
cmp rcx, r12
jb 0x1402606d4
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 0x1402604d0
movaps xmm6, xmmword [rsp + 0x3a0]
call fcn.1401422e0
mov rbx, rax
test rax, rax
je 0x1402607ae
mov rcx, qword [rbp - 0x40]
call fcn.1401460b0
mov rdx, rax
xor r8d, r8d
mov rcx, rbx
call fcn.140141dc0
test eax, eax
jle 0x1402607ae
cmp byte [rbp + 0x348], 0
je 0x1402607db
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.140142010
test eax, eax
jle 0x1402607ae
mov r8, rdi
lea rdx, [rbp + 0x110]
mov rcx, rbx
call fcn.140142010
test eax, eax
jle 0x1402607ae
mov r8, r12
lea rdx, [rbp + 0xd0]
mov rcx, rbx
call fcn.140142010
test eax, eax
jg 0x14026089d
mov rcx, rbx
call fcn.1401422a0
xor eax, eax
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.140260d10
add rsp, 0x3b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
movdqa xmm2, xmmword [0x1402a0ab0]
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 0x1402607f0
mov r8, rdi
lea rdx, [rbp + 0x110]
mov rcx, rbx
call fcn.140142010
test eax, eax
jle 0x1402607ae
mov r8, r12
lea rdx, [rbp + 0xd0]
mov rcx, rbx
call fcn.140142010
test eax, eax
jle 0x1402607ae
mov rdx, qword [rbp - 0x38]
lea r8, [rsp + 0x68]
mov rcx, rbx
call fcn.140141be0
test eax, eax
je 0x1402608c2
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1402608c2
mov eax, dword [rsp + 0x68]
mov qword [rcx], rax
mov rcx, rbx
call fcn.1401422a0
mov eax, 1
jmp 0x1402607b8