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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x14039bc30]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov byte [rsp + 0x40], r9b
mov r14, r8
mov r12, rdx
mov qword [rbp + 0x20], rdx
xor ebx, ebx
mov esi, ebx
mov dword [rsp + 0x44], ebx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov rdi, 0xffffffff80000001
mov qword [rsp + 0x48], rdi
mov eax, dword [rdx + rcx]
cmp dword [0x1403b6dec], eax
jle 0x1400594a4
lea rcx, [0x1403b6dec]
call fcn.14013b4c8
cmp dword [0x1403b6dec], 0xffffffff
jne 0x1400594a4
xorps xmm0, xmm0
movups xmmword [0x1403b6df0], xmm0
movups xmmword [0x1403b6e00], xmm0
movups xmmword [0x1403b6e10], xmm0
movups xmmword [0x1403b6e20], xmm0
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], bx
lea r8d, [rbx + 4]
lea rdx, str.HKLM
lea rcx, [rbp - 0x80]
call fcn.140032810
mov qword [rbp - 0x60], 0xffffffff80000002
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], bx
lea r8d, [rbx + 4]
lea rdx, str.HKCU
lea rcx, [rbp - 0x58]
call fcn.140032810
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], bx
lea r8d, [rbx + 3]
lea rdx, [0x140334870]
lea rcx, [rbp - 0x30]
call fcn.140032810
mov qword [rbp - 0x10], 0xffffffff80000003
mov qword [rbp - 8], rbx
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], 7
mov word [rbp - 8], bx
lea r8d, [rbx + 4]
lea rdx, str.HKCR
lea rcx, [rbp - 8]
call fcn.140032810
mov qword [rbp + 0x18], 0xffffffff80000000
xorps xmm0, xmm0
movss dword [0x1403b6df0], xmm0
mov qword [0x1403b6df8], rbx
mov qword [0x1403b6e00], rbx
lea ecx, [rbx + 0x38]
call fcn.14013afa8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [0x1403b6df8], rax
mov qword [0x1403b6e08], rbx
xorps xmm0, xmm0
movdqa xmmword [0x1403b6e10], xmm0
mov qword [0x1403b6e20], 7
mov qword [0x1403b6e28], 8
movss xmm0, dword [0x14034ce48]
movss dword [0x1403b6df0], xmm0
mov r8, rax
lea edx, [rbx + 0x10]
lea rcx, [0x1403b6e08]
call fcn.140029320
nop
lea rbx, [rbp - 0x80]
nop
mov r8, rbx
lea rdx, [rbp + 0x30]
lea rcx, [0x1403b6df0]
call fcn.14005e070
add rbx, 0x28
lea rax, [rbp + 0x20]
cmp rbx, rax
jne 0x140059450
lea r9, [fcn.140032f40]
mov edx, 0x28
lea r8d, [rdx - 0x24]
lea rcx, [rbp - 0x80]
call fcn.14013b26c
lea rcx, [0x1402e5210]
call fcn.14013b254
nop
lea rcx, [0x1403b6dec]
call fcn.14013b468
xor ebx, ebx
mov rdx, qword [r14 + 0x10]
mov r8, r14
mov r9, qword [r14 + 0x18]
cmp r9, 8
jb 0x1400594b8
mov r8, qword [r14]
mov r13, 0xffffffffffffffff
test rdx, rdx
je 0x1400595d9
mov rcx, rdx
mov rax, r8
mov r15, rbx
cmp word [r8], 0x5c
je 0x1400594eb
cmp rcx, 1
je 0x1400594ee
dec rcx
add rax, 2
cmp word [rax], 0x5c
jne 0x1400594d8
mov r15, rax
test r15, r15
je 0x1400595d9
sub r15, r8
sar r15, 1
cmp r15, r13
je 0x1400595dc
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x28], rdx
mov r8, r15
cmp rdx, r15
cmovb r8, rdx
mov rdx, r14
cmp r9, 8
jb 0x140059537
mov rdx, qword [r14]
lea rcx, [rsp + 0x50]
call fcn.140032810
mov esi, 4
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
movabs r9, 0xcbf29ce484222325
mov rax, qword [rsp + 0x60]
lea r10, [rax + rax]
mov rdx, rbx
test r10, r10
je 0x140059594
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r8]
xor r9, rax
imul r9, r11
inc rdx
cmp rdx, r10
jb 0x140059580
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x40]
lea rcx, [0x1403b6df0]
call fcn.140043100
mov rcx, qword [rax + 8]
mov rbx, qword [0x1403b6df8]
test rcx, rcx
cmovne rbx, rcx
lea rcx, [rsp + 0x50]
call fcn.140033a90
cmp rbx, qword [0x1403b6df8]
je 0x1400595dc
mov rax, qword [rbx + 0x30]
mov qword [rsp + 0x48], rax
jmp 0x1400595dc
mov r15, r13
xorps xmm0, xmm0
movups xmmword [r12], xmm0
xor eax, eax
mov qword [r12], rax
mov qword [r12 + 8], rax
or esi, 1
mov dword [rsp + 0x44], esi
lea ecx, [rax + 0x28]
call fcn.14013afa8
mov rdi, rax
mov qword [rsp + 0x70], rax
cmp byte [rsp + 0x40], 0
je 0x140059696
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_CoreTech::CObfuscatedRegKey_.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov rcx, rbx
call fcn.1400b4c10
nop
or esi, 8
mov dword [rsp + 0x44], esi
mov qword [r12], rbx
mov rbx, qword [r12 + 8]
mov qword [r12 + 8], rdi
test rbx, rbx
je 0x14005972d
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140059729
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400c6d28.0]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140059729
mov rax, qword [rbx]
mov rcx, rbx
jmp 0x14005971f
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_CoreTech::CRegKey_.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov rcx, rbx
call fcn.1400b45a0
nop
or esi, 0x10
mov dword [rsp + 0x44], esi
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.1400599e0
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14005972d
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140059729
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400c6d28.0]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140059729
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400c6d28.0]
mov esi, dword [rsp + 0x44]
mov rbx, qword [r12]
test rbx, rbx
je 0x1400597d1
mov rax, qword [rbx]
mov rdi, qword [rax + 0x98]
inc r15
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], ax
mov rax, qword [r14 + 0x10]
cmp rax, r15
jb 0x14005988d
sub rax, r15
cmp rax, 0xffffffffffffffff
cmovb r13, rax
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x140059786
mov rax, qword [r14]
lea rdx, [rax + r15*2]
mov r8, r13
lea rcx, [rsp + 0x50]
call fcn.140032810
or esi, 0x20
or esi, 2
mov dword [rsp + 0x44], esi
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov r9d, 0x2001f
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
mov rax, rdi
call qword [case.0x1400c6d28.0]
test eax, eax
je 0x1400597d1
mov bl, 1
jmp 0x1400597d3
xor bl, bl
test sil, 2
je 0x1400597ea
and esi, 0xfffffffd
mov dword [rsp + 0x44], esi
lea rcx, [rsp + 0x50]
call fcn.140033a90
test bl, bl
je 0x140059863
mov ecx, 1
call fcn.1400b2690
test eax, eax
je 0x140059863
lea rcx, str.obfuscated
lea rax, str.not_obfuscated
cmp byte [rsp + 0x40], 0
cmovne rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [r14 + 0x18], 8
jb 0x140059822
mov r14, qword [r14]
mov qword [rbp + 0x50], r14
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, str.Unable_to_open_registry_key:__s___s_
mov qword [rsp + 0x20], rax
mov r9d, 0x318
lea r8, str.Intel::Analytics::CALEScriptHostImpl::OpenRegKey
lea rdx, str.E:BT00963e81_18e2_43e3_9fe0_5ac3a01b920eClientAnalyticsSDK_srcALEScriptHostImplALEScriptHostImpl.cpp
mov ecx, 1
call fcn.1400296d0
mov rax, r12
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.14013af80
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140032160
int3