Function at 0x1800250a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180067008]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rdx
mov rbx, rcx
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp - 0x49]
call fcn.180037440
xor edi, edi
mov word [rbp - 0x3b], di
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x39], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x29], xmm1
movdqa xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rdi
mov qword [rbp - 1], 0x400
mov dword [rbp + 7], edi
mov qword [rbp + 0xf], rdi
lea ecx, [rdi + 0x28]
call fcn.180033e94
mov qword [rsp + 0x28], rax
mov qword [rax], rdi
mov qword [rax + 8], 0x10000
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], rdi
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
mov qword [rsi], rdi
cmp qword [rbx + 0x18], 0x10
jb 0x180025151
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x49]
call fcn.1800257f0
cmp dword [rbp + 7], 0
jne 0x1800253bc
movups xmm0, xmmword [0x180059e78]
movups xmmword [rbp + 0x17], xmm0
movzx eax, word [0x180059e88]
mov word [rbp + 0x27], ax
movzx eax, byte [0x180059e8a]
mov byte [rbp + 0x29], al
mov ecx, select
nop dword [rax + rax]
movzx eax, byte [rbp + rcx + 0x16]
xor byte [rbp + rcx + 0x17], al
dec rcx
test rcx, rcx
jg 0x1800251a0
xor byte [rbp + 0x17], 0xb2
cmp word [rbp - 0x3b], 3
jne 0x1800253b4
mov ebx, dword [rbp - 0x49]
shl rbx, 5
mov rax, qword [rbp - 0x41]
movabs r12, 0xffffffffffff
and rax, r12
add rbx, rax
lea r8, [rbp + 0x17]
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x49]
call fcn.180025520
cmp qword [rax], rbx
je 0x1800253b4
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov r14d, 0x405
mov word [rsp + 0x36], r14w
mov rax, qword [rsp + 0x30]
movabs r15, 0xffff000000000000
and rax, r15
lea rcx, [rbp + 0x17]
or rax, rcx
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x17]
or rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x180025237
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x49]
call fcn.1800256b0
cmp word [rax + 0xe], 4
jne 0x1800253af
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov word [rsp + 0x36], r14w
mov rax, qword [rsp + 0x30]
and rax, r15
lea rcx, [rbp + 0x17]
or rax, rcx
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x17]
mov rax, rbx
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x180025290
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x49]
call fcn.1800256b0
cmp dword [rax], 0
jbe 0x1800253af
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov word [rsp + 0x36], r14w
mov rax, qword [rsp + 0x30]
and rax, r15
lea rcx, [rbp + 0x17]
or rax, rcx
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x17]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x1800252e1
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x49]
call fcn.1800256b0
mov rdx, qword [rax + 8]
and rdx, r12
mov eax, 0x1000
test word [rdx + 0xe], ax
jne 0x180025315
mov rdx, qword [rdx + 8]
and rdx, r12
mov qword [rbp - 0x59], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x61], rdi
mov byte [rbp - 0x71], 0
cmp byte [rdx], 0
jne 0x180025330
mov rbx, rdi
jmp 0x180025339
inc rbx
cmp byte [rdx + rbx], 0
jne 0x180025330
mov r8, rbx
lea rcx, [rbp - 0x71]
call fcn.1800020b0
nop
mov r9d, 1
xor r8d, r8d
lea rdx, [0x180058d90]
lea rcx, [rbp - 0x71]
call fcn.18000de20
cmp rax, 0xffffffffffffffff
jne 0x180025370
lea rcx, [rbp - 0x71]
call fcn.180001e50
jmp 0x1800253bc
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x71]
call fcn.18000be20
cmp qword [rax + 0x18], 0x10
jb 0x18002538e
mov rax, qword [rax]
mov rcx, rax
call fcn.18003b8f8
mov qword [rsi], rax
lea rcx, [rsp + 0x28]
call fcn.180001e50
nop
lea rcx, [rbp - 0x71]
call fcn.180001e50
jmp 0x1800253b7
mov qword [rsi], rbx
jmp 0x1800253b7
mov qword [rsi], rdi
mov edi, 1
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1800253ca
call fcn.1800254b0
mov rcx, qword [rbp - 0x19]
call fcn.18003bf08
mov edx, 1
mov rcx, qword [rbp - 0x21]
call fcn.180033ed8
mov eax, edi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.180033e70
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret