Function at 0x1800f4d50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x1802407e8]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r13, rcx
xor esi, esi
mov dword [rsp + 0x40], esi
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x20]
call fcn.1801a1dc0
lea rcx, [rbp - 0x20]
call fcn.1800d9640
nop
mov rdx, qword [0x1802449e8]
add rdx, 0x40
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1800f4dbf
mov rdx, qword [rdx]
lea rcx, [rbp - 0x20]
call fcn.1800ddf10
mov r15, rax
mov ecx, dword [0x180248ca8]
mov rax, qword gs:[0x58]
mov r14, qword [rax + rcx*8]
mov ecx, 0x5ec
mov eax, dword [rcx + r14]
mov ebx, 0x570
add rbx, r14
test al, 1
jne 0x1800f4e10
or eax, 1
mov dword [rcx + r14], eax
mov word [rbx + 1], 0x173
mov byte [rbx], 0x99
lea rcx, [0x1801e2960]
call fcn.18015cf9c
nop
cmp byte [rbx + 2], 0
je 0x1800f4e21
xor byte [rbx], 0xc5
xor byte [rbx + 1], 0x73
mov byte [rbx + 2], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x1800f4e40
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.1800dd050
nop
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, r15
call fcn.1800ddf10
mov rcx, rax
mov rdx, qword [0x1802449e8]
add rdx, 0x20
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1800f4e92
mov rdx, qword [rdx]
call fcn.1800ddf10
mov r15, rax
movdqa xmm0, xmmword [0x180217510]
movdqa xmm1, xmmword [0x180217540]
mov dword [rbp - 0x30], 0xcea72399
mov dword [rbp - 0x2c], 0x8aabd6e7
mov word [rbp - 0x28], 0x73b6
mov ecx, 0x4c0
mov eax, dword [rcx + r14]
mov edx, 0x518
test al, 1
jne 0x1800f4f38
or eax, 1
mov dword [rcx + r14], eax
lea rbx, [rdx + r14]
mov byte [rbx + 0x2a], 1
lea rax, [rbx + 0x29]
lea rcx, [rbp - 0x27]
cmp rbx, rcx
ja 0x1800f4f10
lea rcx, [rbp - 0x50]
cmp rax, rcx
jb 0x1800f4f10
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbx + 0x20], xmm0
movzx eax, word [rbp - 0x28]
mov word [rbx + 0x28], ax
jmp 0x1800f4f29
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbx + 0x20], xmm0
movzx eax, word [rbp - 0x28]
mov word [rbx + 0x28], ax
lea rcx, [0x1801e2930]
call fcn.18015cf9c
nop
jmp 0x1800f4f3c
lea rbx, [rdx + r14]
cmp byte [rbx + 0x2a], 0
je 0x1800f4ff1
xor byte [rbx], 0xc5
xor byte [rbx + 1], 0x73
xor byte [rbx + 2], 0xd5
xor byte [rbx + 3], 0xa1
xor byte [rbx + 4], 0x81
xor byte [rbx + 5], 0xbf
xor byte [rbx + 6], 0xc7
xor byte [rbx + 7], 0xef
xor byte [rbx + 8], 0xc5
xor byte [rbx + 9], 0x73
xor byte [rbx + 0xa], 0xd5
xor byte [rbx + 0xb], 0xa1
xor byte [rbx + 0xc], 0x81
xor byte [rbx + 0xd], 0xbf
xor byte [rbx + 0xe], 0xc7
xor byte [rbx + 0xf], 0xef
xor byte [rbx + 0x10], 0xc5
xor byte [rbx + 0x11], 0x73
xor byte [rbx + 0x12], 0xd5
xor byte [rbx + 0x13], 0xa1
xor byte [rbx + 0x14], 0x81
xor byte [rbx + 0x15], 0xbf
xor byte [rbx + 0x16], 0xc7
xor byte [rbx + 0x17], 0xef
xor byte [rbx + 0x18], 0xc5
xor byte [rbx + 0x19], 0x73
xor byte [rbx + 0x1a], 0xd5
xor byte [rbx + 0x1b], 0xa1
xor byte [rbx + 0x1c], 0x81
xor byte [rbx + 0x1d], 0xbf
xor byte [rbx + 0x1e], 0xc7
xor byte [rbx + 0x1f], 0xef
xor byte [rbx + 0x20], 0xc5
xor byte [rbx + 0x21], 0x73
xor byte [rbx + 0x22], 0xd5
xor byte [rbx + 0x23], 0xa1
xor byte [rbx + 0x24], 0x81
xor byte [rbx + 0x25], 0xbf
xor byte [rbx + 0x26], 0xc7
xor byte [rbx + 0x27], 0xef
xor byte [rbx + 0x28], 0xc5
xor byte [rbx + 0x29], 0x73
mov byte [rbx + 0x2a], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8, rdi
inc r8
cmp byte [rbx + r8], 0
jne 0x1800f5005
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1800dd050
nop
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
mov rcx, r15
call fcn.1800ddf10
nop
lea rcx, [rsp + 0x20]
call fcn.1800db3e0
nop
lea rcx, [rsp + 0x48]
call fcn.1800db3e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x180216fb0]
movdqu xmmword [rsp + 0x30], xmm1
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x40], 2
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
mov rcx, qword [rbp + 0x58]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1800f50ad
mov rax, qword [rbp + 0x28]
mov r8, qword [rax]
test r8, r8
je 0x1800f50ad
mov rax, qword [rbp + 8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x50]
cmovb r8, qword [rbp + 0x50]
sub r8, rdx
jmp 0x1800f50de
test cl, 4
jne 0x1800f50d4
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test rcx, rcx
je 0x1800f50d4
mov rax, qword [rbp]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x38]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x1800f50de
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x1800f50ee
lea rcx, [rsp + 0x20]
call fcn.1800dc810
nop
lea rbx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rbx, qword [rsp + 0x20]
nop
inc rdi
cmp byte [rbx + rdi], 0
jne 0x1800f5100
call fcn.180179f44
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.1800dead0
nop
lea rcx, [rsp + 0x48]
call fcn.1800df180
movzx ebx, al
lea rcx, [rsp + 0x48]
call fcn.1800e8670
nop
lea rcx, [rsp + 0x20]
call fcn.1800db3e0
test bl, bl
jne 0x1800f515a
mov esi, 1
jmp 0x1800f5286
lea rax, [rsp + 0x20]
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov rcx, rsi
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], cl
mov dword [rsp + 0x40], 0x2d
movups xmmword [rsp + 0x48], xmm0
mov rdx, qword [rbp + 0x58]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x1800f51bb
mov rax, qword [rbp + 0x28]
mov r8, qword [rax]
test r8, r8
je 0x1800f51bb
mov rax, qword [rbp + 8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x50]
cmovb r8, qword [rbp + 0x50]
sub r8, rdx
jmp 0x1800f51ec
test dl, 4
jne 0x1800f51e2
mov rax, qword [rbp + 0x20]
mov r9, qword [rax]
test r9, r9
je 0x1800f51e2
mov rax, qword [rbp]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x38]
movsxd r8, dword [rax]
add r8, r9
sub r8, rdx
jmp 0x1800f51ec
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1800f5200
lea rcx, [rsp + 0x20]
call fcn.1800dc810
mov rcx, qword [rsp + 0x30]
mov r8d, esi
test rcx, rcx
je 0x1800f5240
mov rdx, rsi
nop dword [rax + rax]
mov rax, qword [0x1802449e8]
movzx ecx, word [rax + 0x60]
lea rax, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rax, qword [rsp + 0x20]
xor byte [rdx + rax], cl
inc r8d
lea rdx, [rdx + 1]
movsxd rax, r8d
cmp rax, qword [rsp + 0x30]
jb 0x1800f5210
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x60], xmm1
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.1800db3e0
lea rcx, [r13 + 0x60]
lea rdx, [rbp - 0x70]
call fcn.1800dcc20
lea rcx, [rbp - 0x70]
call fcn.1800db3e0
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x20], rax
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 0x18]
call fcn.1800d9540
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x20], rax
mov rcx, qword [rbp - 0x20]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x10]
mov dword [rbp + rdx - 0x24], r8d
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x68]
call fcn.1801798c8
nop
mov eax, esi
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.18015c7e0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret