Function at 0x140242fc0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x1f0
mov qword [rbp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r13, r9
mov r12, r8
mov r15, rdx
mov r14, rcx
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9, rcx
mov r8d, 4
mov rdx, r13
mov rcx, r15
call fcn.1401bb4b0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, 1
xor ebx, ebx
cmp r14, rax
jne 0x140243080
test r13, r13
je 0x140243047
mov rcx, r15
sub r12, r15
mov rdx, r13
mov al, byte [r12 + rcx]
mov byte [rcx], al
add rcx, rdi
sub rdx, rdi
jne 0x140243039
mov sil, dil
mov qword [rsp + 0x20], rbx
mov r9, r14
mov r8d, dword [rbp + 0x24]
mov rdx, r13
mov rcx, r15
call fcn.1401bb4b0
movzx eax, sil
mov rbx, qword [rsp + 0x240]
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1402d8b38], eax
jle 0x1402432fd
lea rcx, [0x1402d8b38]
call fcn.14027b540
or rsi, 0xffffffffffffffff
cmp dword [0x1402d8b38], esi
jne 0x1402432fd
lea rax, [rbp + 0x48]
mov qword [rbp + 0x70], rax
lea eax, [rsi + 0x76]
mov dword [rsp + 0x58], eax
mov byte [rsp + 0x5c], 0x3b
mov byte [rsp + 0x5d], dil
mov byte [rsp + 0x5e], 0x22
mov byte [rsp + 0x5f], 7
mov byte [rsp + 0x60], 0x1c
mov byte [rsp + 0x61], dil
lea eax, [rsi + 0x11]
mov byte [rsp + 0x62], al
mov byte [rsp + 0x63], 0x23
mov byte [rsp + 0x64], 0x1c
mov byte [rsp + 0x65], 7
mov byte [rsp + 0x66], dil
mov byte [rsp + 0x67], bl
mov byte [rsp + 0x68], 0x14
mov byte [rsp + 0x69], 0x19
mov byte [rsp + 0x6a], 0x38
mov byte [rsp + 0x6b], al
mov byte [rsp + 0x6c], 0x18
mov byte [rsp + 0x6d], 0x1a
mov byte [rsp + 0x6e], 7
mov byte [rsp + 0x6f], 0xc
xor eax, eax
mov byte [rsp + 0x70], al
mov al, byte [rsp + 0x5c]
mov rdx, rbx
mov al, byte [rsp + rdx + 0x5c]
mov ecx, dword [rsp + 0x58]
xor cl, al
mov byte [rsp + rdx + 0x5c], cl
add rdx, rdi
cmp rdx, 0x14
jb 0x14024313c
mov byte [rsp + 0x70], bl
mov qword [rbp + 0x48], rbx
mov qword [rbp + 0x58], rbx
mov eax, 0xf
mov qword [rbp + 0x60], rax
lea rcx, [rsp + 0x5c]
mov r14, rsi
inc r14
cmp byte [rcx + r14], bl
jne 0x140243170
lea rcx, [rbp + 0x48]
cmp r14, rax
ja 0x14024319b
mov qword [rbp + 0x58], r14
mov r8, r14
lea rdx, [rsp + 0x5c]
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov byte [rbp + r14 + 0x48], bl
jmp 0x1402431a9
lea r9, [rsp + 0x5c]
mov rdx, r14
call fcn.1400ada10
nop
mov byte [rsp + 0x50], 0x70
mov byte [rsp + 0x51], 0x76
mov byte [rsp + 0x52], 0x66
mov eax, 0x6e
mov byte [rsp + 0x53], al
mov byte [rsp + 0x54], al
mov byte [rsp + 0x55], bl
mov al, byte [rsp + 0x50]
mov rcx, rbx
mov r15d, 5
mov al, byte [rsp + rcx + 0x50]
sub al, 2
mov byte [rsp + rcx + 0x50], al
add rcx, rdi
cmp rcx, r15
jb 0x1402431d6
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x38], rbx
mov r14d, 0xf
mov qword [rbp + 0x40], r14
mov byte [rbp + 0x28], bl
lea rax, [rsp + 0x50]
mov r15, qword [rbp + 0x138]
inc rsi
cmp byte [rax + rsi], bl
jne 0x140243209
lea rcx, [rbp + 0x28]
cmp rsi, r14
ja 0x140243232
mov qword [rbp + 0x38], rsi
mov r8, rsi
lea rdx, [rsp + 0x50]
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov byte [rbp + rsi + 0x28], bl
jmp 0x140243240
lea r9, [rsp + 0x50]
mov rdx, rsi
call fcn.1400ada10
nop
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x80]
call fcn.1401a82ac
nop
mov qword [rsp + 0x20], rbx
mov r9b, dil
lea r8, [rbp + 0x48]
mov rdx, rax
lea rcx, [0x1402d8a10]
call fcn.1401db230
nop
mov rdx, qword [rbp + 0x40]
mov eax, 0x10
cmp rdx, rax
jb 0x1402432af
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402432aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402432aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027b384
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x40], r14
mov byte [rbp + 0x28], bl
xor edx, edx
lea r8d, [rdx + 6]
lea rcx, [rsp + 0x50]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x15]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x14028f6a8]
call fcn.14027b36c
nop
lea rcx, [0x1402d8b38]
call fcn.14027b4e0
mov r14, qword [rbp + 0x130]
mov dword [rsp + 0x20], r13d
mov r9, r12
mov r8, r15
mov rdx, r14
lea rcx, [0x1402d8a10]
call fcn.1402650b0
mov r9d, eax
test eax, eax
sete sil
test eax, eax
je 0x14024304a
mov eax, 0x37
mov word [rbp - 0x18], ax
lea r8d, [rax - 0xc]
mov word [rbp - 0x16], r8w
lea r10d, [rax + 2]
mov word [rbp - 0x14], r10w
mov word [rbp - 0x12], r10w
mov word [rbp - 0x10], r10w
lea eax, [r8 + 9]
mov word [rbp - 0xe], ax
mov word [rbp - 0xc], r8w
lea eax, [r8 + 0x46]
mov word [rbp - 0xa], ax
lea r11d, [r8 + 0x41]
mov word [rbp - 8], r11w
lea ecx, [rax + 3]
mov word [rbp - 6], cx
lea eax, [rcx + 3]
mov word [rbp - 4], ax
lea eax, [rcx - 4]
mov word [rbp - 2], ax
lea eax, [rcx - 5]
mov word [rbp], ax
mov word [rbp + 2], r8w
lea eax, [rcx + 0xe]
mov word [rbp + 4], ax
mov word [rbp + 6], cx
lea edx, [rcx + 0xb]
mov word [rbp + 8], dx
lea eax, [rcx - 1]
mov word [rbp + 0xa], ax
mov word [rbp + 0xc], r8w
lea ecx, [rdx - 1]
mov word [rbp + 0xe], cx
mov word [rbp + 0x10], dx
mov word [rbp + 0x12], r11w
mov word [rbp + 0x14], dx
lea eax, [rdx + 1]
mov word [rbp + 0x16], ax
mov word [rbp + 0x18], cx
lea eax, [rdx - 0x3a]
mov word [rbp + 0x1a], ax
mov word [rbp + 0x1c], r8w
lea eax, [rdx - 0x44]
mov word [rbp + 0x1e], ax
lea eax, [rdx + 4]
mov word [rbp + 0x20], ax
mov word [rbp + 0x22], bx
movzx eax, word [rbp - 0x18]
mov rcx, rbx
movzx eax, word [rbp + rcx*2 - 0x18]
sub ax, 0xb
mov word [rbp + rcx*2 - 0x18], ax
add rcx, rdi
cmp rcx, 0x1d
jb 0x1402433ee
mov eax, 0x35
mov word [rsp + 0x74], ax
mov eax, 0x29
mov word [rsp + 0x76], ax
mov word [rsp + 0x78], r10w
mov eax, 0x81
mov word [rsp + 0x7a], ax
mov word [rsp + 0x7c], bx
movzx eax, word [rsp + 0x74]
mov rcx, rbx
mov r14d, 4
movzx eax, word [rsp + rcx*2 + 0x74]
sub ax, 9
mov word [rsp + rcx*2 + 0x74], ax
add rcx, rdi
cmp rcx, r14
jb 0x14024343c
mov r12d, 0xf
mov dword [rbp - 0x50], r12d
lea eax, [r12 + 0x45]
mov word [rbp - 0x4c], ax
lea eax, [r12 + 0x13]
mov word [rbp - 0x4a], ax
lea eax, [r12 + 0x43]
mov word [rbp - 0x48], ax
lea eax, [r12 + 0x20]
mov word [rbp - 0x46], ax
lea eax, [r12 + 0x32]
mov word [rbp - 0x44], ax
lea edx, [rax + 0x3a]
mov word [rbp - 0x42], dx
lea eax, [rdx - 0x23]
mov word [rbp - 0x40], ax
lea r8d, [r12 + 0x6e]
mov word [rbp - 0x3e], r8w
lea r10d, [r12 + 0x57]
mov word [rbp - 0x3c], r10w
mov word [rbp - 0x3a], dx
lea ecx, [rdx - 0x11]
mov word [rbp - 0x38], cx
lea eax, [rdx - 0x22]
mov word [rbp - 0x36], ax
mov word [rbp - 0x34], r10w
mov word [rbp - 0x32], r8w
mov word [rbp - 0x30], dx
lea eax, [rdx - 1]
mov word [rbp - 0x2e], ax
lea eax, [rdx - 0xd]
mov word [rbp - 0x2c], ax
lea eax, [rdx - 0x18]
mov word [rbp - 0x2a], ax
lea eax, [rdx - 0x39]
mov word [rbp - 0x28], ax
mov word [rbp - 0x26], cx
lea eax, [rdx - 0x19]
mov word [rbp - 0x24], ax
lea eax, [rdx - 0x1b]
mov word [rbp - 0x22], ax
mov word [rbp - 0x20], r8w
lea eax, [rdx - 5]
mov word [rbp - 0x1e], ax
lea eax, [rdx - 0x54]
mov word [rbp - 0x1c], ax
xor eax, eax
mov word [rbp - 0x1a], ax
movzx eax, word [rbp - 0x4c]
mov rdx, rbx
mov r14, qword [rbp + 0x130]
movzx eax, word [rbp + rdx*2 - 0x4c]
mov ecx, dword [rbp - 0x50]
xor cx, ax
mov word [rbp + rdx*2 - 0x4c], cx
add rdx, rdi
cmp rdx, 0x19
jb 0x140243520
mov word [rbp - 0x1a], bx
mov dword [rsp + 0x40], r9d
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
lea r9, [rsp + 0x74]
mov r8, r14
lea rcx, [rbp - 0x4c]
call fcn.140278424
nop
xor edx, edx
lea r8d, [rdx + 0x34]
lea rcx, [rbp - 0x4c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rsp + 0x74]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x3c]
lea rcx, [rbp - 0x18]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp byte [0x1402c61a4], bl
jne 0x1402435a9
cmp byte [0x1402c61aa], bl
je 0x14024304a
mov dword [rbp - 0x80], 0x62
mov eax, dword [rbp - 0x80]
xor ax, 0x4e
mov word [rbp - 0x7c], ax
mov eax, dword [rbp - 0x80]
add ax, di
mov edx, 0x74
xor ax, dx
mov word [rbp - 0x7a], ax
mov eax, dword [rbp - 0x80]
add ax, 2
xor ax, 0x57
mov word [rbp - 0x78], ax
mov eax, dword [rbp - 0x80]
add ax, 3
xor ax, 0x72
mov word [rbp - 0x76], ax
mov eax, dword [rbp - 0x80]
add ax, 4
xor ax, 0x69
mov word [rbp - 0x74], ax
mov eax, dword [rbp - 0x80]
add ax, 5
xor ax, dx
mov word [rbp - 0x72], ax
mov eax, dword [rbp - 0x80]
add ax, 6
xor ax, 0x65
mov word [rbp - 0x70], ax
mov eax, dword [rbp - 0x80]
add ax, 7
xor ax, 0x56
mov word [rbp - 0x6e], ax
mov eax, dword [rbp - 0x80]
add ax, 8
xor ax, 0x69
mov word [rbp - 0x6c], ax
mov eax, dword [rbp - 0x80]
add ax, 9
xor ax, 0x72
mov word [rbp - 0x6a], ax
mov eax, dword [rbp - 0x80]
add ax, 0xa
xor ax, dx
mov word [rbp - 0x68], ax
mov eax, dword [rbp - 0x80]
add ax, 0xb
xor ax, 0x75
mov word [rbp - 0x66], ax
mov eax, dword [rbp - 0x80]
add ax, 0xc
xor ax, 0x61
mov word [rbp - 0x64], ax
mov eax, dword [rbp - 0x80]
add ax, 0xd
xor ax, 0x6c
mov word [rbp - 0x62], ax
mov eax, dword [rbp - 0x80]
add ax, 0xe
xor ax, 0x4d
mov word [rbp - 0x60], ax
mov eax, dword [rbp - 0x80]
add ax, r12w
xor ax, 0x65
mov word [rbp - 0x5e], ax
mov eax, dword [rbp - 0x80]
add ax, 0x10
xor ax, 0x6d
mov word [rbp - 0x5c], ax
mov eax, dword [rbp - 0x80]
add ax, 0x11
xor ax, 0x6f
mov word [rbp - 0x5a], ax
mov eax, dword [rbp - 0x80]
add ax, 0x12
xor ax, 0x72
mov word [rbp - 0x58], ax
mov eax, dword [rbp - 0x80]
add ax, 0x13
xor ax, 0x79
mov word [rbp - 0x56], ax
xor eax, eax
mov word [rbp - 0x54], ax
movzx eax, word [rbp - 0x7c]
lea rcx, [rbp - 0x80]
call fcn.1400abb2c
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.1400ac71c
nop
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0xc0]
call fcn.140218438
lea rdx, [0x1402c21a8]
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3