Function at 0x1800733a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1801eab50]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov edi, 1
mov rbx, rcx
mov dword [rcx], edi
cmp edx, 2
jbe 0x1800733d0
lea eax, [rdi - 2]
jmp 0x180073641
mov dword [rcx + 4], edx
cmp r8d, edi
jbe 0x1800733e2
mov eax, 0xfffffffe
jmp 0x180073641
mov dword [rcx + 8], r8d
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x180073461
movzx eax, byte [rcx]
mov byte [rbx + 0xc], al
movzx eax, byte [rcx + 1]
mov byte [rbx + 0xd], al
movzx eax, byte [rcx + 2]
mov byte [rbx + 0xe], al
movzx eax, byte [rcx + 3]
mov byte [rbx + 0xf], al
movzx eax, byte [rcx + 4]
mov byte [rbx + 0x10], al
movzx eax, byte [rcx + 5]
mov byte [rbx + 0x11], al
movzx eax, byte [rcx + 6]
mov byte [rbx + 0x12], al
movzx eax, byte [rcx + 7]
mov byte [rbx + 0x13], al
movzx eax, byte [rcx + 8]
mov byte [rbx + 0x14], al
movzx eax, byte [rcx + 9]
mov byte [rbx + 0x15], al
movzx eax, byte [rcx + 0xa]
mov byte [rbx + 0x16], al
movzx eax, byte [rcx + 0xb]
mov byte [rbx + 0x17], al
movzx eax, byte [rcx + 0xc]
mov byte [rbx + 0x18], al
movzx eax, byte [rcx + 0xd]
mov byte [rbx + 0x19], al
movzx eax, byte [rcx + 0xe]
mov byte [rbx + 0x1a], al
movzx eax, byte [rcx + 0xf]
jmp 0x18007347c
mov qword [rbx + 0xc], 0
xor al, al
mov dword [rbx + 0x14], 0
mov word [rbx + 0x18], 0
mov byte [rbx + 0x1a], 0
mov ecx, dword [rsp + 0x80]
mov byte [rbx + 0x1b], al
test ecx, ecx
je 0x1800734ba
sub ecx, edi
je 0x1800734ab
cmp ecx, edi
je 0x18007349c
mov eax, 0xfffffffd
jmp 0x180073641
mov dword [rbx + 0x1c], select
mov r10d, 0x20
jmp 0x1800734c7
mov dword [rbx + 0x1c], select
mov r10d, 0x18
jmp 0x1800734c7
mov dword [rbx + 0x1c], 0xa
mov r10d, reloc.WS2_32.dll_recv
test r9, r9
jne 0x1800734d5
lea eax, [r9 - 4]
jmp 0x180073641
xor r8d, r8d
nop dword [rax + rax]
mov rax, r8
lea rcx, [rsp + 0x20]
and eax, 3
lea r9, [r9 + 1]
add rcx, rax
mov rdx, r8
movzx eax, byte [r9 - 1]
inc r8
shr rdx, 2
mov byte [rcx + rdx*4], al
sub r10, rdi
jne 0x1800734e0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180073660
cmp dword [rbx + 8], edi
jne 0x180073639
cmp dword [rbx + 0x1c], edi
jbe 0x180073639
lea r10, [0x180000000]
nop
mov r9d, edi
inc edi
lea r8, [r9 + 2]
add r9, r9
shl r8, 4
add r8, rbx
movzx ecx, byte [r8 + 3]
movzx eax, byte [r8 + 2]
mov edx, dword [r10 + rcx*4 + 0x1ea6a0]
xor edx, dword [r10 + rax*4 + 0x1ea2a0]
movzx eax, byte [r8 + 1]
xor edx, dword [r10 + rax*4 + 0x1e9ea0]
movzx eax, byte [r8]
xor edx, dword [r10 + rax*4 + 0x1e9aa0]
mov dword [r8], edx
movzx ecx, byte [rbx + r9*8 + 0x27]
movzx eax, byte [rbx + r9*8 + 0x26]
mov edx, dword [r10 + rcx*4 + 0x1ea6a0]
xor edx, dword [r10 + rax*4 + 0x1ea2a0]
movzx eax, byte [rbx + r9*8 + 0x25]
xor edx, dword [r10 + rax*4 + 0x1e9ea0]
movzx eax, byte [rbx + r9*8 + 0x24]
xor edx, dword [r10 + rax*4 + 0x1e9aa0]
mov dword [rbx + r9*8 + 0x24], edx
movzx ecx, byte [rbx + r9*8 + 0x2b]
movzx eax, byte [rbx + r9*8 + 0x2a]
mov edx, dword [r10 + rcx*4 + 0x1ea6a0]
xor edx, dword [r10 + rax*4 + 0x1ea2a0]
movzx eax, byte [rbx + r9*8 + 0x29]
xor edx, dword [r10 + rax*4 + 0x1e9ea0]
movzx eax, byte [rbx + r9*8 + 0x28]
xor edx, dword [r10 + rax*4 + 0x1e9aa0]
mov dword [rbx + r9*8 + 0x28], edx
movzx eax, byte [rbx + r9*8 + 0x2e]
movzx ecx, byte [rbx + r9*8 + 0x2f]
mov edx, dword [r10 + rcx*4 + 0x1ea6a0]
xor edx, dword [r10 + rax*4 + 0x1ea2a0]
movzx eax, byte [rbx + r9*8 + 0x2d]
xor edx, dword [r10 + rax*4 + 0x1e9ea0]
movzx eax, byte [rbx + r9*8 + 0x2c]
xor edx, dword [r10 + rax*4 + 0x1e9aa0]
mov dword [rbx + r9*8 + 0x2c], edx
cmp edi, dword [rbx + 0x1c]
jb 0x180073530
mov dword [rbx], 0
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18015fd80
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret