Function at 0x14002fb60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14009e018]
xor rax, rsp
mov qword [rbp + 8], rax
mov rcx, qword [0x1400a3478]
xor ebx, ebx
mov edi, 0x5017
test rcx, rcx
je 0x14002fd70
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
mov edx, 0xf020
call qword [rax + 0x28]
test eax, eax
js 0x14002fd70
mov ecx, 0xbbcebb48
call fcn.140028900
mov rdx, rax
movzx ecx, word [rax]
xor cx, di
mov word [rbp - 0x20], cx
movzx ecx, word [rax + 2]
xor cx, di
mov word [rbp - 0x1e], cx
movzx ecx, word [rax + 4]
xor cx, di
mov word [rbp - 0x1c], cx
movzx ecx, word [rax + 6]
xor cx, di
mov word [rbp - 0x1a], cx
lea rcx, [rbp - 0x20]
movzx eax, word [rax + 8]
xor ax, di
mov word [rbp - 0x18], ax
movzx eax, word [rdx + 0xa]
xor ax, di
mov word [rbp - 0x16], ax
movzx eax, word [rdx + 0xc]
xor ax, di
mov word [rbp - 0x14], ax
movzx eax, word [rdx + 0xe]
xor ax, di
mov word [rbp - 0x12], ax
movzx eax, word [rdx + 0x10]
xor ax, di
mov word [rbp - 0xe], bx
mov word [rbp - 0x10], ax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9, rax
test rax, rax
je 0x14002fd70
mov ecx, 0x7d2ccae8
call fcn.140029de0
mov r8, rax
mov edx, ebx
lea rcx, [rax + 0x13]
lea rax, [rbp - 0x40]
cmp rax, rcx
ja 0x14002fc62
lea rax, [rbp - 0x2d]
cmp rax, r8
jae 0x14002fc79
movdqu xmm0, xmmword [r8]
mov edx, 0x10
pxor xmm0, xmmword [0x140093500]
movdqu xmmword [rbp - 0x40], xmm0
lea rax, [rbp - 0x40]
sub r8, rax
lea rcx, [rbp - 0x40]
add rcx, rdx
inc rdx
movzx eax, byte [r8 + rcx]
xor al, 0x88
mov byte [rcx], al
cmp rdx, 0x14
jb 0x14002fc80
lea rdx, [rbp - 0x40]
mov byte [rbp - 0x2c], bl
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
test rax, rax
je 0x14002fd70
mov ecx, 0x7b9b8685
call fcn.140028f90
mov r8, rax
lea rcx, [rbp - 0x20]
call fcn.14002d210
mov rdx, rax
lea rcx, [rsp + 0x70]
call r11
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov dword [rsp + 0x58], ebx
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x50], rbx
lea r9, [rbp - 0x80]
mov dword [rsp + 0x48], 0x20
xorps xmm0, xmm0
mov dword [rsp + 0x40], 1
mov r8d, 0xc0100080
mov dword [rsp + 0x38], 1
mov dword [rbp - 0x80], 0x30
mov qword [rbp - 0x78], rbx
mov dword [rbp - 0x68], 0x40
mov qword [rbp - 0x70], rax
movdqu xmmword [rbp - 0x60], xmm0
mov rax, qword [rcx]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x60]
call qword [rax + 0xb0]
test eax, eax
js 0x14002fd70
mov rcx, qword [rsp + 0x60]
call fcn.14002f270
test eax, eax
je 0x14002fd65
mov rax, qword [rsp + 0x60]
jmp 0x14002feae
mov rcx, qword [rsp + 0x60]
call qword [0x1400692d0]
mov ecx, 0xfd298e81
call fcn.14002e220
mov r8, rax
mov rdx, rbx
lea rcx, [rax + 0x16]
lea rax, [rbp - 0x40]
cmp rax, rcx
ja 0x14002fd96
lea rax, [rbp - 0x2a]
cmp rax, r8
jae 0x14002fdad
movdqu xmm0, xmmword [r8]
mov edx, 8
pxor xmm0, xmmword [0x1400934f0]
movdqu xmmword [rbp - 0x40], xmm0
lea rax, [rbp - 0x40]
sub r8, rax
lea rax, [r8 + rdx*2]
movzx ecx, word [rbp + rax - 0x40]
xor cx, di
mov word [rbp + rdx*2 - 0x40], cx
inc rdx
cmp rdx, 0xc
jb 0x14002fdb4
mov qword [rsp + 0x30], rbx
lea rcx, [rbp - 0x40]
mov dword [rsp + 0x28], ebx
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
mov word [rbp - 0x28], bx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x60], rax
cmp rax, 0xffffffffffffffff
je 0x14002fe1e
mov rcx, rax
call fcn.14002f270
test eax, eax
jne 0x14002fd5b
mov rcx, qword [rsp + 0x60]
call qword [0x1400692d0]
mov ecx, 0xfd298e81
call fcn.14002ed00
lea rcx, [rbp - 0x20]
mov r9, rbx
sub rax, rcx
nop dword [rax]
nop word [rax + rax]
lea r8, [rbp - 0x20]
add r8, r9
inc r9
movzx ecx, byte [r8 + rax]
xor cl, 0x88
mov byte [r8], cl
cmp r9, 0xc
jb 0x14002fe40
mov qword [rsp + 0x30], rbx
lea rcx, [rbp - 0x20]
mov dword [rsp + 0x28], ebx
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
mov byte [rbp - 0x14], bl
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x60], rax
cmp rax, 0xffffffffffffffff
je 0x14002feaa
mov rcx, rax
call fcn.14002f270
test eax, eax
jne 0x14002fd5b
mov rcx, qword [rsp + 0x60]
call qword [0x1400692d0]
or rax, 0xffffffffffffffff
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140051aa0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret