Function at 0x1800bd490
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 - 0x27]
sub rsp, 0xc0
mov rax, qword [0x180229ec0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x51], rcx
xor r12d, r12d
lea rbx, [rcx + 0x78]
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
cmp rcx, rdx
je 0x1800bd4e6
mov r8, rbx
call fcn.18001a9b0
mov rax, qword [rbx]
mov qword [rbx + 8], rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
mov qword [rbp - 0x31], r12
mov r13, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rbp - 0x59], rax
cmp r13, rax
je 0x1800bd79e
nop word [rax + rax]
mov rdx, r13
lea rcx, [rbp - 9]
call fcn.18000a270
lea rdi, [rbp - 9]
mov r15, qword [rbp + 0xf]
cmp r15, 0xf
seta cl
mov rsi, qword [rbp - 9]
cmova rdi, rsi
lea r14, [rbp - 9]
test cl, cl
cmovne r14, rsi
mov r12, qword [rbp + 7]
add r14, r12
cmp rdi, r14
je 0x1800bd56f
nop dword [rax]
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rdi], al
inc rdi
cmp rdi, r14
jne 0x1800bd550
mov r15, qword [rbp + 0xf]
mov r12, qword [rbp + 7]
mov rsi, qword [rbp - 9]
mov rdi, qword [rbp - 0x41]
mov r14, qword [rbp - 0x39]
cmp rdi, r14
je 0x1800bd5bb
nop dword [rax]
lea rdx, [rbp - 9]
cmp r15, 0xf
cmova rdx, rsi
mov r8, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1800bd59d
mov rcx, qword [rdi]
cmp r8, r12
jne 0x1800bd5ab
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800bd5b6
add rdi, 0x20
cmp rdi, r14
jne 0x1800bd580
jmp 0x1800bd5bb
cmp rdi, r14
jne 0x1800bd624
cmp r14, qword [rbp - 0x31]
je 0x1800bd608
xorps xmm0, xmm0
movups xmmword [r14], xmm0
xor r12d, r12d
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r12
movups xmm0, xmmword [rbp - 9]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp + 7]
movups xmmword [r14 + 0x10], xmm1
mov qword [rbp + 7], r12
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xf], r15
mov byte [rbp - 9], r12b
mov r14, qword [rbp - 0x39]
add r14, 0x20
mov qword [rbp - 0x39], r14
mov rsi, qword [rbp - 9]
jmp 0x1800bd627
lea r8, [rbp - 9]
mov rdx, r14
lea rcx, [rbp - 0x41]
call fcn.180096450
mov r14, qword [rbp - 0x39]
mov r15, qword [rbp + 0xf]
mov rsi, qword [rbp - 9]
xor r12d, r12d
cmp r15, 0xf
jbe 0x1800bd662
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1800bd656
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800bd797
mov rcx, rsi
call fcn.1800cbd7c
mov r14, qword [rbp - 0x39]
add r13, 0x20
cmp r13, qword [rbp - 0x59]
jne 0x1800bd510
mov rsi, qword [rbp - 0x51]
mov rax, r14
sub rax, qword [rbp - 0x41]
sar rax, 5
cmp rax, 1
jbe 0x1800bd90d
mov byte [rsi + 0x94], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r12
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x11], r13
mov byte [rbp - 0x29], 0
mov r15, r12
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x59], r12
movzx edi, byte [rbp - 0x65]
movzx esi, byte [rbp - 0x65]
nop dword [rax]
mov rcx, qword [rbp - 0x41]
add rcx, r12
mov rdx, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x1800bd6d4
mov rdx, qword [rcx]
mov r9, qword [rcx + 0x10]
mov dword [rbp - 0x69], 0x1007c7b
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x55]
xor byte [rbp + rcx - 0x69], al
inc rcx
cmp rcx, 2
jb 0x1800bd6f0
mov byte [rbp - 0x66], 0
lea rax, [rbp - 0x69]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1800bd710
cmp r8, r9
jne 0x1800bd730
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800bd8ad
test r15, r15
je 0x1800bd7c4
mov word [rbp - 0x61], Ordinal_46
mov byte [rbp - 0x5f], 0
lea rax, [rbp - 0x61]
mov r15, 0xffffffffffffffff
nop
inc r15
cmp byte [rax + r15], 0
jne 0x1800bd750
mov rcx, qword [rbp - 0x19]
mov rax, r13
sub rax, rcx
cmp r15, rax
ja 0x1800bd7a7
lea rax, [rcx + r15]
mov qword [rbp - 0x19], rax
lea r14, [rbp - 0x29]
cmp r13, 0xf
cmova r14, qword [rbp - 0x29]
add r14, rcx
mov r8, r15
lea rdx, [rbp - 0x61]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + r15], 0
jmp 0x1800bd7c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r14, qword [rbp - 0x39]
jmp 0x1800bd674
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x61]
movzx r8d, sil
mov rdx, r15
lea rcx, [rbp - 0x29]
call fcn.18000d550
mov r13, qword [rbp - 0x11]
mov r9, qword [rbp - 0x41]
add r9, r12
mov r15, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 0xf
jbe 0x1800bd7d9
mov r9, qword [r9]
mov r12, qword [rbp - 0x19]
mov rax, r13
sub rax, r12
cmp r15, rax
ja 0x1800bd817
lea rax, [r12 + r15]
mov qword [rbp - 0x19], rax
lea r14, [rbp - 0x29]
cmp r13, 0xf
cmova r14, qword [rbp - 0x29]
lea rcx, [r14 + r12]
mov r8, r15
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + r15]
mov byte [rax + r12], 0
jmp 0x1800bd82c
mov qword [rsp + 0x20], r15
movzx r8d, dil
mov rdx, r15
lea rcx, [rbp - 0x29]
call fcn.18000d550
mov r15, qword [rbp - 0x49]
inc r15
mov qword [rbp - 0x49], r15
mov r12, qword [rbp - 0x59]
add r12, 0x20
mov qword [rbp - 0x59], r12
mov r14, qword [rbp - 0x39]
mov rax, r14
sub rax, qword [rbp - 0x41]
sar rax, 5
mov r13, qword [rbp - 0x11]
cmp r15, rax
jb 0x1800bd6c0
mov rsi, qword [rbp - 0x51]
cmp byte [rsi + 0x94], 0
je 0x1800bd8ce
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x1800bd8ba
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
xor eax, eax
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rax
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rdx + 0x10], xmm1
mov qword [rbp - 0x19], rax
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x11], r13
mov byte [rbp - 0x29], al
add qword [rbx + 8], 0x20
jmp 0x1800bd8ca
mov rsi, qword [rbp - 0x51]
mov byte [rsi + 0x94], 0
jmp 0x1800bd863
lea r8, [rbp - 0x29]
mov rcx, rbx
call fcn.180096450
mov r13, qword [rbp - 0x11]
mov r14, qword [rbp - 0x39]
cmp r13, 0xf
jbe 0x1800bd90d
lea rdx, [r13 + 1]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800bd904
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800bd904
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cbd7c
mov r14, qword [rbp - 0x39]
mov rdi, qword [rbp - 0x41]
cmp rdi, r14
je 0x1800bd94d
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x1800bd932
mov rdx, rdi
mov rcx, rax
call fcn.18000a270
add qword [rbx + 8], 0x20
jmp 0x1800bd940
mov r8, rdi
mov rdx, rax
mov rcx, rbx
call fcn.180095d80
add rdi, 0x20
cmp rdi, r14
jne 0x1800bd916
mov r14, qword [rbp - 0x39]
mov dword [rsi + 0x90], 0
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x1800bd9a8
lea r8, [rbp - 0x41]
mov rdx, r14
call fcn.18001a9b0
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rbp - 0x41]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800bd9a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800bd9a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cbd7c
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1800cbe10
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret