Function at 0x140029940
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7d8]
sub rsp, 0x8d8
mov rax, qword [0x1400cc0b8]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov dword [rsp + 0x44], r9d
mov rsi, r8
mov dword [rsp + 0x40], edx
mov r13, rcx
mov r15, qword [rbp + 0x848]
mov dword [rbp - 0x78], 0
mov dword [rbp - 0x70], 2
xor edx, edx
mov r8d, 0x824
lea rcx, [rbp - 0x6c]
call fcn.14006f000
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
call fcn.140027a30
mov r14, rax
cmp qword [rsi + 0x18], 8
jb 0x1400299bc
mov rsi, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov ecx, 0x20
call fcn.14006c558
mov rdi, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], 0x1c
mov qword [rsp + 0x60], 0x1f
movups xmm0, xmmword [str.RtlDosPathNameToNtPathName_U]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1400b9570]
movsd qword [rax + 0x10], xmm1
mov ecx, dword [0x1400b9578]
mov dword [rax + 0x18], ecx
mov byte [rax + 0x1c], 0
call fcn.1400483a0
lea r12, [r14 + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movabs rbx, 0xcbf29ce484222325
mov r9, rbx
xor ecx, ecx
movabs rdx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdi]
xor r9, rax
imul r9, rdx
inc rcx
cmp rcx, 0x1c
jb 0x140029a40
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
mov rcx, r14
call fcn.140028dd0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140029a9a
cmp rdx, qword [r14 + 8]
je 0x140029a9a
mov r14, qword [rdx + 0x30]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r14, r14
je 0x140029aa4
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, rsi
call r14
jmp 0x140029aa4
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov edx, 0x20
mov rcx, rdi
call fcn.14006c550
mov r8, qword [rbp - 0x80]
mov edx, 0x200
lea rcx, [rbp - 0x6c]
call fcn.14007f858
call fcn.140027a30
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov ecx, 0x20
call fcn.14006c558
mov rdi, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], 0x14
mov qword [rsp + 0x60], 0x1f
movups xmm0, xmmword [str.RtlFreeUnicodeString]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400b9590]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
call fcn.1400483a0
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor r12d, r12d
mov ecx, r12d
movabs rdx, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdi]
xor rbx, rax
imul rbx, rdx
inc rcx
cmp rcx, 0x14
jb 0x140029b30
mov r9, rbx
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
mov rcx, r14
call fcn.140028dd0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140029b84
cmp rcx, qword [r14 + 8]
je 0x140029b84
mov rbx, qword [rcx + 0x30]
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140029b8f
lea rcx, [rsp + 0x78]
call rbx
jmp 0x140029b8f
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov edx, 0x20
mov rcx, rdi
call fcn.14006c550
cmp qword [r15 + 0x18], 8
jb 0x140029ba6
mov r15, qword [r15]
mov r8, r15
mov edx, 0x200
lea rcx, [rbp + 0x394]
call fcn.14007f858
mov eax, dword [rsp + 0x40]
mov dword [rbp + 0x798], eax
mov eax, dword [rbp + 0x840]
mov dword [rbp + 0x794], eax
mov word [rbp + 0x79c], 1
mov byte [rbp + 0x79e], 0
mov eax, dword [rsp + 0x44]
mov dword [rbp + 0x7a0], eax
mov qword [rbp + 0x7a8], r12
mov dword [rbp + 0x7b0], r12d
mov byte [rbp + 0x7b4], 0
mov qword [rsp + 0x38], r12
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, 0x828
lea r8, [rbp - 0x70]
mov edx, 0x8005e02c
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140029c45
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140029c47
xor eax, eax
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.14006c530
add rsp, 0x8d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret