Function at 0x14000275e
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
movaps xmmword [rsp + 0x150], xmm6
mov qword [rsp + 0xb0], rdx
mov qword [rsp + 0xa8], rcx
lea rdi, [rsp + 0x30]
xorps xmm6, xmm6
lea r12, [0x1403bdd22]
mov rcx, rdi
mov rdx, qword [rsp + 0xb0]
call fcn.14000a952
mov r15b, byte [rsp + 0x30]
cmp r15b, 0x13
jne 0x140002992
mov r14, qword [rsp + 0x38]
test r14, r14
je 0x140002e31
mov rax, qword [rsp + 0xb0]
mov rsi, qword [rax + 0x10]
mov rdx, qword [r14]
mov r8d, 2
mov rcx, rdi
call fcn.140223ddd
mov r15b, byte [rsp + 0x30]
cmp r15b, 0x13
jne 0x140002992
movups xmm0, xmmword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
movups xmmword [rsp + 0x108], xmm0
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0xd0]
mov rdx, rsi
lea r8, [rsp + 0x108]
call fcn.14000e48c
lea rax, [0x1403b7233]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
movabs rax, 0xbec1b40d99290811
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
call fcn.140203ceb
movaps xmmword [rsp + 0x30], xmm6
mov r9b, 1
xor edx, edx
movzx r8d, byte [rdx + r12]
mov rcx, rdx
or rcx, 1
movzx esi, byte [rcx + r12]
mov rcx, rdx
or rcx, 2
movzx r10d, byte [rcx + r12]
mov rcx, rdx
or rcx, 3
movzx r11d, byte [rcx + r12]
mov rcx, rdx
or rcx, 4
movzx ebx, byte [rcx + r12]
mov rcx, rdx
or rcx, 5
movzx ecx, byte [rcx + r12]
mov rbp, rdx
or rbp, 7
mov rdi, rdx
or rdi, 6
movzx edi, byte [rdi + r12]
movzx ebp, byte [rbp + r12]
shl rbp, 0x38
shl rdi, 0x30
or rdi, rbp
shl rcx, 0x28
shl rbx, 0x20
shl r11, 0x18
shl r10, 0x10
shl rsi, 8
or rsi, r8
or rsi, r10
or rsi, r11
or rsi, rbx
or rsi, rcx
or rsi, rdi
xor rsi, qword [rax + rdx]
mov qword [rsp + rdx + 0x30], rsi
mov edx, 8
test r9b, 1
mov r9d, 0
jne 0x140002857
mov ecx, dword [rax + 0x10]
mov edx, 0x3d010bb0
xor ecx, edx
mov dword [rsp + 0x40], ecx
movzx eax, word [rax + 0x14]
xor eax, 0xb4eb
mov word [rsp + 0x44], ax
mov ecx, 0x16
mov edx, 1
call fcn.14002c720
test rax, rax
je 0x140002e9e
mov r13, rax
mov rax, qword [rsp + 0x3e]
mov qword [r13 + 0xe], rax
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [r13], xmm0
mov rdi, qword [rsp + 0xd8]
test rdi, rdi
je 0x140002ae7
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x14051f200]
xor edx, edx
mov r8, r13
call qword [sym.imp.KERNEL32.DLL_HeapFree]
mov r13, rdi
jmp 0x140002afe
movzx eax, byte [rsp + 0x37]
shl eax, 0x10
movzx ecx, word [rsp + 0x35]
or ecx, eax
shl rcx, 0x20
mov edi, dword [rsp + 0x31]
or rdi, rcx
mov r8, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r9, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov esi, 1
xor r14d, r14d
mov dword [rsp + 0x39], edi
mov rax, rdi
shr rax, 0x30
mov byte [rsp + 0x3f], al
mov rax, rdi
shr rax, 0x20
mov word [rsp + 0x3d], ax
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdx
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], r15b
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r9
test r14b, r14b
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x98], rdi
je 0x140002ac1
mov ecx, 9
lea rdi, [rsp + 0x108]
lea rsi, [rsp + 0x38]
rep movsq qword [rdi], qword [rsi]
cmp qword [rsp + 0x118], 0
lea rdi, [rsp + 0x30]
je 0x140002ad5
cmp qword [rsp + 0x148], 0
je 0x140002ad5
mov rax, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
movups xmm0, xmmword [rcx + 0x10]
movups xmm1, xmmword [rcx + 0x20]
movups xmm2, xmmword [rcx + 0x30]
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xe0], xmm1
movaps xmmword [rsp + 0xf0], xmm2
mov rcx, qword [rcx + 0x40]
mov qword [rsp + 0x100], rcx
test r8, r8
je 0x140002798
jmp 0x140002e43
lea rcx, [rsp + 0x38]
call fcn.140006830
lea rdi, [rsp + 0x30]
jmp 0x140002798
lea rcx, [rsp + 0x108]
call fcn.1400adaba
jmp 0x140002798
mov eax, 0x16
mov qword [rsp + 0x28], rax
mov eax, 0x16
mov qword [rsp + 0x80], rax
lea rbp, [rsp + 0x30]
mov rdx, qword [r14]
mov rcx, rbp
xor r8d, r8d
call fcn.140224046
mov r15b, byte [rsp + 0x30]
cmp r15b, 0x13
jne 0x140002c0c
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rdx, qword [r14]
mov r8d, 1
mov rcx, rbp
call fcn.140224046
mov r15b, byte [rsp + 0x30]
cmp r15b, 0x13
jne 0x140002cb9
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0xa0], rsi
mov r15, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xc0], rax
mov rcx, rbp
mov rdx, r13
mov r8, qword [rsp + 0x28]
call fcn.14005ed00
cmp qword [rsp + 0x30], 0
je 0x140002daa
cmp byte [rsp + 0x40], 2
mov r8, rbx
je 0x140002dad
cmp qword [rsp + 0x80], 0
je 0x140002bc0
mov rcx, qword [0x14051f200]
xor edx, edx
mov r8, r13
call qword [sym.imp.KERNEL32.DLL_HeapFree]
mov r8, rbx
test r15, r15
mov rbx, qword [rsp + 0xa0]
je 0x140002bdc
mov rcx, qword [0x14051f200]
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_HeapFree]
mov esi, 1
mov r15b, 0xf
test rbx, rbx
je 0x140002dfe
mov rcx, qword [0x14051f200]
xor r14d, r14d
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.DLL_HeapFree]
mov esi, 1
jmp 0x140002e01
movzx eax, byte [rsp + 0x37]
shl eax, 0x10
movzx ecx, word [rsp + 0x35]
or ecx, eax
shl rcx, 0x20
mov edi, dword [rsp + 0x31]
or rdi, rcx
mov r8, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov r9, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov esi, 1
cmp qword [rsp + 0x80], 0
je 0x140002d9f
mov qword [rsp + 0x90], rcx
mov rcx, qword [0x14051f200]
xor r14d, r14d
mov qword [rsp + 0x88], rdx
xor edx, edx
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x98], r8
mov r8, r13
mov r13, rax
call qword [sym.imp.KERNEL32.DLL_HeapFree]
mov esi, 1
mov r8, qword [rsp + 0x98]
mov r9, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
jmp 0x1400029d7
mov r10, rdi
movzx eax, byte [rsp + 0x37]
shl eax, 0x10
movzx r14d, word [rsp + 0x35]
or r14d, eax
shl r14, 0x20
mov edi, dword [rsp + 0x31]
mov r8, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xa0], rax
mov r9, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
test rsi, rsi
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x28], r9
je 0x140002d47
mov rcx, qword [0x14051f200]
xor edx, edx
mov rsi, r8
mov r8, r10
call qword [sym.imp.KERNEL32.DLL_HeapFree]
mov r8, rsi
mov r9, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
or rdi, r14
mov esi, 1
cmp qword [rsp + 0x80], 0
je 0x140002dee
mov rcx, qword [0x14051f200]
xor r14d, r14d
xor edx, edx
mov qword [rsp + 0x98], r8
mov r8, r13
call qword [sym.imp.KERNEL32.DLL_HeapFree]
mov esi, 1
mov r8, qword [rsp + 0x98]
mov r9, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
jmp 0x140002df1
xor r14d, r14d
mov r13, rax
jmp 0x1400029d7
mov r8, rbx
mov rdx, rdi
mov rdi, r15
shr rdi, 8
mov r14b, 1
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc8], rax
mov rbp, qword [rsp + 0x80]
xor esi, esi
mov r9, qword [rsp + 0x28]
mov rbx, qword [rsp + 0xc0]
jmp 0x1400029d7
xor r14d, r14d
mov r13, qword [rsp + 0xa0]
jmp 0x1400029d7
xor r14d, r14d
mov r9, qword [rsp + 0x28]
mov rbp, r9
mov rbx, r13
mov r8, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x98]
jmp 0x1400029d7
mov rax, qword [rsp + 0xa8]
mov qword [rax + 8], 0
jmp 0x140002e82
mov rcx, qword [rsp + 0x100]
mov rdx, qword [rsp + 0xa8]
mov qword [rdx + 0x40], rcx
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmm1, xmmword [rsp + 0xe0]
movaps xmm2, xmmword [rsp + 0xf0]
movups xmmword [rdx + 0x30], xmm2
movups xmmword [rdx + 0x20], xmm1
movups xmmword [rdx + 0x10], xmm0
mov qword [rdx], rax
mov qword [rdx + 8], r8
movaps xmm6, xmmword [rsp + 0x150]
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 0x16
mov edx, 1
call fcn.1403af440
ud2