Function at 0x140247018
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.1400cea6c
nop
mov r9, rdi
mov r8, qword [rsp + 0x120]
mov rdx, r14
mov rcx, rsi
call fcn.140243c58
test eax, eax
je 0x14024738d
mov dword [rsp + 0x94], 4
lea eax, [rbx + 0x5f]
mov word [rsp + 0x98], ax
lea eax, [rbx + 0x2f]
mov word [rsp + 0x9a], ax
lea eax, [rbx + 0x59]
mov word [rsp + 0x9c], ax
lea r11d, [rbx + 0x24]
mov word [rsp + 0x9e], r11w
lea eax, [rbx + 0x53]
mov word [rsp + 0xa0], ax
lea eax, [rbx + 0x6d]
mov word [rsp + 0xa2], ax
lea edx, [rbx + 0x74]
mov word [rsp + 0xa4], dx
lea ecx, [rbx + 0x61]
mov word [rsp + 0xa6], cx
lea esi, [rbx + 0x60]
mov word [rsp + 0xa8], si
mov word [rsp + 0xaa], r11w
mov word [rsp + 0xac], dx
lea r9d, [rbx + 0x76]
mov word [rsp + 0xae], r9w
lea edi, [rbx + 0x6b]
mov word [rsp + 0xb0], di
lea r10d, [rbx + 0x67]
mov word [rsp + 0xb2], r10w
mov word [rsp + 0xb4], cx
lea r12d, [rbx + 0x77]
mov word [rsp + 0xb6], r12w
mov word [rsp + 0xb8], r12w
mov word [rsp + 0xba], r11w
lea eax, [rbx + 0x54]
mov word [rsp + 0xbc], ax
lea eax, [rbx + 0x41]
mov word [rsp + 0xbe], ax
mov word [rsp + 0xc0], r11w
lea r15d, [rbx + 0x6c]
mov word [rsp + 0xc2], r15w
mov word [rsp + 0xc4], cx
lea r8d, [rbx + 0x65]
mov word [rsp + 0xc6], r8w
mov word [rsp + 0xc8], si
mov word [rsp + 0xca], cx
mov word [rsp + 0xcc], r9w
mov word [rsp + 0xce], r12w
lea r13d, [rbx + 0x2a]
mov word [rsp + 0xd0], r13w
mov word [rsp + 0xd2], r11w
lea r8d, [rbx + 0x43]
mov word [rsp + 0xd4], r8w
mov word [rsp + 0xd6], di
mov word [rsp + 0xd8], di
mov word [rsp + 0xda], si
mov word [rsp + 0xdc], r11w
lea r11d, [rbx + 0x68]
mov word [rsp + 0xde], r11w
lea eax, [rbx + 0x71]
mov word [rsp + 0xe0], ax
mov word [rsp + 0xe2], r10w
lea r14d, [rbx + 0x6f]
mov word [rsp + 0xe4], r14w
lea ecx, [rbx + 0x24]
mov word [rsp + 0xe6], cx
lea r11d, [rbx + 0x73]
mov word [rsp + 0xe8], r11w
lea r14d, [rbx + 0x6d]
mov word [rsp + 0xea], r14w
lea ecx, [rbx + 0x70]
mov word [rsp + 0xec], cx
mov word [rsp + 0xee], r15w
lea r15d, [rbx + 0x24]
mov word [rsp + 0xf0], r15w
mov word [rsp + 0xf2], dx
mov word [rsp + 0xf4], r9w
mov word [rsp + 0xf6], di
mov word [rsp + 0xf8], r10w
lea ecx, [rbx + 0x61]
mov word [rsp + 0xfa], cx
mov word [rsp + 0xfc], r12w
mov word [rsp + 0xfe], r12w
mov word [rsp + 0x100], r15w
mov word [rsp + 0x102], si
mov word [rsp + 0x104], ax
lea ecx, [rbx + 0x69]
mov word [rsp + 0x106], cx
mov word [rsp + 0x108], dx
mov word [rsp + 0x10a], r14w
lea edx, [rbx + 0x6a]
mov word [rsp + 0x10c], dx
lea eax, [rbx + 0x63]
mov word [rsp + 0x10e], ax
mov word [rsp + 0x110], r15w
mov word [rsp + 0x112], dx
mov word [rsp + 0x114], di
mov word [rsp + 0x116], r11w
mov word [rsp + 0x118], r13w
mov word [rsp + 0x11a], r13w
mov word [rsp + 0x11c], r13w
xor eax, eax
mov word [rsp + 0x11e], ax
movzx eax, word [rsp + 0x98]
mov edx, ebx
movzx eax, word [rsp + rdx*2 + 0x98]
mov ecx, dword [rsp + 0x94]
xor cx, ax
mov word [rsp + rdx*2 + 0x98], cx
inc rdx
cmp rdx, r8
jb 0x140247342
mov word [rsp + 0x11e], bx
lea rcx, [rsp + 0x98]
call fcn.1400acf00
nop
mov r8d, 0x88
lea rcx, [rsp + 0x98]
jmp 0x140247583
mov dword [rsp + 0x20], 6
mov eax, 0x5d
mov word [rsp + 0x24], ax
lea r12d, [rax - 0x35]
mov word [rsp + 0x26], r12w
lea eax, [r12 + 0x33]
mov word [rsp + 0x28], ax
lea r15d, [r12 - 2]
mov word [rsp + 0x2a], r15w
lea eax, [r12 + 0x1d]
mov word [rsp + 0x2c], ax
lea ecx, [rax + 0x24]
mov word [rsp + 0x2e], cx
lea r11d, [r12 + 0x4b]
mov word [rsp + 0x30], r11w
lea edx, [rax + 0x25]
mov word [rsp + 0x32], dx
lea edi, [rax + 0x1d]
mov word [rsp + 0x34], di
mov word [rsp + 0x36], r15w
lea r11d, [r12 + 0x40]
mov word [rsp + 0x38], r11w
mov word [rsp + 0x3a], cx
lea eax, [rcx + 9]
mov word [rsp + 0x3c], ax
mov word [rsp + 0x3e], r15w
lea eax, [rcx + 8]
mov word [rsp + 0x40], ax
lea r14d, [r12 + 0x47]
mov word [rsp + 0x42], r14w
lea r9d, [r12 + 0x4e]
mov word [rsp + 0x44], r9w
lea eax, [rcx - 6]
mov word [rsp + 0x46], ax
mov word [rsp + 0x48], r15w
mov word [rsp + 0x4a], r9w
lea edx, [rcx + 0xb]
mov word [rsp + 0x4c], dx
mov word [rsp + 0x4e], cx
lea r8d, [r12 + 0x3d]
mov word [rsp + 0x50], r8w
mov word [rsp + 0x52], ax
lea r9d, [r12 + 0x4d]
mov word [rsp + 0x54], r9w
mov word [rsp + 0x56], r9w
mov word [rsp + 0x58], r15w
lea r8d, [r12 + 0x2e]
mov word [rsp + 0x5a], r8w
lea r8d, [r12 + 0x1b]
mov word [rsp + 0x5c], r8w
mov word [rsp + 0x5e], r15w
lea r14d, [r12 + 0x46]
mov word [rsp + 0x60], r14w
mov word [rsp + 0x62], ax
lea r10d, [r12 + 0x3f]
mov word [rsp + 0x64], r10w
mov word [rsp + 0x66], di
mov word [rsp + 0x68], ax
mov word [rsp + 0x6a], dx
mov word [rsp + 0x6c], r9w
mov word [rsp + 0x6e], r15w
lea esi, [rcx - 9]
mov word [rsp + 0x70], si
mov word [rsp + 0x72], cx
mov word [rsp + 0x74], dx
mov word [rsp + 0x76], r15w
mov word [rsp + 0x78], r9w
mov word [rsp + 0x7a], cx
lea edi, [rcx + 2]
mov word [rsp + 0x7c], di
mov word [rsp + 0x7e], ax
mov word [rsp + 0x80], r15w
mov word [rsp + 0x82], dx
mov word [rsp + 0x84], ax
mov word [rsp + 0x86], r10w
mov word [rsp + 0x88], r9w
mov word [rsp + 0x8a], cx
mov word [rsp + 0x8c], r11w
mov word [rsp + 0x8e], r12w
xor eax, eax
mov word [rsp + 0x90], ax
movzx eax, word [rsp + 0x24]
mov rdx, rbx
movzx eax, word [rsp + rdx*2 + 0x24]
mov ecx, dword [rsp + 0x20]
xor cx, ax
mov word [rsp + rdx*2 + 0x24], cx
inc rdx
cmp rdx, 0x36
jb 0x14024754e
mov word [rsp + 0x90], bx
lea rcx, [rsp + 0x24]
call fcn.1400acf00
nop
mov r8, r14
lea rcx, [rsp + 0x24]
xor edx, edx
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov rcx, qword [rsp + 0x120]
test rcx, rcx
je 0x1402475d1
mov rdx, qword [rsp + 0x130]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402475cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402475cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027b384
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