Function at 0x140025cd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
push rbp
push r14
lea rbp, [rsp - 0x68]
sub rsp, 0x168
xor r14d, r14d
mov r11d, edx
mov r10, rcx
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
nop word [rax + rax]
mov eax, dword [rcx]
add rcx, 4
inc dword [rsp + rax*4 + 0x20]
dec edx
jne 0x140025d20
cmp dword [rsp + 0x20], r11d
jne 0x140025d56
mov rax, qword [rbp + 0xa8]
mov qword [rax], r14
mov rax, qword [rbp + 0xb0]
mov dword [rax], r14d
xor eax, eax
add rsp, 0x168
pop r14
pop rbp
ret
mov r8, qword [rbp + 0xb0]
mov qword [rsp + 0x158], rsi
mov qword [rsp + 0x140], r13
mov esi, dword [r8]
mov qword [rsp + 0x138], r15
mov ecx, 1
nop dword [rax]
mov eax, ecx
cmp dword [rsp + rax*4 + 0x20], r14d
jne 0x140025d90
inc ecx
cmp ecx, 0xf
jbe 0x140025d80
cmp esi, ecx
mov r13d, ecx
mov edx, reloc.WSOCK32.dll_ntohs
cmovb esi, ecx
lea rax, [rsp + 0x5c]
cmp dword [rax], r14d
jne 0x140025daf
sub rax, 4
dec edx
jne 0x140025da2
cmp esi, edx
mov dword [rbp + 0x88], edx
cmova esi, edx
mov dword [r8], esi
mov r8d, 1
shl r8d, cl
cmp ecx, edx
jae 0x140025de2
nop word [rax + rax]
mov eax, ecx
sub r8d, dword [rsp + rax*4 + 0x20]
js 0x140025df2
inc ecx
add r8d, r8d
cmp ecx, edx
jb 0x140025dd0
mov ecx, edx
mov eax, dword [rsp + rcx*4 + 0x20]
sub r8d, eax
mov dword [rsp + 0x14], r8d
jns 0x140025dfc
mov eax, 0xfffffffd
jmp 0x140026156
add eax, r8d
dec edx
mov qword [rsp + 0x160], rbx
mov qword [rsp + 0x150], rdi
mov dword [rsp + rcx*4 + 0x20], eax
mov dword [rsp + 0x74], r14d
mov ecx, r14d
mov qword [rsp + 0x148], r12
je 0x140025e40
mov rax, r14
nop word [rax + rax]
add ecx, dword [rsp + rax + 0x24]
add rax, 4
dec edx
mov dword [rsp + rax + 0x74], ecx
jne 0x140025e30
mov r15, qword [rbp + 0xc8]
mov edx, r14d
nop word [rax + rax]
mov eax, dword [r10]
add r10, 4
test eax, eax
je 0x140025e6b
mov ecx, eax
mov eax, dword [rsp + rax*4 + 0x70]
mov dword [r15 + rax*4], edx
inc eax
mov dword [rsp + rcx*4 + 0x70], eax
inc edx
cmp edx, r11d
jb 0x140025e50
movsxd r15, dword [rbp + 0x88]
mov rdx, qword [rbp + 0xc8]
or r12, 0xffffffffffffffff
mov eax, dword [rsp + r15*4 + 0x70]
mov r11d, esi
mov ebx, r14d
neg r11d
mov dword [rsp + 0x70], r14d
mov qword [rsp + 8], rdx
mov dword [rsp + 0x10], eax
mov qword [rbp - 0x50], r14
mov r9, r14
mov r10d, r14d
mov rdi, r12
cmp r13d, r15d
jg 0x14002612a
nop word [rax + rax]
movsxd rax, r13d
lea rax, [rsp + rax*4 + 0x20]
mov qword [rsp + 0x60], rax
mov r15d, dword [rax]
test r15d, r15d
je 0x140026112
lea r8d, [r15 + 1]
nop dword [rax]
dec r8d
lea ecx, [r11 + rsi]
dec r15d
mov dword [rbp + 0x80], r8d
cmp r13d, ecx
jle 0x140026010
mov eax, esi
neg eax
lea r14d, [rax + rax]
nop word [rax + rax]
mov r9d, dword [rbp + 0x88]
inc r12d
inc rdi
sub r9d, ecx
mov r11d, ecx
mov ecx, r13d
cmp r9d, esi
mov edx, 1
cmova r9d, esi
sub ecx, r11d
shl edx, cl
cmp edx, r8d
jbe 0x140025f77
mov r8, qword [rsp + 0x60]
or eax, 0xffffffff
sub eax, r15d
add edx, eax
cmp ecx, r9d
jae 0x140025f77
inc ecx
cmp ecx, r9d
jae 0x140025f77
nop word [rax + rax]
mov eax, dword [r8 + 4]
add r8, 4
add edx, edx
cmp edx, eax
jbe 0x140025f77
inc ecx
sub edx, eax
cmp ecx, r9d
jb 0x140025f60
mov r8, qword [rbp + 0xc0]
mov r10d, 1
mov eax, dword [r8]
shl r10d, cl
lea edx, [rax + r10]
cmp edx, 0x5a0
ja 0x140026179
mov r9, qword [rbp + 0xb8]
mov dword [r8], edx
lea r9, [r9 + rax*8]
mov qword [rbp + rdi*8 - 0x50], r9
test r12d, r12d
je 0x140025fea
mov rdx, qword [rbp + rdi*8 - 0x58]
mov byte [rsp], cl
mov r8d, ebx
lea ecx, [r14 + r11]
mov rax, r9
mov byte [rsp + 1], sil
sub rax, rdx
add ecx, esi
mov dword [rsp + rdi*4 + 0x70], ebx
shr r8d, cl
sar rax, 3
sub eax, r8d
mov dword [rsp + 4], eax
mov rax, qword [rsp]
mov qword [rdx + r8*8], rax
jmp 0x140025ff4
mov rax, qword [rbp + 0xa8]
mov qword [rax], r9
mov r8d, dword [rbp + 0x80]
lea ecx, [r11 + rsi]
cmp r13d, ecx
jg 0x140025f10
mov rdx, qword [rsp + 8]
xor r14d, r14d
mov rcx, qword [rbp + 0xc8]
movzx eax, r13b
sub al, r11b
mov byte [rsp + 1], al
mov eax, dword [rsp + 0x10]
lea rcx, [rcx + rax*4]
cmp rdx, rcx
jb 0x140026035
mov byte [rsp], 0xc0
jmp 0x140026082
mov ecx, dword [rdx]
mov eax, dword [rbp + 0x90]
cmp ecx, eax
jae 0x140026059
mov eax, 0x60
cmp ecx, 0x100
mov dword [rsp + 4], ecx
cmovb eax, r14d
mov byte [rsp], al
jmp 0x140026079
sub ecx, eax
mov rax, qword [rbp + 0xa0]
movzx eax, byte [rax + rcx*4]
add al, 0x50
mov byte [rsp], al
mov rax, qword [rbp + 0x98]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 4], eax
add rdx, 4
mov qword [rsp + 8], rdx
mov ecx, r13d
mov r8d, 1
mov edx, ebx
sub ecx, r11d
shl r8d, cl
mov ecx, r11d
shr edx, cl
cmp edx, r10d
jae 0x1400260ad
mov rax, qword [rsp]
mov qword [r9 + rdx*8], rax
add edx, r8d
cmp edx, r10d
jb 0x1400260a1
lea ecx, [r13 - 1]
mov eax, 1
shl eax, cl
test ebx, eax
je 0x1400260c8
nop dword [rax]
xor ebx, eax
shr eax, 1
test ebx, eax
jne 0x1400260c0
xor ebx, eax
mov ecx, r11d
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
cmp eax, dword [rsp + rdi*4 + 0x70]
je 0x1400260fd
nop
sub r11d, esi
mov eax, 1
dec rdi
mov ecx, r11d
dec r12d
shl eax, cl
dec eax
and eax, ebx
cmp eax, dword [rsp + rdi*4 + 0x70]
jne 0x1400260e0
mov rdx, qword [rsp + 8]
mov r8d, dword [rbp + 0x80]
test r15d, r15d
jne 0x140025ee0
mov r15d, dword [rbp + 0x88]
inc r13d
cmp r13d, r15d
jle 0x140025ec0
mov r8d, dword [rsp + 0x14]
test r8d, r8d
je 0x14002613b
cmp r15d, 1
je 0x14002613b
mov r14d, 0xfffffffb
mov eax, r14d
mov rdi, qword [rsp + 0x150]
mov r12, qword [rsp + 0x148]
mov rbx, qword [rsp + 0x160]
mov rsi, qword [rsp + 0x158]
mov r13, qword [rsp + 0x140]
mov r15, qword [rsp + 0x138]
add rsp, 0x168
pop r14
pop rbp
ret
mov eax, 0xfffffffd
jmp 0x14002613e