Function at 0x18024b480
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 - 0xa0]
sub rsp, 0x1a0
movaps xmmword [rsp + 0x190], xmm6
mov rax, qword [0x1803d9938]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rdi, r9
mov qword [rsp + 0x50], r9
mov r14, r8
mov rsi, rdx
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], r8
mov qword [rsp + 0x78], r9
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov rax, qword [0x1803cd028]
cmp byte [rax + 4], bl
je 0x18024b52e
call fcn.180178980
subss xmm0, dword [0x1802a9f24]
call fcn.180185070
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x18024b504
mov rcx, qword [rsi]
call fcn.1801ab770
test al, al
je 0x18024bb58
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x18024bc46
mov rax, qword [rcx]
call qword [rax + 0x10]
call fcn.1801ac150
jmp 0x18024bb58
mov r10, r14
cmp qword [r8 + 0x18], 0x10
jb 0x18024b53b
mov r10, qword [r8]
mov r11, qword [r8 + 0x10]
mov r9d, ebx
add r11, r10
cmp r10, r11
je 0x18024b586
nop word [rax + rax]
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 0x18024b550
lea ecx, [r9 + r9*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rsp + 0x34], eax
mov r15, qword [rsi + 0x10]
mov rcx, rsi
mov rdi, qword [rsi + 0x18]
cmp rdi, 0x10
jb 0x18024b5af
mov rcx, qword [rsi]
mov eax, 0x16
movabs r13, 0x7fffffffffffffff
cmp r15, 4
jne 0x18024b638
mov r8, r15
lea rdx, str.Misc
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18024b633
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], 0xd
mov qword [rbp + 0x30], 0xf
movsd xmm6, qword [0x1802c6e98]
movsd qword [rbp + 0x18], xmm6
mov r12d, dword [0x1802c6ea0]
mov dword [rbp + 0x20], r12d
movzx r13d, byte [0x1802c6ea4]
mov byte [rbp + 0x24], r13b
mov byte [rbp + 0x25], al
lea r15, [rbp + 0x18]
lea edi, [rax + 1]
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x40], rcx
jmp 0x18024b6f1
mov eax, 0x16
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], rbx
mov r12, rsi
cmp rdi, 0x10
jb 0x18024b653
mov r12, qword [rsi]
cmp r15, r13
ja 0x18024bc4c
cmp r15, 0x10
jae 0x18024b67e
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], 0xf
movups xmm0, xmmword [r12]
movups xmmword [rbp - 8], xmm0
movq qword [rbp - 8], xmm0
jmp 0x18024b6bf
mov rdi, r15
or rdi, 0xf
cmp rdi, r13
jbe 0x18024b68f
mov rdi, r13
jmp 0x18024b697
cmp rdi, 0x16
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rbp - 8]
call fcn.1800c14d0
mov qword [rbp - 8], rax
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], rdi
lea r8, [r15 + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea r15, [rbp - 8]
mov edi, 2
lea rax, [rbp + 8]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
movzx r13d, byte [0x1802c6ea4]
mov r12d, dword [0x1802c6ea0]
movsd xmm6, qword [0x1802c6e98]
mov dword [rsp + 0x30], edi
mov rax, qword [0x1803cd028]
cmp byte [rax + 4], 0
jne 0x18024b81e
mov ecx, 0x128
call fcn.1802697d0
mov qword [rbp - 0x80], rax
test rax, rax
je 0x18024b7aa
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x48], rcx
lea rcx, [0x1802dc2a0]
mov qword [rbp - 0x58], rcx
lea rcx, [rbp - 0x58]
mov qword [rbp - 0x20], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov rcx, qword [rsp + 0x38]
mov qword [rcx], rbx
mov rcx, qword [rsp + 0x40]
mov qword [rcx], 0xf
mov byte [r15], 0
lea rcx, [0x180298f79]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x34]
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.1801d5950
jmp 0x18024b7ad
mov rax, rbx
or edi, 0x10
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x38], rax
mov rdx, qword [0x1803cd010]
cmp rdx, qword [0x1803cd018]
je 0x18024b7e0
mov qword [rsp + 0x38], rbx
mov qword [rdx], rax
add qword [0x1803cd010], 8
jmp 0x18024b7f2
lea r8, [rsp + 0x38]
lea rcx, [0x1803cd008]
call fcn.1801c6c80
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18024b807
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
movzx r13d, byte [0x1802c6ea4]
mov r12d, dword [0x1802c6ea0]
movsd xmm6, qword [0x1802c6e98]
test dil, 2
je 0x18024b880
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x18024b880
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18024b864
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024b864
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]
movsd xmm6, qword [0x1802c6e98]
test dil, 1
je 0x18024b8e2
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x18024b8e2
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18024b8c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024b8c6
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]
movsd xmm6, qword [0x1802c6e98]
mov rax, qword [0x1803cd028]
mov qword [rsp + 0x40], rax
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x48], rcx
mov qword [rbp + 0x78], rbx
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x18024b92d
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
call qword [rax]
mov qword [rbp + 0x78], rax
movzx r13d, byte [0x1802c6ea4]
mov r12d, dword [0x1802c6ea0]
movsd xmm6, qword [0x1802c6e98]
mov r9, r14
cmp qword [r14 + 0x18], 0x10
jb 0x18024b93a
mov r9, qword [r14]
mov r11, qword [r14 + 0x10]
mov r10d, ebx
add r11, r9
cmp r9, r11
je 0x18024b986
nop dword [rax]
movzx r8d, byte [r9]
lea edx, [r8 - 0x41]
movzx eax, r8b
or al, 0x20
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r10d
imul r10d, eax, 0x401
mov eax, r10d
shr eax, 6
xor r10d, eax
inc r9
cmp r9, r11
jne 0x18024b950
lea ecx, [r10 + r10*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rsp + 0x34], eax
mov r15, qword [rsi + 0x10]
mov rcx, rsi
mov rax, qword [rsi + 0x18]
cmp rax, 0x10
jb 0x18024b9af
mov rcx, qword [rsi]
cmp r15, 4
jne 0x18024b9ff
mov r8, r15
lea rdx, str.Misc
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18024b9fb
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], 0xd
mov qword [rbp + 0x30], 0xf
movsd qword [rbp + 0x18], xmm6
mov dword [rbp + 0x20], r12d
mov byte [rbp + 0x24], r13b
mov byte [rbp + 0x25], al
lea rdx, [rbp + 0x18]
or edi, r15d
jmp 0x18024ba95
mov rax, qword [rsi + 0x18]
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], rbx
mov r12, rsi
cmp rax, 0x10
jb 0x18024ba1a
mov r12, qword [rsi]
movabs r13, 0x7fffffffffffffff
cmp r15, r13
ja 0x18024bc40
cmp r15, 0x10
jae 0x18024ba4a
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], 0xf
movups xmm0, xmmword [r12]
movups xmmword [rbp - 8], xmm0
jmp 0x18024ba8e
mov rax, r15
or rax, 0xf
cmp rax, r13
ja 0x18024ba66
mov r13, rax
cmp rax, 0x16
mov eax, 0x16
cmovb r13, rax
lea rdx, [r13 + 1]
lea rcx, [rbp - 8]
call fcn.1800c14d0
mov qword [rbp - 8], rax
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], r13
lea r8, [r15 + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rbp - 8]
or edi, 8
mov dword [rsp + 0x30], edi
lea r9, [rbp + 0x40]
lea r8, [rsp + 0x34]
mov rcx, qword [rsp + 0x40]
call fcn.1801c96e0
nop
test dil, 8
je 0x18024baf5
and edi, 0xfffffff7
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x18024baf5
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18024baef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024baef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18026980c
nop
test dil, 4
je 0x18024bb3a
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x18024bb3a
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18024bb34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024bb34
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 + 0x78]
test rcx, rcx
je 0x18024bb53
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rdi, qword [rsp + 0x50]
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x18024bb92
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x18024bb8d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18024bc32
mov rcx, r8
call fcn.18026980c
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x18024bbd7
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x18024bbd2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18024bc39
mov rcx, r8
call fcn.18026980c
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x18024bc00
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], rbx
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.180269d00
mov rbx, qword [rsp + 0x1e0]
movaps xmm6, xmmword [rsp + 0x190]
add rsp, 0x1a0
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_
int3
call fcn.1800c1490
int3