Function at 0x18023fe9c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2e8]
sub rsp, 0x3b0
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
xor esi, esi
cmp dword [0x1802b71fc], esi
je 0x180240458
cmp dword [0x1802b71f8], esi
je 0x180240458
cmp dword [0x1802b71f4], esi
je 0x180240458
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rbp + 0x2f0], rax
lea rdx, [rbp + 0x2f0]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
lea rcx, [rbp + 0x1c0]
call fcn.1800796e8
nop
lea rcx, [rbp + 0xd0]
call fcn.1800796e8
nop
lea ecx, [rsi + 0x31]
mov word [rsp + 0x3c], cx
lea eax, [rsi + 0x65]
mov word [rsp + 0x3e], ax
lea r15d, [rsi + 0x39]
mov word [rsp + 0x40], r15w
mov word [rsp + 0x42], cx
lea eax, [rsi + 0x79]
mov word [rsp + 0x44], ax
mov word [rsp + 0x46], r15w
mov word [rsp + 0x48], cx
lea r13d, [rsi + 0x70]
mov word [rsp + 0x4a], r13w
mov word [rsp + 0x4c], si
movzx eax, word [rsp + 0x3c]
mov ecx, esi
lea edi, [rsi + 1]
lea r14d, [rsi + 8]
movzx eax, word [rsp + rcx*2 + 0x3c]
sub ax, 0xc
mov word [rsp + rcx*2 + 0x3c], ax
add rcx, rdi
cmp rcx, r14
jb 0x18023ff76
lea rax, [rbp + 0xa8]
mov qword [rbp - 0x10], rax
lea rax, [rsp + 0x3c]
mov qword [rbp - 8], rax
lea rax, [rsp + 0x3c]
mov qword [rbp], rax
cmp word [rsp + 0x3c], si
je 0x18023ffc2
lea rax, [rsp + 0x3c]
add rax, 2
cmp word [rax], si
jne 0x18023ffb5
mov qword [rbp], rax
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0xd0]
call fcn.18007b094
nop
mov ebx, 0x12
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x3c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov dword [rsp + 0x50], 0x32
lea ecx, [rbx + 5]
mov word [rsp + 0x54], cx
lea eax, [rbx + 0x59]
mov word [rsp + 0x56], ax
lea eax, [rbx + 0xd]
mov word [rsp + 0x58], ax
mov word [rsp + 0x5a], cx
lea edx, [rbx + 0x4d]
mov word [rsp + 0x5c], dx
mov word [rsp + 0x5e], ax
mov word [rsp + 0x60], cx
lea eax, [rbx + 0x44]
mov word [rsp + 0x62], ax
xor eax, eax
mov word [rsp + 0x64], ax
movzx eax, word [rsp + 0x54]
mov rdx, rsi
movzx eax, word [rsp + rdx*2 + 0x54]
mov ecx, dword [rsp + 0x50]
xor cx, ax
mov word [rsp + rdx*2 + 0x54], cx
add rdx, rdi
cmp rdx, r14
jb 0x180240036
mov word [rsp + 0x64], si
lea rax, [0x1802b71e8]
mov qword [rbp + 8], rax
lea rax, [rsp + 0x54]
mov qword [rbp + 0x10], rax
lea rax, [rsp + 0x54]
mov qword [rbp + 0x18], rax
cmp word [rsp + 0x54], si
je 0x18024008a
lea rax, [rsp + 0x54]
add rax, 2
cmp word [rax], si
jne 0x18024007d
mov qword [rbp + 0x18], rax
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x1c0]
call fcn.18007b094
nop
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x54]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x1c8]
call fcn.18007a85c
nop
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0xd8]
call fcn.18007a85c
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x28]
call fcn.18007dd40
mov bl, al
lea rcx, [rbp + 0x28]
call fcn.18007a444
nop
lea rcx, [rbp + 0x48]
call fcn.18007a444
test bl, bl
jne 0x1802403a9
mov dword [rsp + 0x68], 0x50
mov r12d, 0x7e
mov word [rsp + 0x6c], r12w
mov word [rsp + 0x6e], r13w
mov word [rsp + 0x70], di
lea eax, [r12 - 0x59]
mov word [rsp + 0x72], ax
mov word [rsp + 0x74], r15w
lea eax, [r12 - 0x5a]
mov word [rsp + 0x76], ax
mov word [rsp + 0x78], ax
mov word [rsp + 0x7a], r15w
lea eax, [r12 - 0x40]
mov word [rsp + 0x7c], ax
lea eax, [r12 - 0x47]
mov word [rsp + 0x7e], ax
mov word [rbp - 0x80], r12w
xor eax, eax
mov word [rbp - 0x7e], ax
movzx eax, word [rsp + 0x6c]
mov rdx, rsi
movzx eax, word [rsp + rdx*2 + 0x6c]
mov ecx, dword [rsp + 0x68]
xor cx, ax
mov word [rsp + rdx*2 + 0x6c], cx
add rdx, rdi
cmp rdx, 0xb
jb 0x180240161
mov word [rbp - 0x7e], si
lea rax, [rbp + 0x68]
mov qword [rbp + 0x2f8], rax
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x1c8]
call fcn.18007a85c
nop
mov r15d, 0x28
mov dword [rsp + 0x30], r15d
mov word [rsp + 0x34], r14w
lea eax, [r15 - 0x12]
mov word [rsp + 0x36], ax
mov word [rsp + 0x38], r14w
xor eax, eax
mov word [rsp + 0x3a], ax
movzx eax, word [rsp + 0x34]
mov rdx, rsi
movzx eax, word [rsp + rdx*2 + 0x34]
mov ecx, dword [rsp + 0x30]
xor cx, ax
mov word [rsp + rdx*2 + 0x34], cx
add rdx, rdi
cmp rdx, 3
jb 0x1802401ca
mov word [rsp + 0x3a], si
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0xd8]
call fcn.18007a85c
mov eax, 0x63
mov word [rbp - 0x7c], ax
mov eax, 0x29
mov word [rbp - 0x7a], ax
mov eax, 0x65
mov word [rbp - 0x78], ax
mov word [rbp - 0x76], r15w
mov eax, 0x5f
mov word [rbp - 0x74], ax
lea ebx, [rax + 0xe]
mov word [rbp - 0x72], bx
lea eax, [rbx - 0x3e]
mov word [rbp - 0x70], ax
mov word [rbp - 0x6e], r12w
mov word [rbp - 0x6c], bx
mov word [rbp - 0x6a], r15w
lea r12d, [rbx - 2]
mov word [rbp - 0x68], r12w
lea r10d, [rbx + 0xd]
mov word [rbp - 0x66], r10w
lea edx, [rbx + 0xa]
mov word [rbp - 0x64], dx
lea eax, [rbx + 0xe]
mov word [rbp - 0x62], ax
mov word [rbp - 0x60], ax
mov word [rbp - 0x5e], bx
lea r11d, [rbx - 1]
mov word [rbp - 0x5c], r11w
mov word [rbp - 0x5a], r15w
lea ecx, [rbx + 0xb]
mov word [rbp - 0x58], cx
lea r9d, [rbx - 4]
mov word [rbp - 0x56], r9w
mov word [rbp - 0x54], ax
lea r8d, [rbx + 0xf]
mov word [rbp - 0x52], r8w
mov word [rbp - 0x50], r15w
mov word [rbp - 0x4e], r8w
mov word [rbp - 0x4c], r13w
mov word [rbp - 0x4a], bx
mov word [rbp - 0x48], r15w
mov word [rbp - 0x46], cx
mov word [rbp - 0x44], r10w
mov word [rbp - 0x42], bx
mov word [rbp - 0x40], r12w
mov word [rbp - 0x3e], dx
lea eax, [rbx + 9]
mov word [rbp - 0x3c], ax
lea eax, [rbx + 1]
mov word [rbp - 0x3a], ax
lea ecx, [rbx + 4]
mov word [rbp - 0x38], cx
lea eax, [rbx + 2]
mov word [rbp - 0x36], ax
lea eax, [rbx + 0x10]
mov word [rbp - 0x34], ax
mov word [rbp - 0x32], r10w
mov word [rbp - 0x30], bx
mov word [rbp - 0x2e], r11w
mov word [rbp - 0x2c], r15w
lea eax, [rbx + 6]
mov word [rbp - 0x2a], ax
mov word [rbp - 0x28], cx
lea eax, [rbx + 7]
mov word [rbp - 0x26], ax
mov word [rbp - 0x24], ax
mov word [rbp - 0x22], r11w
mov word [rbp - 0x20], r9w
mov word [rbp - 0x1e], r8w
mov word [rbp - 0x1c], bx
lea eax, [rbx - 0x2b]
mov word [rbp - 0x1a], ax
mov word [rbp - 0x18], r15w
mov word [rbp - 0x16], si
movzx eax, word [rbp - 0x7c]
mov rcx, rsi
movzx eax, word [rbp + rcx*2 - 0x7c]
sub ax, r14w
mov word [rbp + rcx*2 - 0x7c], ax
add rcx, rdi
cmp rcx, 0x33
jb 0x180240338
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x68]
lea r8, [rsp + 0x34]
lea rdx, [rbp + 0x88]
lea rcx, [rbp - 0x7c]
call fcn.1802653cc
nop
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x7c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov r8, r14
xor edx, edx
lea rcx, [rsp + 0x34]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x18]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov dil, sil
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ostringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__.0
mov qword [rbp + rcx + 0xd0], rbx
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0xcc], edx
lea rcx, [rbp + 0xd8]
call fcn.1800795ac
lea rcx, [rbp + 0xe0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
lea rcx, [rbp + 0x158]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x1c0], rbx
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x1bc], edx
lea rcx, [rbp + 0x1c8]
call fcn.1800795ac
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
lea rcx, [rbp + 0x248]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
mov al, dil
jmp 0x18024045d
mov eax, 1
mov rbx, qword [rsp + 0x408]
add rsp, 0x3b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret