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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140090080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r14d, r14d
mov dword [rbp - 1], 0x99249921
mov edx, r14d
mov dword [rbp + 3], 0x993e9935
mov r15, r8
mov dword [rbp + 7], 0x997a993f
mov rdi, rcx
mov dword [rbp + 0xb], 0x993a9931
mov dword [rbp + 0xf], 0x993b
mov r12d, 0x66b1
movsxd rax, edx
lea rcx, [rbp - 1]
lea rcx, [rcx + rax*2]
movzx eax, dx
sub ax, r12w
inc edx
xor word [rcx], ax
cmp edx, 9
jb 0x14000baa2
mov rbx, 0xffffffffffffffff
mov word [rbp + 0x11], r14w
mov rax, rbx
lea rcx, [rbp - 1]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14000bad1
add rax, rax
mov qword [rsp + 0xd0], rsi
mov r13d, 0xfffc
lea r9, [rbp - 0x31]
cmp rax, r13
lea r8, [rbp - 0x21]
cmova rax, r13
xor edx, edx
mov word [rbp - 0x21], ax
xor ecx, ecx
add ax, 2
mov word [rbp - 0x1f], ax
lea rax, [rbp - 1]
mov qword [rbp - 0x19], rax
call qword [sym.imp.ntdll.dll_LdrGetDllHandle]
mov r9, qword [rbp - 0x31]
test r9, r9
je 0x14000bbbc
movsxd rax, dword [r9 + 0x3c]
mov r8d, r14d
mov esi, dword [rax + r9 + 0x88]
add rsi, r9
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x14000bbbc
mov r14d, dword [rsi + 0x20]
nop word [rax + rax]
mov r10d, r8d
mov rdx, rdi
lea rax, [r14 + r10*4]
mov eax, dword [rax + r9]
add rax, r9
je 0x14000bb92
test rdi, rdi
je 0x14000bb92
movzx ecx, byte [rax]
cmp cl, byte [rdi]
jne 0x14000bb8e
sub rax, rdi
test cl, cl
je 0x14000bb89
cmp byte [rdx], 0
je 0x14000bb8e
movzx ecx, byte [rax + rdx + 1]
inc rdx
cmp cl, byte [rdx]
je 0x14000bb72
jmp 0x14000bb8e
cmp byte [rdx], 0
je 0x14000bb9c
cmp cl, byte [rdx]
je 0x14000bb9c
inc r8d
cmp r8d, r11d
jb 0x14000bb50
jmp 0x14000bbb9
mov ecx, dword [rsi + 0x24]
add rcx, r9
movzx edx, word [rcx + r10*2]
mov ecx, dword [rsi + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jne 0x14000bcf1
xor r14d, r14d
xor eax, eax
mov dword [rbp + 0x17], 0x99399938
mov word [rbp + 0x2b], ax
mov edx, r14d
mov dword [rbp + 0x1b], 0x9961993f
mov dword [rbp + 0x1f], 0x99219961
mov dword [rbp + 0x23], 0x9932997b
mov dword [rbp + 0x27], 0x9934993b
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x17]
lea rcx, [rcx + rax*2]
movzx eax, dx
sub ax, r12w
inc edx
xor word [rcx], ax
cmp edx, 0xa
jb 0x14000bbf0
mov word [rbp + 0x2b], r14w
lea rax, [rbp + 0x17]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000bc15
add rbx, rbx
lea rax, [rbp + 0x17]
cmp rbx, r13
mov qword [rbp - 9], rax
lea r9, [rbp - 0x29]
cmova rbx, r13
lea r8, [rbp - 0x11]
mov word [rbp - 0x11], bx
xor edx, edx
add bx, 2
xor ecx, ecx
mov word [rbp - 0xf], bx
call qword [sym.imp.ntdll.dll_LdrGetDllHandle]
mov r10, qword [rbp - 0x29]
test r10, r10
je 0x14000bcd5
movsxd rax, dword [r10 + 0x3c]
mov r9d, r14d
mov ebx, dword [rax + r10 + 0x88]
add rbx, r10
mov esi, dword [rbx + 0x18]
test esi, esi
je 0x14000bcd5
mov r14d, dword [rbx + 0x20]
nop word [rax + rax]
mov r11d, r9d
mov rdx, rdi
lea rax, [r10 + r11*4]
mov r8d, dword [rax + r14]
add r8, r10
je 0x14000bcca
test rdi, rdi
je 0x14000bcca
movzx eax, byte [r8]
cmp al, byte [rdi]
jne 0x14000bcc0
sub r8, rdi
test al, al
je 0x14000bcbb
cmp byte [rdx], 0
je 0x14000bcc0
movzx eax, byte [r8 + rdx + 1]
inc rdx
cmp al, byte [rdx]
je 0x14000bca3
jmp 0x14000bcc0
cmp byte [rdx], 0
je 0x14000bcda
movsx ecx, byte [rdx]
movsx edx, al
cmp edx, ecx
je 0x14000bcda
inc r9d
cmp r9d, esi
jb 0x14000bc80
xor r14d, r14d
mov rax, r14
jmp 0x14000bcf4
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r11*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
xor r14d, r14d
mov eax, dword [rax + 4]
xor r9d, r9d
mov dword [rbp - 0x39], eax
xor r8d, r8d
lea rax, [rbp - 0x39]
mov qword [rsp + 0x28], r14
mov rdx, r15
mov qword [rsp + 0x20], rax
xor ecx, ecx
call fcn.14000e300
mov rsi, qword [rsp + 0xd0]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140071860
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret