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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edi, edx
mov rbp, rcx
mov dword [rsp + 0x40], edi
mov rbx, qword [rcx + 0x240]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x28], xmm1
movzx esi, dl
test rbx, rbx
je 0x140058e61
mov qword [rsp + 0x28], rbx
mov eax, 1
lock xadd dword [rbx], eax
inc eax
cmp eax, 1
jle 0x140058e4b
mov rax, qword gs:[0x30]
mov ecx, dword [rax + 0x48]
cmp dword [rbx + 4], ecx
je 0x140058e5a
mov edx, 0xffffffff
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword gs:[0x30]
mov ecx, dword [rax + 0x48]
mov dword [rbx + 4], ecx
inc dword [rbx + 8]
mov edi, dword [rsp + 0x40]
mov r15d, 0xffffffff
mov r14d, r15d
mov edx, edi
mov rcx, rbp
call fcn.1400587b0
test al, al
je 0x140058e90
mov r8d, edi
lea rdx, str.KillRegistryEvent_is_called_while_Timer_EventID__d_is_still_registered_by_clients
lea ecx, [r15 + 4]
call fcn.1400838f0
jmp 0x14005916c
movzx edx, byte [rsp + 0x41]
movzx r9d, byte [rsp + 0x42]
movzx r10d, byte [rsp + 0x43]
mov rax, rsi
movabs rsi, 0xcbf29ce484222325
xor rax, rsi
movabs r13, 0x100000001b3
imul rax, r13
xor rax, rdx
imul rax, r13
xor rax, r9
imul rax, r13
xor rax, r10
imul rax, r13
mov rcx, qword [rbp + 0x188]
and rcx, rax
add rcx, rcx
mov rax, qword [rbp + 0x170]
mov r8, qword [rax + rcx*8 + 8]
mov r11, qword [rbp + 0x160]
cmp r8, r11
je 0x140058f14
mov rax, qword [rax + rcx*8]
cmp edi, dword [r8 + 0x10]
je 0x140058f17
cmp r8, rax
je 0x140058f14
mov r8, qword [r8 + 8]
cmp edi, dword [r8 + 0x10]
jne 0x140058f03
jmp 0x140058f17
xor r8d, r8d
test r8, r8
cmove r8, r11
movzx eax, dil
xor rax, rsi
imul rax, r13
xor rax, rdx
imul rax, r13
xor rax, r9
imul rax, r13
xor rax, r10
imul rax, r13
mov rcx, qword [rbp + 0x208]
and rcx, rax
add rcx, rcx
mov rax, qword [rbp + 0x1f0]
mov rbx, qword [rax + rcx*8 + 8]
mov rdx, qword [rbp + 0x1e0]
cmp rbx, rdx
je 0x140058f80
mov rax, qword [rax + rcx*8]
cmp edi, dword [rbx + 0x10]
je 0x140058f82
nop dword [rax]
cmp rbx, rax
je 0x140058f80
mov rbx, qword [rbx + 8]
cmp edi, dword [rbx + 0x10]
jne 0x140058f70
jmp 0x140058f82
xor ebx, ebx
test rbx, rbx
cmove rbx, rdx
cmp r11, r8
je 0x14005915a
cmp rdx, rbx
je 0x14005915a
lea rcx, [rbp + 0x158]
lea rdx, [rsp + 0x38]
call fcn.14005a540
mov rcx, qword [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx edx, byte [rbx + 0x10]
xor rdx, rsi
imul rdx, r13
movzx eax, byte [rbx + 0x11]
xor rdx, rax
imul rdx, r13
movzx eax, byte [rbx + 0x12]
xor rdx, rax
imul rdx, r13
movzx eax, byte [rbx + 0x13]
xor rdx, rax
imul rdx, r13
and rdx, qword [rbp + 0x208]
shl rdx, 4
add rdx, qword [rbp + 0x1f0]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x140059029
cmp rax, rbx
jne 0x14005901f
mov rax, qword [rbp + 0x1e0]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140059034
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x140059034
cmp rax, rbx
jne 0x140059034
mov rax, qword [rbx]
mov qword [rdx], rax
mov rcx, qword [rbx]
dec qword [rbp + 0x1e8]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov edx, 0x20
mov rcx, rbx
call fcn.14014f59c
mov rdx, qword [rbp + 0x1a0]
mov rbx, qword [rdx]
cmp rbx, rdx
je 0x140059137
nop dword [rax]
cmp dword [rbx + 0x30], edi
je 0x140059085
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdx
jne 0x140059070
jmp 0x140059137
lea r9, [rbx + 0x10]
cmp qword [rbx + 0x28], 8
jb 0x140059094
mov r9, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
add r8, r8
mov ecx, 0
je 0x1400590c4
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r9]
xor rsi, rax
imul rsi, r13
inc rcx
cmp rcx, r8
jb 0x1400590b0
mov rcx, qword [rbp + 0x1c8]
and rcx, rsi
shl rcx, 4
mov r8, qword [rbp + 0x1b0]
add r8, rcx
mov rax, qword [r8]
cmp qword [r8 + 8], rbx
jne 0x1400590fd
cmp rax, rbx
jne 0x1400590f3
mov qword [r8], rdx
mov qword [r8 + 8], rdx
jmp 0x140059108
mov rdx, qword [rbx + 8]
mov qword [r8 + 8], rdx
jmp 0x140059108
cmp rax, rbx
jne 0x140059108
mov rax, qword [rbx]
mov qword [r8], rax
mov rdx, qword [rbx]
dec qword [rbp + 0x1a8]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
lea rcx, [rbx + 0x10]
call fcn.140004ff0
mov edx, 0x38
mov rcx, rbx
call fcn.14014f59c
lea rcx, [rbp + 0x270]
lea rdx, [rsp + 0x40]
call fcn.140059af0
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.140059e40
xor r14d, r14d
jmp 0x14005916c
lea rdx, str.KillRegistryEvent_is_called_with_invalid_eventID
mov ecx, 3
call fcn.1400838f0
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400591ac
add dword [rcx + 8], 0xffffffff
mov edx, dword [rcx + 8]
jne 0x140059186
mov dword [rcx + 4], 0
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
je 0x1400591ac
test edx, edx
jne 0x1400591ac
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400591ea
add dword [rcx + 8], 0xffffffff
mov eax, dword [rcx + 8]
jne 0x1400591c6
mov dword [rcx + 4], 0
lock xadd dword [rcx], r15d
cmp r15d, 1
je 0x1400591ea
test eax, eax
jne 0x1400591ea
xor r8d, r8d
lea edx, [rax + 1]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov eax, r14d
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14014f2f0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret