Function at 0x18033b050
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r13
push r14
mov eax, 0x100
call fcn.1802cf310
sub rsp, rax
mov rax, qword [0x18058aed8]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rsi, qword [rsp + 0x150]
mov r14, rcx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x48], r8
mov rbx, r9
mov qword [rsp + 0x50], rdx
mov rdi, r8
xor r13d, r13d
call fcn.1803117d0
test rbx, rbx
mov rcx, rdi
cmove rbx, rdi
mov qword [rsp + 0x40], rbx
call fcn.1802f47e0
mov dword [rsp + 0x30], eax
mov edi, eax
test eax, eax
js 0x18033b4dc
mov qword [rsp + 0xf8], rbp
mov ebp, dword [rsp + 0x158]
cmp ebp, 0xffffffff
jne 0x18033b13d
mov ebp, eax
mov rcx, qword [r14 + 0x18]
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0xe8], r15
call fcn.1802ccec0
mov rcx, r14
lea r15d, [rax - 1]
and r15d, 7
call fcn.1802cec80
mov r12d, 0xff
mov ecx, r15d
mov edx, r12d
mov r8d, eax
shl edx, cl
test byte [rsi], dl
je 0x18033b16d
lea r9, [0x1805a9338]
mov dword [rsp + 0x20], 0x76
lea r8d, [r12 - 0x7a]
mov ecx, 4
lea edx, [r12 - 0x6a]
call fcn.1802d4eb0
jmp 0x18033b4c4
cmp ebp, 0xfffffffe
jne 0x18033b144
jmp 0x18033b0d7
jge 0x18033b0d7
mov edx, 0x95
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSAGetLastError
lea r9, [0x1805a9320]
mov ecx, 4
lea r8d, [rdx - 0xd]
call fcn.1802d4eb0
jmp 0x18033b4d4
test r15d, r15d
jne 0x18033b175
dec r8d
test r15d, r15d
lea rbx, [rsi + 1]
lea eax, [rdi + 2]
cmovne rbx, rsi
cmp r8d, eax
jge 0x18033b199
mov dword [rsp + 0x20], 0x7e
lea r9, [0x1805a9350]
jmp 0x18033b1b4
mov esi, r8d
sub esi, edi
lea eax, [rsi - 2]
cmp ebp, eax
jle 0x18033b1cc
mov dword [rsp + 0x20], 0x82
lea r9, [0x1805a9368]
mov r8d, WSAGetLastError
lea ecx, [r8 - 0x69]
lea edx, [r8 + 0x28]
call fcn.1802d4eb0
jmp 0x18033b4c4
movsxd rax, r8d
cmp byte [rax + rbx - 1], 0xbc
je 0x18033b1fd
mov edx, 0x95
mov dword [rsp + 0x20], 0x86
lea r9, [0x1805a9380]
mov ecx, 4
lea r8d, [rdx - 0xf]
call fcn.1802d4eb0
jmp 0x18033b4c4
dec esi
lea rdx, [0x1805a9398]
movsxd r14, esi
mov r8d, 0x8b
mov ecx, esi
lea rax, [r14 + rbx]
mov qword [rsp + 0x38], rax
call fcn.1802d45a0
mov rdi, rax
test rax, rax
jne 0x18033b24c
lea r9, [0x1805a93b0]
mov dword [rsp + 0x20], 0x8d
mov edx, 0x95
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
call fcn.1802d4eb0
jmp 0x18033b4c4
mov rax, qword [rsp + 0x40]
mov edx, esi
mov r9d, dword [rsp + 0x30]
mov rcx, rdi
mov r8, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
call fcn.1802fa270
test eax, eax
js 0x18033b4bc
mov r8d, r13d
test esi, esi
jle 0x18033b323
cmp esi, 0x40
jb 0x18033b323
lea eax, [rsi - 1]
movsxd rcx, eax
lea rax, [rcx + rbx]
lea rdx, [rcx + rdi]
cmp rdi, rax
ja 0x18033b2a2
cmp rdx, rbx
jae 0x18033b323
mov ecx, esi
and ecx, 0x8000003f
jge 0x18033b2b3
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, esi
mov rdx, rbx
sub eax, ecx
mov rcx, rdi
movsxd r9, eax
sub rdx, rdi
movdqu xmm0, xmmword [rcx]
add r8d, 0x40
movdqu xmm1, xmmword [rcx + rdx]
pxor xmm1, xmm0
movdqu xmmword [rcx], xmm1
movdqu xmm0, xmmword [rcx + 0x10]
movdqu xmm1, xmmword [rcx + rdx + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmm0, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + rdx + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x20], xmm1
movdqu xmm0, xmmword [rcx + 0x30]
movdqu xmm1, xmmword [rcx + rdx + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x30], xmm1
add rcx, 0x40
mov rax, rcx
sub rax, rdi
cmp rax, r9
jl 0x18033b2c3
movsxd rax, r8d
cmp rax, r14
jge 0x18033b350
sub rbx, rdi
lea rcx, [rax + rdi]
sub r14, rax
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r14, 1
jne 0x18033b340
movzx edx, byte [rdi]
test r15d, r15d
je 0x18033b36b
mov ecx, 8
sub ecx, r15d
sar r12d, cl
and r12b, dl
mov byte [rdi], r12b
jmp 0x18033b36f
movzx r12d, dl
mov ebx, r13d
test r12b, r12b
jne 0x18033b38e
lea ecx, [rsi - 1]
mov rax, rdi
nop dword [rax]
cmp ebx, ecx
jge 0x18033b38e
inc rax
inc ebx
cmp byte [rax], r13b
je 0x18033b380
movsxd rax, ebx
inc ebx
cmp byte [rax + rdi], 1
je 0x18033b3c0
mov edx, 0x95
mov dword [rsp + 0x20], 0x98
lea r9, [0x1805a93c8]
mov ecx, 4
lea r8d, [rdx - 0xe]
call fcn.1802d4eb0
jmp 0x18033b4bc
sub esi, ebx
test ebp, ebp
js 0x18033b3f1
cmp esi, ebp
je 0x18033b3f1
mov edx, 0x95
mov dword [rsp + 0x20], 0x9c
lea r9, [0x1805a93e0]
mov ecx, 4
lea r8d, [rdx - 0xd]
call fcn.1802d4eb0
jmp 0x18033b4bc
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x58]
xor r8d, r8d
call fcn.180311b00
test eax, eax
je 0x18033b4bc
mov r8d, 8
lea rdx, [0x180473ab0]
lea rcx, [rsp + 0x58]
call fcn.180311d50
test eax, eax
je 0x18033b4bc
movsxd rbp, dword [rsp + 0x30]
lea rcx, [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov r8, rbp
call fcn.180311d50
test eax, eax
je 0x18033b4bc
test esi, esi
je 0x18033b460
movsxd rdx, ebx
lea rcx, [rsp + 0x58]
add rdx, rdi
movsxd r8, esi
call fcn.180311d50
test eax, eax
je 0x18033b4bc
xor r8d, r8d
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.180311d70
test eax, eax
je 0x18033b4bc
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x90]
mov r8, rbp
call fcn.18034b320
test eax, eax
je 0x18033b4b6
mov edx, 0x95
mov dword [rsp + 0x20], 0xaa
lea r9, [0x1805a93f8]
mov ecx, 4
lea r8d, [rdx - 0x2d]
call fcn.1802d4eb0
jmp 0x18033b4bc
mov r13d, 1
mov rcx, rdi
call fcn.1802d4650
mov r12, qword [rsp + 0xf0]
mov r15, qword [rsp + 0xe8]
mov rbp, qword [rsp + 0xf8]
lea rcx, [rsp + 0x58]
call fcn.1803117f0
mov eax, r13d
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1802d6020
add rsp, 0x100
pop r14
pop r13
pop rdi
pop rsi
pop rbx
ret