Function at 0x18022c954
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x290
mov qword [rbp + 0x180], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r10, r9
mov r15, rcx
mov edi, 1
mov r12d, edi
mov r9d, dword [0x1802b61d8]
cmp r10, r9
jb 0x18022d5e0
xor ebx, ebx
test r9d, r9d
je 0x18022d5e0
mov r9, r8
mov r8, rdx
mov rdx, r10
lea rcx, [rbp + 0xf8]
call fcn.18022c2d8
nop
mov r9d, dword [0x1802b61d8]
lea eax, [rdi + 0x5b]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
xor ax, 0x20
mov word [rsp + 0x54], ax
mov eax, dword [rsp + 0x50]
add ax, di
xor ax, 0x2f
mov word [rsp + 0x56], ax
mov eax, dword [rsp + 0x50]
add ax, 2
xor ax, 0x20
mov word [rsp + 0x58], ax
xor eax, eax
mov word [rsp + 0x5a], ax
movzx eax, word [rsp + 0x54]
mov edx, ebx
lea r8d, [rdi + 2]
movzx eax, word [rsp + rdx*2 + 0x54]
mov ecx, dword [rsp + 0x50]
add cx, dx
xor cx, ax
mov word [rsp + rdx*2 + 0x54], cx
add rdx, rdi
cmp rdx, r8
jb 0x18022ca10
mov word [rsp + 0x5a], bx
mov r10d, dword [0x1802b61d8]
mov ecx, 0x23
mov word [rbp - 0x70], cx
lea eax, [rcx + 0x43]
mov word [rbp - 0x6e], ax
lea eax, [rcx + 0x48]
mov word [rbp - 0x6c], ax
lea eax, [rcx + 0x55]
mov word [rbp - 0x6a], ax
lea eax, [rcx + 0x4e]
mov word [rbp - 0x68], ax
lea eax, [rcx + 0x4b]
mov word [rbp - 0x66], ax
lea eax, [rcx + 0x53]
mov word [rbp - 0x64], ax
mov word [rbp - 0x62], cx
lea edx, [rcx + 0x4f]
mov word [rbp - 0x60], dx
lea edx, [rcx + 0x46]
mov word [rbp - 0x5e], dx
mov word [rbp - 0x5c], cx
mov word [rbp - 0x5a], ax
lea eax, [rcx + 0x49]
mov word [rbp - 0x58], ax
lea eax, [rcx + 0x5a]
mov word [rbp - 0x56], ax
lea eax, [rcx + 0x45]
mov word [rbp - 0x54], ax
mov word [rbp - 0x52], cx
lea eax, [rcx + 0x1a]
mov word [rbp - 0x50], ax
mov word [rbp - 0x4e], cx
lea eax, [rcx + 0x10]
mov word [rbp - 0x4c], ax
lea eax, [rcx + 0x58]
mov word [rbp - 0x4a], ax
mov word [rbp - 0x48], bx
movzx eax, word [rbp - 0x70]
mov rcx, rbx
lea r11d, [rdx - 0x55]
movzx eax, word [rbp + rcx*2 - 0x70]
sub ax, r8w
mov word [rbp + rcx*2 - 0x70], ax
add rcx, rdi
cmp rcx, r11
jb 0x18022cac6
mov rcx, qword [rbp + 0x100]
sub rcx, qword [rbp + 0xf8]
movabs rax, 0x6666666666666667
imul rcx
mov r8, rdx
sar r8, 4
mov rax, r8
shr rax, 0x3f
add r8, rax
mov esi, 0x3a
mov dword [rbp - 0x14], esi
lea eax, [rsi + 0x27]
mov word [rbp - 0x10], ax
mov word [rbp - 0xe], r11w
lea eax, [rsi + 0x2d]
mov word [rbp - 0xc], ax
lea r11d, [rsi - 0x20]
mov word [rbp - 0xa], r11w
lea eax, [rsi + 0x33]
mov word [rbp - 8], ax
lea edx, [rsi + 0x19]
mov word [rbp - 6], dx
lea ecx, [rsi + 0x1c]
mov word [rbp - 4], cx
mov word [rbp - 2], cx
mov word [rbp], r11w
lea eax, [rsi + 0x13]
mov word [rbp + 2], ax
lea eax, [rsi + 0xe]
mov word [rbp + 4], ax
mov word [rbp + 6], dx
lea eax, [rsi + 0x14]
mov word [rbp + 8], ax
lea r14d, [rsi + 0x25]
mov word [rbp + 0xa], r14w
mov word [rbp + 0xc], r11w
lea eax, [rsi + 0xf]
mov word [rbp + 0xe], ax
lea eax, [rsi + 0x18]
mov word [rbp + 0x10], ax
mov word [rbp + 0x12], r14w
mov word [rbp + 0x14], cx
mov word [rbp + 0x16], cx
lea eax, [rsi + 0x1f]
mov word [rbp + 0x18], ax
lea eax, [rsi + 0x1b]
mov word [rbp + 0x1a], ax
lea eax, [rsi + 0x24]
mov word [rbp + 0x1c], ax
mov word [rbp + 0x1e], r14w
mov word [rbp + 0x20], r11w
mov word [rbp + 0x22], dx
lea eax, [rsi + 0x1a]
mov word [rbp + 0x24], ax
mov word [rbp + 0x26], r11w
xor eax, eax
mov word [rbp + 0x28], ax
movzx eax, word [rbp - 0x10]
mov rdx, rbx
movzx eax, word [rbp + rdx*2 - 0x10]
mov ecx, dword [rbp - 0x14]
xor cx, ax
mov word [rbp + rdx*2 - 0x10], cx
add rdx, rdi
cmp rdx, 0x1c
jb 0x18022cbc8
mov word [rbp + 0x28], bx
cmp byte [0x1802bd270], bl
je 0x18022cc84
mov dword [rsp + 0x40], r9d
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r10d
lea r9, [rbp - 0x70]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x160]
call fcn.180267fe8
nop
lea rdx, [rbp + 0x160]
mov cl, dil
call fcn.18014e37c
nop
mov rdx, qword [rbp + 0x178]
cmp rdx, 0x10
jb 0x18022cc6e
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18022cc69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18022cc69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
movdqa xmm0, xmmword [0x180280de0]
movdqu xmmword [rbp + 0x170], xmm0
mov byte [rbp + 0x160], bl
mov r8, rsi
xor edx, edx
lea rcx, [rbp - 0x10]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x2a]
lea rcx, [rbp - 0x70]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 8]
lea rcx, [rsp + 0x54]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rsi, rbx
mov r14, qword [rbp + 0xf8]
mov r13, qword [rbp + 0x100]
jmp 0x18022d24d
mov rdx, r14
lea rcx, [rbp + 0x110]
call fcn.18014c804
mov rax, qword [r14 + 0x18]
mov qword [rbp + 0x128], rax
mov rax, qword [r14 + 0x20]
mov qword [rbp + 0x130], rax
add rsi, rdi
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x138]
call fcn.18014c804
mov r9, qword [rbp + 0x128]
mov qword [rbp + 0x150], r9
mov rcx, qword [rbp + 0x130]
mov qword [rbp + 0x158], rcx
movabs rax, 0xcccccccccccccccd
mul rsi
shr rdx, 3
lea r8, [rdx + rdx*4]
add r8, r8
cmp rsi, r8
jne 0x18022cf2b
mov r9d, 0x76
mov dword [rbp - 0x7c], r9d
lea eax, [r9 - 0x1e]
mov word [rbp - 0x78], ax
mov word [rbp - 0x76], ax
mov word [rbp - 0x74], ax
xor eax, eax
mov word [rbp - 0x72], ax
movzx eax, word [rbp - 0x78]
mov rdx, rbx
lea r8d, [r9 - 0x73]
movzx eax, word [rbp + rdx*2 - 0x78]
mov ecx, dword [rbp - 0x7c]
xor cx, ax
mov word [rbp + rdx*2 - 0x78], cx
add rdx, rdi
cmp rdx, r8
jb 0x18022cd6f
mov word [rbp - 0x72], bx
mov rcx, qword [rbp + 0x100]
sub rcx, qword [rbp + 0xf8]
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov ecx, 0x25
mov word [rbp + 0x1e8], cx
lea eax, [rcx + 0xf]
mov word [rbp + 0x1ea], ax
mov word [rbp + 0x1ec], cx
mov word [rbp + 0x1ee], bx
movzx eax, word [rbp + 0x1e8]
mov rcx, rbx
movzx eax, word [rbp + rcx*2 + 0x1e8]
sub ax, 5
mov word [rbp + rcx*2 + 0x1e8], ax
add rcx, rdi
cmp rcx, r8
jb 0x18022cde2
mov eax, 0x5b
mov word [rbp - 0x46], ax
mov word [rbp - 0x44], r9w
mov eax, 0x6d
mov word [rbp - 0x42], ax
lea ecx, [rax + 0xb]
mov word [rbp - 0x40], cx
mov word [rbp - 0x3e], ax
lea r9d, [rax + 5]
mov word [rbp - 0x3c], r9w
lea eax, [rcx - 0xd]
mov word [rbp - 0x3a], ax
lea r8d, [rcx - 0x54]
mov word [rbp - 0x38], r8w
lea eax, [rcx - 1]
mov word [rbp - 0x36], ax
lea eax, [rcx - 0xc]
mov word [rbp - 0x34], ax
lea ecx, [rax - 3]
mov word [rbp - 0x32], cx
lea r10d, [r9 - 2]
mov word [rbp - 0x30], r10w
mov word [rbp - 0x2e], r10w
lea r11d, [r9 - 0xb]
mov word [rbp - 0x2c], r11w
lea r10d, [r9 + 1]
mov word [rbp - 0x2a], r10w
lea r10d, [r9 - 0xa]
mov word [rbp - 0x28], r10w
mov word [rbp - 0x26], cx
mov word [rbp - 0x24], r8w
mov word [rbp - 0x22], r11w
mov word [rbp - 0x20], ax
lea eax, [rcx + 0x10]
mov word [rbp - 0x1e], ax
mov word [rbp - 0x1c], r9w
lea eax, [rcx + 6]
mov word [rbp - 0x1a], ax
mov word [rbp - 0x18], r8w
mov word [rbp - 0x16], bx
movzx eax, word [rbp - 0x46]
mov rcx, rbx
movzx eax, word [rbp + rcx*2 - 0x46]
sub ax, 4
mov word [rbp + rcx*2 - 0x46], ax
add rcx, rdi
cmp rcx, 0x18
jb 0x18022ceac
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x1e8]
mov r8, rsi
lea rcx, [rbp - 0x46]
call fcn.180265624
nop
xor edx, edx
lea r8d, [rdx + 0x32]
lea rcx, [rbp - 0x46]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov edi, 8
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x1e8]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov r8d, edi
xor edx, edx
lea rcx, [rbp - 0x78]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rcx, qword [rbp + 0x130]
mov r9, qword [rbp + 0x128]
mov rdi, qword [rbp + 0x138]
mov r8, rdi
mov rdx, rcx
mov rcx, r15
call fcn.18022bad8
mov r15d, eax
test eax, eax
je 0x18022d26c
mov r8, qword [0x1802b61e0]
test r8, r8
je 0x18022d1bd
movabs rax, 0x47ae147ae147ae15
mul rsi
mov rax, rsi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 4
imul rcx, rax, 0x19
cmp rsi, rcx
jne 0x18022d1b3
mov eax, 0x5f
mov word [rbp + 0x8c], ax
lea r10d, [rax - 0x2d]
mov word [rbp + 0x8e], r10w
lea eax, [r10 + 0x2f]
mov word [rbp + 0x90], ax
lea edx, [rax - 0x3d]
mov word [rbp + 0x92], dx
lea eax, [rdx + 0x24]
mov word [rbp + 0x94], ax
lea ecx, [rdx + 0x45]
mov word [rbp + 0x96], cx
lea r9d, [r10 + 0x3e]
mov word [rbp + 0x98], r9w
lea edi, [rdx + 0x41]
mov word [rbp + 0x9a], di
lea eax, [rdx + 0x59]
mov word [rbp + 0x9c], ax
lea r11d, [r10 + 0x3b]
mov word [rbp + 0x9e], r11w
lea r8d, [r10 + 0x40]
mov word [rbp + 0xa0], r8w
lea eax, [rdx + 0x47]
mov word [rbp + 0xa2], ax
mov word [rbp + 0xa4], dx
mov word [rbp + 0xa6], r8w
mov word [rbp + 0xa8], cx
lea eax, [rdx + 0x58]
mov word [rbp + 0xaa], ax
lea eax, [rdx + 0x54]
mov word [rbp + 0xac], ax
mov word [rbp + 0xae], dx
lea eax, [rdx + 0x53]
mov word [rbp + 0xb0], ax
lea eax, [rdx + 0x48]
mov word [rbp + 0xb2], ax
mov word [rbp + 0xb4], cx
mov word [rbp + 0xb6], r9w
mov word [rbp + 0xb8], r9w
lea r10d, [rdx + 0x43]
mov word [rbp + 0xba], r10w
lea r9d, [rdx + 0x4f]
mov word [rbp + 0xbc], r9w
lea edi, [rdx + 0x44]
mov word [rbp + 0xbe], di
mov word [rbp + 0xc0], cx
mov word [rbp + 0xc2], dx
mov word [rbp + 0xc4], r10w
mov word [rbp + 0xc6], ax
lea eax, [rdx + 0x55]
mov word [rbp + 0xc8], ax
mov word [rbp + 0xca], r8w
lea eax, [rdx + 0x4b]
mov word [rbp + 0xcc], ax
mov word [rbp + 0xce], dx
lea eax, [rdx + 0x57]
mov word [rbp + 0xd0], ax
lea eax, [rdx + 0x52]
mov word [rbp + 0xd2], ax
mov word [rbp + 0xd4], r11w
lea r10d, [rdx + 0x54]
mov word [rbp + 0xd6], r10w
mov word [rbp + 0xd8], cx
mov word [rbp + 0xda], dx
mov word [rbp + 0xdc], r9w
lea edx, [rcx + 0xb]
mov word [rbp + 0xde], dx
mov word [rbp + 0xe0], cx
mov word [rbp + 0xe2], ax
lea edi, [rcx - 4]
mov word [rbp + 0xe4], di
mov eax, r10d
mov word [rbp + 0xe6], ax
mov word [rbp + 0xe8], r11w
mov word [rbp + 0xea], r9w
mov word [rbp + 0xec], r8w
lea r10d, [rcx - 0x37]
mov word [rbp + 0xee], r10w
mov word [rbp + 0xf0], bx
movzx eax, word [rbp + 0x8c]
mov rcx, rbx
lea r9d, [r11 - 0x6c]
movzx eax, word [rbp + rcx*2 + 0x8c]
sub ax, 4
mov word [rbp + rcx*2 + 0x8c], ax
add rcx, r9
cmp rcx, r10
jb 0x18022d169
lea rcx, [rbp + 0x8c]
call fcn.18007aae4
nop
xor edx, edx
lea r8d, [rdx + 0x66]
lea rcx, [rbp + 0x8c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rdi, qword [rbp + 0x138]
mov r8, qword [0x1802b61e0]
xor edx, edx
mov rcx, r8
call fcn.1800bcb28
and r12d, r15d
test rdi, rdi
je 0x18022d1fd
mov rdx, qword [rbp + 0x148]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x18022d1f4
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18022d587
mov rcx, rdi
call fcn.180269534
nop
mov rcx, qword [rbp + 0x110]
test rcx, rcx
je 0x18022d23d
mov rdx, qword [rbp + 0x120]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18022d238
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18022d5cf
call fcn.180269534
add r14, 0x28
mov r15, qword [rbp + 0x1d0]
mov edi, 1
cmp r14, r13
jne 0x18022cccc
mov ebx, r12d
lea rcx, [rbp + 0xf8]
call fcn.18024b170
mov eax, ebx
jmp 0x18022d5e8
mov dword [rsp + 0x5c], 0x38
mov eax, dword [rsp + 0x5c]
xor ax, 0x21
mov word [rsp + 0x60], ax
mov eax, dword [rsp + 0x5c]
mov r9d, 1
add ax, r9w
xor ax, 0x20
mov word [rsp + 0x62], ax
mov eax, dword [rsp + 0x5c]
add ax, 2
xor ax, 0x46
mov word [rsp + 0x64], ax
mov eax, dword [rsp + 0x5c]
add ax, 3
lea r8d, [r9 + 0x60]
xor ax, r8w
mov word [rsp + 0x66], ax
mov eax, dword [rsp + 0x5c]
add ax, 4
lea r15d, [r9 + 0x73]
xor ax, r15w
mov word [rsp + 0x68], ax
mov eax, dword [rsp + 0x5c]
add ax, 5
xor ax, r8w
mov word [rsp + 0x6a], ax
mov eax, dword [rsp + 0x5c]
add ax, 6
lea edx, [r9 + 0x6b]
xor ax, dx
mov word [rsp + 0x6c], ax
mov eax, dword [rsp + 0x5c]
add ax, 7
xor ax, 0x20
mov word [rsp + 0x6e], ax
mov eax, dword [rsp + 0x5c]
add ax, 8
xor ax, 0x66
mov word [rsp + 0x70], ax
mov eax, dword [rsp + 0x5c]
add ax, 9
xor ax, r8w
mov word [rsp + 0x72], ax
mov eax, dword [rsp + 0x5c]
add ax, 0xa
lea r8d, [r9 + 0x68]
xor ax, r8w
mov word [rsp + 0x74], ax
mov eax, dword [rsp + 0x5c]
add ax, 0xb
xor ax, dx
mov word [rsp + 0x76], ax
mov eax, dword [rsp + 0x5c]
add ax, 0xc
lea r10d, [r9 + 0x74]
xor ax, r10w
mov word [rsp + 0x78], ax
mov eax, dword [rsp + 0x5c]
add ax, 0xd
lea r11d, [r9 + 0x71]
xor ax, r11w
mov word [rsp + 0x7a], ax
mov eax, dword [rsp + 0x5c]
add ax, 0xe
xor ax, 0x65
mov word [rsp + 0x7c], ax
mov eax, dword [rsp + 0x5c]
add ax, 0xf
xor ax, 0x2e
mov word [rsp + 0x7e], ax
xor eax, eax
mov word [rbp - 0x80], ax
movzx eax, word [rsp + 0x60]
mov rdx, rbx
movzx eax, word [rsp + rdx*2 + 0x60]
mov ecx, dword [rsp + 0x5c]
add cx, dx
xor cx, ax
mov word [rsp + rdx*2 + 0x60], cx
add rdx, r9
cmp rdx, 0x10
jb 0x18022d3aa
mov word [rbp - 0x80], bx
mov eax, 0x67
mov word [rbp + 0x2c], ax
mov eax, 0x2d
mov word [rbp + 0x2e], ax
mov word [rbp + 0x30], r8w
lea r8d, [rax - 1]
mov word [rbp + 0x32], r8w
lea eax, [r8 + 0x37]
mov word [rbp + 0x34], ax
lea ecx, [rax + 0x1b]
mov word [rbp + 0x36], cx
mov word [rbp + 0x38], r10w
lea edx, [rax + 0x1d]
mov word [rbp + 0x3a], dx
lea r12d, [r8 + 0x45]
mov word [rbp + 0x3c], r12w
lea eax, [rcx - 0x22]
mov word [rbp + 0x3e], ax
mov word [rbp + 0x40], cx
lea edi, [rcx - 3]
mov word [rbp + 0x42], di
lea r14d, [r8 + 0x43]
mov word [rbp + 0x44], r14w
mov word [rbp + 0x46], r12w
lea eax, [rcx + 1]
mov word [rbp + 0x48], ax
mov word [rbp + 0x4a], ax
lea eax, [rcx - 0x25]
mov word [rbp + 0x4c], ax
mov word [rbp + 0x4e], r12w
lea eax, [rcx - 5]
mov word [rbp + 0x50], ax
mov word [rbp + 0x52], di
mov word [rbp + 0x54], cx
lea eax, [rcx + 7]
mov word [rbp + 0x56], ax
mov word [rbp + 0x58], r8w
mov word [rbp + 0x5a], r14w
mov word [rbp + 0x5c], r15w
lea ecx, [rdx + 1]
mov word [rbp + 0x5e], cx
lea eax, [rdx - 6]
mov word [rbp + 0x60], ax
lea r13d, [r8 + 0x4b]
mov word [rbp + 0x62], r13w
mov word [rbp + 0x64], r12w
lea edi, [rdx - 0x10]
mov word [rbp + 0x66], di
mov word [rbp + 0x68], r8w
mov word [rbp + 0x6a], r11w
lea r11d, [r8 + 0x41]
mov word [rbp + 0x6c], r11w
mov word [rbp + 0x6e], r10w
lea r10d, [r8 + 0x4c]
mov word [rbp + 0x70], r10w
mov word [rbp + 0x72], r12w
mov word [rbp + 0x74], di
mov word [rbp + 0x76], r8w
mov word [rbp + 0x78], r11w
mov word [rbp + 0x7a], dx
mov word [rbp + 0x7c], r8w
mov word [rbp + 0x7e], r14w
mov word [rbp + 0x80], r15w
mov word [rbp + 0x82], cx
mov word [rbp + 0x84], ax
mov word [rbp + 0x86], r13w
mov word [rbp + 0x88], r8w
mov word [rbp + 0x8a], bx
movzx eax, word [rbp + 0x2c]
mov rcx, rbx
movzx eax, word [rbp + rcx*2 + 0x2c]
sub ax, 0xc
mov word [rbp + rcx*2 + 0x2c], ax
add rcx, r9
cmp rcx, 0x2f
jb 0x18022d504
lea r8, [rsp + 0x60]
mov rdx, rsi
lea rcx, [rbp + 0x2c]
call fcn.180135dc8
nop
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp + 0x2c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x22]
lea rcx, [rsp + 0x60]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x18022d594
mov rdx, qword [rbp + 0x148]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18022d58e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18022d58e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
nop
mov rcx, qword [rbp + 0x110]
test rcx, rcx
je 0x18022d259
mov rdx, qword [rbp + 0x120]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18022d5d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18022d5d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
jmp 0x18022d259
mov r9, r10
call fcn.18022bad8
mov rbx, qword [rsp + 0x2d8]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret