Function at 0x18022f0e0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push r13
push r14
push r15
sub rsp, 0x140
mov qword [rax - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rsi, r8
mov rdi, rdx
mov r14, rcx
xorps xmm0, xmm0
movdqu xmmword [rax - 0x38], xmm0
xor ebx, ebx
mov qword [rax - 0x28], rbx
lea rcx, [rax - 0x38]
call fcn.18009ea50
nop
mov r9, rdi
mov r8, qword [rsp + 0x120]
mov rdx, r14
mov rcx, rsi
call fcn.18022c954
test eax, eax
je 0x18022f44c
lea ecx, [rbx + 0x73]
mov dword [rsp + 0x90], ecx
lea eax, [rbx + 0x28]
mov word [rsp + 0x94], ax
lea eax, [rbx + 0x58]
mov word [rsp + 0x96], ax
lea eax, [rbx + 0x2e]
mov word [rsp + 0x98], ax
lea edx, [rbx + 0x53]
mov word [rsp + 0x9a], dx
lea eax, [rbx + 0x24]
mov word [rsp + 0x9c], ax
lea r13d, [rbx + 0x1a]
mov word [rsp + 0x9e], r13w
lea r12d, [rbx + 3]
mov word [rsp + 0xa0], r12w
lea esi, [rbx + 0x16]
mov word [rsp + 0xa2], si
lea r14d, [rbx + 0x17]
mov word [rsp + 0xa4], r14w
mov word [rsp + 0xa6], dx
mov word [rsp + 0xa8], r12w
lea r8d, [rbx + 1]
mov word [rsp + 0xaa], r8w
lea r15d, [rbx + 0x1c]
mov word [rsp + 0xac], r15w
lea r10d, [rbx + 0x10]
mov word [rsp + 0xae], r10w
mov word [rsp + 0xb0], si
mov word [rsp + 0xb2], bx
mov word [rsp + 0xb4], bx
mov word [rsp + 0xb6], dx
lea eax, [rbx + 0x23]
mov word [rsp + 0xb8], ax
lea r9d, [rbx + 0x36]
mov word [rsp + 0xba], r9w
mov word [rsp + 0xbc], dx
lea r9d, [rbx + 0x1b]
mov word [rsp + 0xbe], r9w
mov word [rsp + 0xc0], si
lea eax, [rbx + 0x12]
mov word [rsp + 0xc2], ax
mov word [rsp + 0xc4], r14w
mov word [rsp + 0xc6], si
mov word [rsp + 0xc8], r8w
mov word [rsp + 0xca], bx
lea r11d, [rbx + 0x5d]
mov word [rsp + 0xcc], r11w
mov word [rsp + 0xce], dx
lea eax, [rbx + 0x34]
mov word [rsp + 0xd0], ax
mov word [rsp + 0xd2], r15w
mov word [rsp + 0xd4], r15w
mov word [rsp + 0xd6], r14w
mov word [rsp + 0xd8], dx
lea edi, [rbx + 0x1f]
mov word [rsp + 0xda], di
lea ecx, [rbx + 6]
mov word [rsp + 0xdc], cx
mov word [rsp + 0xde], r10w
lea eax, [rbx + 0x18]
mov word [rsp + 0xe0], ax
mov word [rsp + 0xe2], dx
lea edx, [rbx + 4]
mov word [rsp + 0xe4], dx
mov word [rsp + 0xe6], r13w
lea eax, [rbx + 7]
mov word [rsp + 0xe8], ax
mov word [rsp + 0xea], r9w
lea r9d, [rbx + 0x53]
mov word [rsp + 0xec], r9w
mov word [rsp + 0xee], r12w
mov word [rsp + 0xf0], r8w
mov word [rsp + 0xf2], r15w
mov word [rsp + 0xf4], r10w
mov word [rsp + 0xf6], si
mov word [rsp + 0xf8], bx
mov word [rsp + 0xfa], bx
mov word [rsp + 0xfc], r9w
mov word [rsp + 0xfe], r14w
mov word [rsp + 0x100], cx
lea eax, [rbx + 0x1e]
mov word [rsp + 0x102], ax
mov word [rsp + 0x104], r12w
mov word [rsp + 0x106], r13w
lea ecx, [rbx + 0x1d]
mov word [rsp + 0x108], cx
lea eax, [rbx + 0x14]
mov word [rsp + 0x10a], ax
mov word [rsp + 0x10c], r9w
mov word [rsp + 0x10e], cx
mov word [rsp + 0x110], r15w
mov word [rsp + 0x112], dx
mov word [rsp + 0x114], r11w
mov word [rsp + 0x116], r11w
mov word [rsp + 0x118], r11w
xor eax, eax
mov word [rsp + 0x11a], ax
movzx eax, word [rsp + 0x94]
mov edx, ebx
movzx eax, word [rsp + rdx*2 + 0x94]
mov ecx, dword [rsp + 0x90]
xor cx, ax
mov word [rsp + rdx*2 + 0x94], cx
add rdx, r8
cmp rdx, 0x43
jb 0x18022f3f8
mov word [rsp + 0x11a], bx
lea rcx, [rsp + 0x94]
call fcn.18007aae4
nop
xor edx, edx
mov r8d, 0x88
lea rcx, [rsp + 0x94]
call qword [sym.imp.VCRUNTIME140.dll_memset]
jmp 0x18022f61d
mov eax, 0x5f
mov word [rsp + 0x20], ax
lea r14d, [rax - 0x2d]
mov word [rsp + 0x22], r14w
lea eax, [r14 + 0x2f]
mov word [rsp + 0x24], ax
lea eax, [r14 - 0xe]
mov word [rsp + 0x26], ax
lea ecx, [rax + 0x23]
mov word [rsp + 0x28], cx
lea ecx, [rax + 0x4f]
mov word [rsp + 0x2a], cx
lea edx, [rax + 0x55]
mov word [rsp + 0x2c], dx
lea edx, [rax + 0x4c]
mov word [rsp + 0x2e], dx
lea r10d, [r14 + 0x36]
mov word [rsp + 0x30], r10w
mov word [rsp + 0x32], ax
lea esi, [rax + 0x4e]
mov word [rsp + 0x34], si
mov word [rsp + 0x36], cx
lea edx, [rax + 0x54]
mov word [rsp + 0x38], dx
mov word [rsp + 0x3a], ax
lea edx, [rax + 0x57]
mov word [rsp + 0x3c], dx
lea edx, [rax + 0x49]
mov word [rsp + 0x3e], dx
lea edx, [rax + 0x50]
mov word [rsp + 0x40], dx
lea edi, [rax + 0x45]
mov word [rsp + 0x42], di
mov word [rsp + 0x44], ax
mov word [rsp + 0x46], dx
lea r11d, [r14 + 0x44]
mov word [rsp + 0x48], r11w
mov word [rsp + 0x4a], cx
lea edx, [rax + 0x43]
mov word [rsp + 0x4c], dx
mov word [rsp + 0x4e], di
lea r9d, [r14 + 0x45]
mov word [rsp + 0x50], r9w
mov word [rsp + 0x52], r9w
mov word [rsp + 0x54], ax
lea edx, [rax + 0x30]
mov word [rsp + 0x56], dx
lea edx, [rax + 0x25]
mov word [rsp + 0x58], dx
mov word [rsp + 0x5a], ax
lea edx, [rax + 0x48]
mov word [rsp + 0x5c], dx
mov word [rsp + 0x5e], di
lea r8d, [r14 + 0x33]
mov word [rsp + 0x60], r8w
mov word [rsp + 0x62], r10w
mov word [rsp + 0x64], di
mov word [rsp + 0x66], r11w
mov word [rsp + 0x68], r9w
mov word [rsp + 0x6a], ax
lea edx, [rax + 0x46]
mov word [rsp + 0x6c], dx
mov word [rsp + 0x6e], cx
mov word [rsp + 0x70], r11w
mov word [rsp + 0x72], ax
mov word [rsp + 0x74], r9w
mov word [rsp + 0x76], cx
lea edx, [rax + 0x4d]
mov word [rsp + 0x78], dx
mov word [rsp + 0x7a], di
mov word [rsp + 0x7c], ax
mov word [rsp + 0x7e], r11w
mov word [rsp + 0x80], di
mov word [rsp + 0x82], r8w
mov word [rsp + 0x84], r9w
mov word [rsp + 0x86], cx
mov word [rsp + 0x88], si
mov word [rsp + 0x8a], r14w
mov word [rsp + 0x8c], bx
movzx eax, word [rsp + 0x20]
mov rcx, rbx
lea edx, [rsi - 0x6e]
lea r8d, [r14 - 0x31]
lea r9d, [r14 + 4]
movzx eax, word [rsp + rcx*2 + 0x20]
sub ax, dx
mov word [rsp + rcx*2 + 0x20], ax
add rcx, r8
cmp rcx, r9
jb 0x18022f5e7
lea rcx, [rsp + 0x20]
call fcn.18007aae4
nop
xor edx, edx
lea r8d, [rdx + 0x6e]
lea rcx, [rsp + 0x20]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov edi, 0x1f
jmp 0x18022f624
mov rcx, qword [rsp + 0x120]
test rcx, rcx
je 0x18022f668
mov rdx, qword [rsp + 0x130]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18022f663
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, rdi
jbe 0x18022f663
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret