Function at 0x180005700
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x2f0], rbx
mov rax, qword [0x1801878e0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov qword [rsp + 0x28], r9
mov rdi, r8
mov qword [rsp + 0x60], rdx
mov rbx, qword [rbp + 0x210]
xor esi, esi
mov dword [rsp + 0x58], esi
cmp qword [rbx + 0x18], 0x10
jb 0x180005763
mov rdx, qword [rbx]
jmp 0x180005766
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.18000fbd0
nop
movsxd r12, dword [rbp - 0x80]
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x38], 0
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, [0x1800ca040]
lea rcx, [rsp + 0x38]
call fcn.1800023a0
lea r13, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae r13, qword [rsp + 0x70]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea r15, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae r15, qword [rsp + 0x38]
movzx eax, si
lea rcx, [rbp - 0x70]
mov r8d, 0x100
nop word [rax + rax]
mov byte [rcx], al
inc ax
lea rcx, [rcx + 1]
cmp ax, r8w
jl 0x1800057e0
mov word [rbp + 0x90], 0
xor r11b, r11b
xor r10b, r10b
lea r9, [rbp - 0x70]
mov r14, qword [rsp + 0x30]
nop word [rax + rax]
movzx edx, byte [r9]
movzx eax, r11b
movzx ecx, byte [rax + r15]
add cl, dl
add r10b, cl
movzx eax, r10b
lea rcx, [rbp - 0x70]
add rcx, rax
movzx eax, byte [rcx]
mov byte [r9], al
mov byte [rcx], dl
movzx eax, r11b
inc eax
cdq
idiv r14d
mov r11d, edx
lea r9, [r9 + 1]
sub r8, 1
jne 0x180005810
movzx r10d, byte [rbp + 0x90]
movzx r11d, byte [rbp + 0x91]
mov r9, rsi
test r12d, r12d
mov r14, qword [rsp + 0x28]
jle 0x1800058b2
nop dword [rax]
inc r10b
movzx eax, r10b
lea rdx, [rbp - 0x70]
add rdx, rax
movzx r8d, byte [rdx]
add r11b, r8b
movzx eax, r11b
lea rcx, [rbp - 0x70]
add rcx, rax
movzx eax, byte [rcx]
mov byte [rdx], al
mov byte [rcx], r8b
movzx eax, byte [rdx]
add al, r8b
movzx eax, al
movzx ecx, byte [rbp + rax - 0x70]
xor byte [r9 + r13], cl
inc r9
cmp r9, r12
jl 0x180005870
lea rcx, [rsp + 0x38]
call fcn.180002120
lea eax, [r12 + r12]
mov dword [rsp + 0x30], eax
movsxd rcx, eax
call fcn.18005f60c
mov r15, rax
mov dword [rsp + 0x28], esi
mov rax, qword [rbx + 0x10]
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rcx, qword [rsp + 0x70]
test eax, eax
je 0x1800058fe
lea r9, [rsp + 0x28]
xor r8d, r8d
mov edx, eax
call fcn.18000b790
mov esi, dword [rsp + 0x28]
lea eax, [rsi + 1]
movsxd rcx, eax
call fcn.18005f60c
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x70]
mov r8, qword [rsp + 0x70]
mov r9, qword [rbp - 0x78]
cmp r9, 0x10
cmovae rcx, r8
test edx, edx
je 0x18000593d
lea r9, [rsp + 0x28]
mov r8, rax
call fcn.18000b790
mov r9, qword [rbp - 0x78]
mov r8, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
cmp r9, 0x10
cmovae rcx, r8
test r12d, r12d
je 0x18000595f
lea r9, [rsp + 0x30]
mov r8, r15
mov edx, r12d
call fcn.18000b790
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0xa0]
call fcn.18007f510
lea rcx, [rbp + 0xa0]
call fcn.180005da0
nop
cmp qword [rdi + 0x18], 0x10
jb 0x18000598c
mov rdx, qword [rdi]
jmp 0x18000598f
mov rdx, rdi
lea rcx, [rbp + 0xb0]
call fcn.180007510
mov rcx, rax
mov rdx, r14
call fcn.180007760
mov rcx, rax
mov rdx, r15
call fcn.180007510
lea rcx, [rsp + 0x20]
call fcn.1800143d0
nop
lea rcx, str.Request:
call fcn.180014320
cmp qword [rdi + 0x18], 0x10
jb 0x1800059d2
mov rdi, qword [rdi]
mov rcx, rdi
call fcn.180014320
cmp qword [r14 + 0x18], 0x10
jb 0x1800059e4
mov r14, qword [r14]
mov rcx, r14
call fcn.180014320
cmp qword [rbx + 0x18], 0x10
jb 0x1800059f6
mov rbx, qword [rbx]
mov rcx, rbx
call fcn.180014320
nop
lea rcx, [0x1800ca86c]
call fcn.180014320
nop
mov rcx, r15
call fcn.18005e6b0
mov rbx, qword [rsp + 0x60]
mov rdx, rbx
lea rcx, [rbp + 0xa0]
call fcn.180005c90
nop
lea rcx, [rbp + 0x138]
call fcn.180005cc0
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x138], rax
lea rcx, [rbp + 0x138]
call fcn.1800a3afc
nop
mov rax, qword [rbp - 0x78]
cmp rax, 0x10
jb 0x180005aa8
inc rax
mov rcx, qword [rsp + 0x70]
cmp rax, 0x1000
jb 0x180005aa3
test cl, 0x1f
je 0x180005a76
call fcn.18008185c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180005a85
call fcn.18008185c
int3
sub rcx, rax
cmp rcx, 8
jae 0x180005a94
call fcn.18008185c
int3
cmp rcx, 0x27
jbe 0x180005aa0
call fcn.18008185c
int3
mov rcx, rax
call fcn.18005e5ac
mov rax, rbx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.18005ef00
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret