Function at 0x18024ab90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x1803d9938]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rsi, r9
mov qword [rsp + 0x58], r9
mov r15, r8
mov r14, rdx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp - 0x80], r9
mov r13, qword [rbp + 0x1a0]
mov qword [rsp + 0x48], r13
mov qword [rbp - 0x78], r13
xor edi, edi
mov dword [rsp + 0x30], edi
mov rax, qword [0x1803cd028]
cmp byte [rax + 4], dil
je 0x18024ace7
mov rcx, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x18024ac0e
mov rcx, qword [rdx]
call fcn.1801ab770
test al, al
je 0x18024acdb
cmp byte [0x18041fbb5], 0
jne 0x18024acbe
mov byte [0x18041fbb5], 1
lea rax, [rbp - 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x48], rax
mov qword [rbp + 0xa8], rdi
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x18024ac61
mov rax, qword [rcx]
lea rdx, [rbp + 0x70]
call qword [rax]
mov qword [rbp + 0xa8], rax
mov qword [rbp - 0x30], rdi
mov ecx, 0x48
call fcn.1802697d0
mov rbx, rax
lea rax, [0x1802d0cc0]
mov qword [rbx], rax
lea rcx, [rbx + 8]
mov qword [rcx + 0x38], rdi
lea rdx, [rbp + 0x70]
call fcn.18021ca90
mov qword [rbp - 0x30], rbx
lea rdx, [rbp - 0x68]
lea rcx, [0x1803cd040]
call fcn.1800e5450
nop
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x18024acbe
mov rax, qword [rcx]
lea rdx, [rbp + 0x70]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, qword [r13 + 0x38]
test rcx, rcx
je 0x18024b466
mov rax, qword [rcx]
call qword [rax + 0x10]
call fcn.1801ac150
jmp 0x18024b35f
mov byte [0x18041fbb5], 0
jmp 0x18024b35f
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x38], rax
mov qword [rbp + 0xe8], rdi
mov rcx, qword [r9 + 0x38]
test rcx, rcx
je 0x18024ad16
mov rax, qword [rcx]
lea rdx, [rbp + 0xb0]
call qword [rax]
mov qword [rbp + 0xe8], rax
mov r10, r15
cmp qword [r15 + 0x18], 0x10
jb 0x18024ad23
mov r10, qword [r15]
mov r11, qword [r15 + 0x10]
mov r9d, edi
add r11, r10
cmp r10, r11
je 0x18024ad68
movzx r8d, byte [r10]
lea edx, [r8 - 0x41]
movzx eax, r8b
or al, 0x20
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
inc r10
cmp r10, r11
jne 0x18024ad32
lea ecx, [r9 + r9*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rsp + 0x40], eax
mov rsi, qword [r14 + 0x10]
mov rcx, r14
mov rbx, qword [r14 + 0x18]
cmp rbx, 0x10
jb 0x18024ad91
mov rcx, qword [r14]
mov eax, 0x16
movabs r13, 0x7fffffffffffffff
cmp rsi, 4
jne 0x18024ae0f
mov r8, rsi
lea rdx, str.Misc
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18024ae0a
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], 0xd
mov qword [rbp + 0x60], 0xf
movsd xmm0, qword [0x1802c6e98]
movsd qword [rbp + 0x48], xmm0
mov r12d, dword [0x1802c6ea0]
mov dword [rbp + 0x50], r12d
movzx r13d, byte [0x1802c6ea4]
mov byte [rbp + 0x54], r13b
mov byte [rbp + 0x55], al
lea rax, [rbp + 0x48]
mov qword [rsp + 0x38], rax
mov esi, 1
jmp 0x18024aeb3
mov eax, 0x16
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x40], rdi
mov r12, r14
cmp rbx, 0x10
jb 0x18024ae2a
mov r12, qword [r14]
cmp rsi, r13
ja 0x18024b46c
cmp rsi, 0x10
jae 0x18024ae55
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], 0xf
movups xmm0, xmmword [r12]
movups xmmword [rbp + 0x28], xmm0
movq qword [rbp + 0x28], xmm0
jmp 0x18024ae96
mov rbx, rsi
or rbx, 0xf
cmp rbx, r13
jbe 0x18024ae66
mov rbx, r13
jmp 0x18024ae6e
cmp rbx, 0x16
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x28]
call fcn.1800c14d0
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rbx
lea r8, [rsi + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
mov esi, 2
movzx r13d, byte [0x1802c6ea4]
mov r12d, dword [0x1802c6ea0]
mov dword [rsp + 0x30], esi
mov rax, qword [0x1803cd028]
cmp byte [rax + 4], 0
jne 0x18024aff5
mov ecx, 0x128
call fcn.1802697d0
mov r12, rax
mov qword [rbp - 0x70], rax
test rax, rax
je 0x18024af89
lea rax, [rbp - 0x28]
mov qword [rsp + 0x50], rax
mov qword [rbp + 0x10], rdi
mov ecx, 0x48
call fcn.1802697d0
mov rbx, rax
lea rax, [0x1802dc3f0]
mov qword [rbx], rax
lea rcx, [rbx + 8]
mov qword [rcx + 0x38], rdi
lea rdx, [rbp + 0xb0]
call fcn.18021ca90
mov qword [rbp + 0x10], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rax, qword [rsp + 0x38]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, [0x180298f79]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x68]
mov rcx, r12
call fcn.1801d5950
jmp 0x18024af8c
mov rax, rdi
or esi, 0x10
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x38], rax
mov rdx, qword [0x1803cd010]
cmp rdx, qword [0x1803cd018]
je 0x18024afbf
mov qword [rsp + 0x38], rdi
mov qword [rdx], rax
add qword [0x1803cd010], 8
jmp 0x18024afd1
lea r8, [rsp + 0x38]
lea rcx, [0x1803cd008]
call fcn.1801c6c80
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18024afe6
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
movzx r13d, byte [0x1802c6ea4]
mov r12d, dword [0x1802c6ea0]
test sil, 2
je 0x18024b04f
and esi, 0xfffffffd
mov dword [rsp + 0x30], esi
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x18024b04f
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18024b03b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024b03b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18026980c
movzx r13d, byte [0x1802c6ea4]
mov r12d, dword [0x1802c6ea0]
test sil, 1
je 0x18024b0a9
and esi, 0xfffffffe
mov dword [rsp + 0x30], esi
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x18024b0a9
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18024b095
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024b095
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18026980c
movzx r13d, byte [0x1802c6ea4]
mov r12d, dword [0x1802c6ea0]
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x18024b0d7
mov rax, qword [rcx]
lea rdx, [rbp + 0xb0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
movzx r13d, byte [0x1802c6ea4]
mov r12d, dword [0x1802c6ea0]
mov rax, qword [0x1803cd028]
mov qword [rsp + 0x38], rax
lea rcx, [rbp + 0xf0]
mov qword [rsp + 0x50], rcx
mov qword [rbp + 0x128], rdi
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x18024b126
mov rax, qword [rcx]
lea rdx, [rbp + 0xf0]
call qword [rax]
mov qword [rbp + 0x128], rax
movzx r13d, byte [0x1802c6ea4]
mov r12d, dword [0x1802c6ea0]
mov r10, r15
cmp qword [r15 + 0x18], 0x10
jb 0x18024b133
mov r10, qword [r15]
mov r11, qword [r15 + 0x10]
mov r9d, edi
add r11, r10
cmp r10, r11
je 0x18024b178
movzx r8d, byte [r10]
lea edx, [r8 - 0x41]
movzx eax, r8b
or al, 0x20
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
inc r10
cmp r10, r11
jne 0x18024b142
lea ecx, [r9 + r9*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rsp + 0x40], eax
mov rbx, qword [r14 + 0x10]
mov rcx, r14
mov rax, qword [r14 + 0x18]
cmp rax, 0x10
jb 0x18024b1a1
mov rcx, qword [r14]
cmp rbx, 4
jne 0x18024b1f8
mov r8, rbx
lea rdx, str.Misc
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18024b1f4
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], 0xd
mov qword [rbp + 0x60], 0xf
movsd xmm0, qword [0x1802c6e98]
movsd qword [rbp + 0x48], xmm0
mov dword [rbp + 0x50], r12d
mov byte [rbp + 0x54], r13b
mov byte [rbp + 0x55], al
lea rdx, [rbp + 0x48]
or esi, ebx
jmp 0x18024b28e
mov rax, qword [r14 + 0x18]
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x40], rdi
mov r12, r14
cmp rax, 0x10
jb 0x18024b213
mov r12, qword [r14]
movabs r13, 0x7fffffffffffffff
cmp rbx, r13
ja 0x18024b460
cmp rbx, 0x10
jae 0x18024b243
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x40], 0xf
movups xmm0, xmmword [r12]
movups xmmword [rbp + 0x28], xmm0
jmp 0x18024b287
mov rax, rbx
or rax, 0xf
cmp rax, r13
ja 0x18024b25f
mov r13, rax
cmp rax, 0x16
mov eax, 0x16
cmovb r13, rax
lea rdx, [r13 + 1]
lea rcx, [rbp + 0x28]
call fcn.1800c14d0
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x40], r13
lea r8, [rbx + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rbp + 0x28]
or esi, 8
mov dword [rsp + 0x30], esi
lea r9, [rbp + 0xf0]
lea r8, [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call fcn.1801c9a20
nop
test sil, 8
je 0x18024b2f1
and esi, 0xfffffff7
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x18024b2f1
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18024b2eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024b2eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18026980c
nop
test sil, 4
je 0x18024b336
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x18024b336
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18024b330
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024b330
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18026980c
nop
mov rcx, qword [rbp + 0x128]
test rcx, rcx
je 0x18024b355
mov rax, qword [rcx]
lea rdx, [rbp + 0xf0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov r13, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x18024b399
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x18024b394
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18024b452
mov rcx, r8
call fcn.18026980c
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x18024b3e3
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x18024b3de
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18024b459
mov rcx, r8
call fcn.18026980c
mov qword [r15 + 0x10], rdi
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x18024b40f
mov rax, qword [rcx]
cmp rcx, rsi
sete dl
xor dl, 1
call qword [rax + 0x20]
mov qword [rsi + 0x38], rdi
mov rcx, qword [r13 + 0x38]
test rcx, rcx
je 0x18024b428
mov rax, qword [rcx]
cmp rcx, r13
setne dl
call qword [rax + 0x20]
mov qword [r13 + 0x38], rdi
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.180269d00
mov rbx, qword [rsp + 0x280]
add rsp, 0x240
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1800c1490
nop
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
nop
call fcn.1800c1490
int3