Function at 0x14002ed18
Capabilities:
Encode data using xor
Generate random numbers via rtlgenrandom
Hash data using fnv

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov qword [rbp - 0x70], 0xfffffffffffffffe
xor r15d, r15d
mov qword [rsp + 0x30], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x40]
sub rax, qword [rsp + 0x30]
sar rax, 3
cmp rax, 0x64
jae 0x14002ed64
lea rcx, [rsp + 0x30]
call fcn.140030c3c
lea rcx, [rsp + 0x48]
call fcn.140008d7c
nop
mov rbx, qword [rsp + 0x48]
jmp 0x14002f051
cmp dword [rbx + 0x64], r15d
jne 0x14002f042
mov edi, 0x811c9dc5
movzx esi, word [rbx + 0x38]
shr si, 1
mov r14, qword [rbx + 0x40]
je 0x14002edbb
mov eax, 0xffff
add si, ax
movzx ecx, word [r14]
call qword [sym.imp.msvcrt.dll_towlower]
movzx eax, ax
xor edi, eax
lea r14, [r14 + 2]
imul edi, edi, 0x1000193
test si, si
jne 0x14002ed95
xor edi, 0x530cff3
cmp edi, 0x34ed6bfb
je 0x14002f042
cmp edi, 0x63fc433e
je 0x14002f042
mov qword [rsp + 0x50], r15
mov dword [rbp - 0x60], 0x30
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov dword [rbp - 0x48], r15d
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov eax, dword [rbx + 0x50]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], r15
mov eax, dword [0x1400921d4]
mov dword gs:[0x68], eax
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
mov edx, 0x20480
lea rcx, [rsp + 0x50]
call fcn.14005f720
mov dword [rbp + 0x70], eax
test eax, eax
js 0x14002f042
mov rsi, qword [rsp + 0x50]
mov qword [rbp + 0x88], rsi
mov qword [rsp + 0x60], r15
mov rcx, qword [rsp + 0x50]
mov eax, dword [0x1400921dc]
mov dword gs:[0x68], eax
lea r8, [rsp + 0x60]
mov edx, 8
call fcn.14005f720
mov dword [rbp + 0x70], eax
test eax, eax
jns 0x14002ee8c
test rsi, rsi
je 0x14002f042
mov rcx, rsi
call qword [0x140068658]
mov qword [rbp + 0x88], r15
jmp 0x14002f042
mov rdi, qword [rsp + 0x60]
mov qword [rbp + 0x80], rdi
mov eax, dword [0x1400921d0]
mov dword gs:[0x68], eax
lea rax, [rbp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x58
lea r8, [rbp - 0x30]
lea edx, [r9 - 0x57]
mov rcx, rdi
call fcn.14005f720
mov dword [rbp + 0x70], eax
test eax, eax
jns 0x14002eee3
test rdi, rdi
je 0x14002eee1
mov rcx, rdi
call qword [0x140068658]
mov qword [rbp + 0x80], r15
jmp 0x14002ee6e
lea rdx, [0x14006d800]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ntdll.dll_RtlEqualSid]
test al, al
jne 0x14002ef12
test rdi, rdi
je 0x14002ef0d
mov rcx, rdi
call qword [0x140068658]
mov qword [rbp + 0x80], r15
jmp 0x14002ee6e
lea r8, [rbp + 0x70]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x80]
call fcn.14002e24c
cmp dword [rbp + 0x70], r15d
jge 0x14002ef47
test rdi, rdi
je 0x14002ef42
mov rcx, rdi
call qword [0x140068658]
mov qword [rbp + 0x80], r15
jmp 0x14002ee6e
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
lea rdx, [rax + 4]
mov rcx, r15
cmp dword [rax], r15d
jbe 0x14002ef7b
mov r8d, dword [rax]
test byte [rdx + 8], 3
je 0x14002ef71
cmp dword [rdx], 0x23
ja 0x14002ef71
mov eax, dword [rdx]
bts rcx, rax
add rdx, 0xc
sub r8, 1
jne 0x14002ef60
and ecx, 0x40100010
cmp rcx, 0x40100010
je 0x14002efd3
mov rax, qword gs:[0x60]
mov r8, qword [rsp + 0x58]
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [rsp + 0x68], r15
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x14002efc2
call qword [0x140068658]
mov qword [rbp + 0x80], r15
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x14002f042
jmp 0x14002ee7a
mov qword [rbp + 0x88], r15
mov qword [rsp + 0x78], rsi
mov rdx, qword [rsp + 0x38]
cmp qword [rsp + 0x40], rdx
je 0x14002effa
mov qword [rbp - 0x68], rdx
mov qword [rdx], rsi
add qword [rsp + 0x38], 8
jmp 0x14002f00a
lea r8, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.140030f20
nop
mov rax, qword gs:[0x60]
mov r8, qword [rsp + 0x58]
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [rsp + 0x68], r15
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x14002f042
call qword [0x140068658]
mov qword [rbp + 0x80], r15
cmp dword [rbx], r15d
je 0x14002f04e
mov eax, dword [rbx]
add rbx, rax
jmp 0x14002f051
mov rbx, r15
test rbx, rbx
jne 0x14002ed79
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
jne 0x14002f06e
mov rdi, r15
jmp 0x14002f0b3
sub rdi, rbx
sar rdi, 3
cmp rdi, 2
jl 0x14002f0ad
mov edx, 8
lea rcx, [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
jne 0x14002f09f
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x70], rax
jmp 0x14002f0a4
mov rax, qword [rsp + 0x70]
xor edx, edx
div rdi
lea rbx, [rbx + rdx*8]
mov rdi, qword [rbx]
mov qword [rbx], r15
cmp qword [rsp + 0x48], r15
je 0x14002f0d9
mov rax, qword gs:[0x60]
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [rsp + 0x48], r15
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14002f153
mov rsi, qword [rsp + 0x38]
mov qword [rbp + 0x70], rbx
cmp rbx, rsi
je 0x14002f114
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002f102
call qword [0x140068658]
mov qword [rbx], r15
add rbx, 8
mov qword [rbp + 0x70], rbx
cmp rbx, rsi
jne 0x14002f0f1
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
mov rax, qword [rsp + 0x40]
sub rax, rbx
and rax, 0xfffffffffffffff8
cmp rax, 0x1000
jb 0x14002f13c
mov rbx, qword [rbx - 8]
sub rcx, rbx
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002f166
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov rax, rdi
add rsp, 0x138
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400397b4
int3