Function at 0x180090470
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x180174838]
xor rax, rsp
mov qword [rbp + 8], rax
mov r13, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x58], rdx
lea r12, [rcx + 0x10]
mov rcx, r12
call fcn.18000a6d0
lea rdi, [rbp - 0x13]
mov r8, rbx
movabs r14, 0xcccccccccccccccd
nop word [rax + rax]
dec rdi
mov rax, r14
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [rdi], r8b
mov r8, rdx
test rdx, rdx
jne 0x1800904d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xor r14d, r14d
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
lea rax, [rbp - 0x13]
lea ecx, [rdx + 0x16]
movabs r15, 0x7fffffffffffffff
cmp rdi, rax
jne 0x180090539
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], r14b
jmp 0x1800905c2
lea rsi, [rbp - 0x13]
sub rsi, rdi
cmp rsi, r15
ja 0x1800909a2
cmp rsi, 0x10
jae 0x180090572
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x78]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rsi + 0x78], r14b
jmp 0x1800905c2
mov r14, rsi
or r14, 0xf
cmp r14, r15
jbe 0x180090583
mov r14, r15
jmp 0x18009058a
cmp r14, rcx
cmovb r14, rcx
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x78]
call fcn.18000b500
mov rbx, rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], r14
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rsi], 0
mov rbx, qword [rsp + 0x48]
xor r14d, r14d
mov dword [rsp + 0x60], 0x121c5a5b
mov dword [rsp + 0x64], 0xd1c1810
mov dword [rsp + 0x68], 0xe6f1f6ef
mov dword [rsp + 0x6c], 0x100daf6
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx + 0x78]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0xe
jb 0x1800905f0
mov byte [rsp + 0x6f], 0
mov rdx, qword [r12 + 0x10]
lea rax, [rsp + 0x60]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x180090616
mov rax, r15
sub rax, rdx
cmp rax, rcx
jb 0x1800909a8
mov r9, r12
cmp qword [r12 + 0x18], 0x10
jb 0x18009063d
mov r9, qword [r12]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov r8, r12
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.18000d7c0
nop
lea r9, [rsp + 0x78]
lea r8, [rbp - 0x48]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.18000d5d0
lea rcx, [rbx + 0x30]
lea rdx, [rbp - 0x68]
call fcn.18000a6d0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1800906c6
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800906c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800906c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f5030
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x180090705
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800906ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800906ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f5030
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x180090744
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009073f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009073f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f5030
lea rsi, [rbp + 5]
mov r8, rbx
movabs r9, 0xcccccccccccccccd
nop word [rax + rax]
dec rsi
mov rax, r9
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [rsi], r8b
mov r8, rdx
test rdx, rdx
jne 0x180090760
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
lea rax, [rbp + 5]
cmp rsi, rax
jne 0x1800907b8
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], dl
jmp 0x180090842
lea rdi, [rbp + 5]
sub rdi, rsi
cmp rdi, r15
ja 0x18009099c
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x1800907f1
mov qword [rbp - 0x78], rdi
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x78]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x78], 0
jmp 0x180090842
mov rax, rdi
or rax, 0xf
cmp rax, r15
ja 0x18009080d
mov r15, rax
cmp rax, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb r15, rax
lea rdx, [r15 + 1]
lea rcx, [rsp + 0x78]
call fcn.18000b500
mov rbx, rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], r15
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
mov rbx, qword [rsp + 0x48]
movdqa xmm0, xmmword [0x18012af90]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x70], Ordinal_217
mov byte [rsp + 0x72], 1
mov rcx, r14
nop
lea eax, [rcx + 0x78]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x11
jb 0x180090860
mov byte [rsp + 0x72], 0
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x68]
call fcn.18000bb50
lea rcx, [rbx + 0xe8]
mov rdx, rax
call fcn.18000a6d0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1800908d5
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800908d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800908d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f5030
movdqa xmm0, xmmword [0x180109f10]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x180090926
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180090920
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180090920
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f5030
nop
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x18009095d
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x180090958
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180090995
mov rcx, r8
call fcn.1800f5030
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r13], 0
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1800f5150
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180003050
nop
call fcn.180003050
nop
call fcn.180003050
int3