Function at 0x180052960
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbx
push rdi
push r14
sub rsp, 0x60
movdqa xmm0, xmmword [0x1800fb500]
mov rbx, rcx
movdqa xmm1, xmmword [0x1800fb2a0]
movdqu xmmword [rax - 0x58], xmm0
mov qword [rax + 0x10], rbp
movdqu xmmword [rax - 0x48], xmm1
mov dword [rax - 0x38], 0xc3b7b4e5
mov dword [rax - 0x34], 0xb8ddd1c2
mov qword [rsp + 0x50], rcx
xor ecx, ecx
mov word [rax - 0x30], 0x100
mov qword [rax + 0x18], rsi
nop dword [rax + rax]
lea eax, [rcx + 0x73]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0x28
jb 0x1800529b0
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x98], r15
mov rcx, rbx
mov byte [rsp + 0x49], 0
call fcn.180050ef0
mov rbp, qword [rbx + 0x18]
cmp rbp, 0x10
jb 0x1800529fc
mov r9, qword [rbx]
lea r15, [rbx + 0x10]
mov rdi, r9
mov rsi, r9
add rdi, qword [r15]
mov r14, r15
add rsi, qword [r15]
jmp 0x180052a12
mov rax, qword [rbx + 0x10]
lea r14, [rbx + 0x10]
mov r15, r14
mov r9, rbx
lea rsi, [rax + rbx]
lea rdi, [rax + rbx]
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_32
sub r8, r9
mov rcx, r9
call sub.VCRUNTIME140.dll_memchr
test rax, rax
mov rcx, rdi
cmovne rcx, rax
mov rdx, rcx
cmp rcx, rdi
je 0x180052a58
inc rcx
cmp rcx, rdi
je 0x180052a58
nop
movzx eax, byte [rcx]
cmp al, 0x20
je 0x180052a4c
mov byte [rdx], al
inc rdx
inc rcx
cmp rcx, rdi
jne 0x180052a40
mov rbp, qword [rbx + 0x18]
sub rsi, rdx
cmp rbp, 0x10
jb 0x180052a6c
sub rdx, qword [rbx]
mov r8, qword [r15]
mov rcx, qword [rbx]
jmp 0x180052a75
mov r8, qword [r14]
sub rdx, rbx
mov rcx, rbx
mov rax, r8
sub rax, rdx
cmp rax, rsi
cmovb rsi, rax
add rcx, rdx
sub r8, rsi
mov qword [r14], r8
sub r8, rdx
inc r8
lea rdx, [rcx + rsi]
call sub.VCRUNTIME140.dll_memmove
mov rbp, qword [rbx + 0x18]
cmp rbp, 0x10
jb 0x180052ab5
mov r9, qword [rbx]
mov rdi, r9
mov rsi, r9
add rdi, qword [r15]
add rsi, qword [r15]
jmp 0x180052ac3
mov rax, qword [r14]
mov r9, rbx
lea rsi, [rax + rbx]
lea rdi, [rax + rbx]
mov r8, rdi
mov edx, 0xa
sub r8, r9
mov rcx, r9
call sub.VCRUNTIME140.dll_memchr
test rax, rax
mov rcx, rdi
cmovne rcx, rax
mov rdx, rcx
cmp rcx, rdi
je 0x180052b08
inc rcx
cmp rcx, rdi
je 0x180052b08
movzx eax, byte [rcx]
cmp al, 0xa
je 0x180052afc
mov byte [rdx], al
inc rdx
inc rcx
cmp rcx, rdi
jne 0x180052af0
mov rbp, qword [rbx + 0x18]
sub rsi, rdx
cmp rbp, 0x10
jb 0x180052b1c
sub rdx, qword [rbx]
mov r8, qword [r15]
mov rcx, qword [rbx]
jmp 0x180052b25
mov r8, qword [r14]
sub rdx, rbx
mov rcx, rbx
mov rax, r8
sub rax, rdx
cmp rax, rsi
cmovb rsi, rax
add rcx, rdx
sub r8, rsi
mov qword [r14], r8
sub r8, rdx
inc r8
lea rdx, [rcx + rsi]
call sub.VCRUNTIME140.dll_memmove
mov rbp, qword [rbx + 0x18]
cmp rbp, 0x10
jb 0x180052b65
mov r9, qword [rbx]
mov rsi, r9
mov rdi, r9
add rsi, qword [r15]
add rdi, qword [r15]
jmp 0x180052b73
mov rax, qword [r14]
mov r9, rbx
lea rdi, [rax + rbx]
lea rsi, [rax + rbx]
mov r8, rsi
mov edx, reloc.WS2_32.dll_listen
sub r8, r9
mov rcx, r9
call sub.VCRUNTIME140.dll_memchr
test rax, rax
mov rcx, rsi
cmovne rcx, rax
mov rdx, rcx
cmp rcx, rsi
je 0x180052bb8
inc rcx
cmp rcx, rsi
je 0x180052bb8
movzx eax, byte [rcx]
cmp al, 0xd
je 0x180052bac
mov byte [rdx], al
inc rdx
inc rcx
cmp rcx, rsi
jne 0x180052ba0
mov rbp, qword [rbx + 0x18]
mov rsi, qword [rsp + 0x90]
sub rdi, rdx
cmp rbp, 0x10
mov rbp, qword [rsp + 0x88]
jb 0x180052bdc
sub rdx, qword [rbx]
mov r8, qword [r15]
mov rcx, qword [rbx]
jmp 0x180052be5
mov r8, qword [r14]
sub rdx, rbx
mov rcx, rbx
mov rax, r8
sub rax, rdx
cmp rax, rdi
cmovb rdi, rax
add rcx, rdx
sub r8, rdi
mov qword [r14], r8
sub r8, rdx
inc r8
lea rdx, [rcx + rdi]
call sub.VCRUNTIME140.dll_memmove
mov r15, qword [rsp + 0x98]
mov rax, rbx
add rsp, 0x60
pop r14
pop rdi
pop rbx
ret