Function at 0x7ff876f00f60
Capabilities:
Authenticate hmac
Encode data using xor
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x58], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], sil
mov dword [rsp + 0x58], 1
lea ecx, [rsi + 0x53]
xor edx, edx
call fcn.7ff876f003f0
mov word [rbp - 0x80], ax
lea ecx, [rsi + 0x4f]
lea edx, [rsi + 1]
call fcn.7ff876f003f0
mov word [rbp - 0x7e], ax
lea ecx, [rsi + 0x46]
lea edx, [rsi + 2]
call fcn.7ff876f003f0
mov word [rbp - 0x7c], ax
lea ecx, [rsi + 0x54]
lea edx, [rsi + 3]
call fcn.7ff876f003f0
mov word [rbp - 0x7a], ax
lea ecx, [rsi + 0x57]
lea edx, [rsi + 4]
call fcn.7ff876f003f0
mov word [rbp - 0x78], ax
lea ecx, [rsi + 0x41]
lea edx, [rsi + 5]
call fcn.7ff876f003f0
mov word [rbp - 0x76], ax
lea ecx, [rsi + 0x52]
lea edx, [rsi + 6]
call fcn.7ff876f003f0
mov word [rbp - 0x74], ax
lea ecx, [rsi + 0x45]
lea edx, [rsi + 7]
call fcn.7ff876f003f0
mov word [rbp - 0x72], ax
lea ecx, [rsi + 0x5c]
lea edx, [rsi + 8]
call fcn.7ff876f003f0
mov word [rbp - 0x70], ax
lea ecx, [rsi + 0x4d]
lea edx, [rsi + 9]
call fcn.7ff876f003f0
mov word [rbp - 0x6e], ax
lea ecx, [rsi + 0x69]
lea edx, [rsi + 0xa]
call fcn.7ff876f003f0
mov word [rbp - 0x6c], ax
lea ecx, [rsi + 0x63]
lea edx, [rsi + 0xb]
call fcn.7ff876f003f0
mov word [rbp - 0x6a], ax
lea ecx, [rsi + 0x72]
lea edx, [rsi + 0xc]
call fcn.7ff876f003f0
mov word [rbp - 0x68], ax
lea ecx, [rsi + 0x6f]
lea edx, [rsi + 0xd]
call fcn.7ff876f003f0
mov word [rbp - 0x66], ax
lea ecx, [rsi + 0x73]
lea edx, [rsi + 0xe]
call fcn.7ff876f003f0
mov word [rbp - 0x64], ax
lea ecx, [rsi + 0x6f]
lea edx, [rsi + 0xf]
call fcn.7ff876f003f0
mov word [rbp - 0x62], ax
lea ecx, [rsi + 0x66]
lea edx, [rsi + 0x10]
call fcn.7ff876f003f0
mov word [rbp - 0x60], ax
lea ecx, [rsi + 0x74]
lea edx, [rsi + 0x11]
call fcn.7ff876f003f0
mov word [rbp - 0x5e], ax
lea ecx, [rsi + 0x5c]
lea edx, [rsi + 0x12]
call fcn.7ff876f003f0
mov word [rbp - 0x5c], ax
lea ecx, [rsi + 0x57]
lea edx, [rsi + 0x13]
call fcn.7ff876f003f0
mov word [rbp - 0x5a], ax
lea ecx, [rsi + 0x69]
lea edx, [rsi + 0x14]
call fcn.7ff876f003f0
mov word [rbp - 0x58], ax
lea ecx, [rsi + 0x6e]
lea edx, [rsi + 0x15]
call fcn.7ff876f003f0
mov word [rbp - 0x56], ax
lea ecx, [rsi + 0x64]
lea edx, [rsi + 0x16]
call fcn.7ff876f003f0
mov word [rbp - 0x54], ax
lea ecx, [rsi + 0x6f]
lea edx, [rsi + 0x17]
call fcn.7ff876f003f0
mov word [rbp - 0x52], ax
lea ecx, [rsi + 0x77]
lea edx, [rsi + 0x18]
call fcn.7ff876f003f0
mov word [rbp - 0x50], ax
lea ecx, [rsi + 0x73]
lea edx, [rsi + 0x19]
call fcn.7ff876f003f0
mov word [rbp - 0x4e], ax
lea ecx, [rsi + 0x20]
lea edx, [rsi + 0x1a]
call fcn.7ff876f003f0
mov word [rbp - 0x4c], ax
lea ecx, [rsi + 0x4e]
lea edx, [rsi + 0x1b]
call fcn.7ff876f003f0
mov word [rbp - 0x4a], ax
lea ecx, [rsi + 0x54]
lea edx, [rsi + 0x1c]
call fcn.7ff876f003f0
mov word [rbp - 0x48], ax
lea ecx, [rsi + 0x5c]
lea edx, [rsi + 0x1d]
call fcn.7ff876f003f0
mov word [rbp - 0x46], ax
lea ecx, [rsi + 0x43]
lea edx, [rsi + 0x1e]
call fcn.7ff876f003f0
mov word [rbp - 0x44], ax
lea ecx, [rsi + 0x75]
lea edx, [rsi + 0x1f]
call fcn.7ff876f003f0
mov word [rbp - 0x42], ax
lea ecx, [rsi + 0x72]
lea edx, [rsi + 0x20]
call fcn.7ff876f003f0
mov word [rbp - 0x40], ax
lea edx, [rsi + 0x21]
call fcn.7ff876f003f0
mov word [rbp - 0x3e], ax
lea ecx, [rsi + 0x65]
lea edx, [rsi + 0x22]
call fcn.7ff876f003f0
mov word [rbp - 0x3c], ax
lea ecx, [rsi + 0x6e]
lea edx, [rsi + 0x23]
call fcn.7ff876f003f0
mov word [rbp - 0x3a], ax
lea ecx, [rsi + 0x74]
lea edx, [rsi + 0x24]
call fcn.7ff876f003f0
mov word [rbp - 0x38], ax
lea ecx, [rsi + 0x56]
lea edx, [rsi + 0x25]
call fcn.7ff876f003f0
mov word [rbp - 0x36], ax
lea ecx, [rsi + 0x65]
lea edx, [rsi + 0x26]
call fcn.7ff876f003f0
mov word [rbp - 0x34], ax
lea ecx, [rsi + 0x72]
lea edx, [rsi + 0x27]
call fcn.7ff876f003f0
mov word [rbp - 0x32], ax
lea ecx, [rsi + 0x73]
lea edx, [rsi + 0x28]
call fcn.7ff876f003f0
mov word [rbp - 0x30], ax
lea ecx, [rsi + 0x69]
lea edx, [rsi + 0x29]
call fcn.7ff876f003f0
mov word [rbp - 0x2e], ax
lea ecx, [rsi + 0x6f]
lea edx, [rsi + 0x2a]
call fcn.7ff876f003f0
mov word [rbp - 0x2c], ax
lea ecx, [rsi + 0x6e]
lea edx, [rsi + 0x2b]
call fcn.7ff876f003f0
mov word [rbp - 0x2a], ax
xor ecx, ecx
lea edx, [rsi + 0x2c]
call fcn.7ff876f003f0
mov word [rbp - 0x28], ax
lea edx, [rsi + 0x2d]
movzx ecx, word [0x7ff876f56b8a]
call fcn.7ff876f003f0
mov word [rbp - 0x26], ax
lea edx, [rsi + 0x2e]
movzx ecx, word [0x7ff876f56b8c]
call fcn.7ff876f003f0
mov word [rbp - 0x24], ax
lea edx, [rsi + 0x2f]
movzx ecx, word [0x7ff876f56b8e]
call fcn.7ff876f003f0
mov word [rbp - 0x22], ax
lea edx, [rsi + 0x30]
movzx ecx, word [0x7ff876f56b90]
call fcn.7ff876f003f0
mov word [rbp - 0x20], ax
lea edx, [rsi + 0x31]
movzx ecx, word [0x7ff876f56b92]
call fcn.7ff876f003f0
mov word [rbp - 0x1e], ax
lea edx, [rsi + 0x32]
movzx ecx, word [0x7ff876f56b94]
call fcn.7ff876f003f0
mov word [rbp - 0x1c], ax
lea edx, [rsi + 0x33]
movzx ecx, word [0x7ff876f56b96]
call fcn.7ff876f003f0
mov word [rbp - 0x1a], ax
lea edx, [rsi + 0x34]
movzx ecx, word [0x7ff876f56b98]
call fcn.7ff876f003f0
mov word [rbp - 0x18], ax
lea edx, [rsi + 0x35]
movzx ecx, word [0x7ff876f56b9a]
call fcn.7ff876f003f0
mov word [rbp - 0x16], ax
lea edx, [rsi + 0x36]
movzx ecx, word [0x7ff876f56b9c]
call fcn.7ff876f003f0
mov word [rbp - 0x14], ax
lea edx, [rsi + 0x37]
movzx ecx, word [0x7ff876f56b9e]
call fcn.7ff876f003f0
mov word [rbp - 0x12], ax
lea edx, [rsi + 0x38]
movzx ecx, word [0x7ff876f56ba0]
call fcn.7ff876f003f0
mov word [rbp - 0x10], ax
lea edx, [rsi + 0x39]
movzx ecx, word [0x7ff876f56ba2]
call fcn.7ff876f003f0
mov word [rbp - 0xe], ax
lea edx, [rsi + 0x3a]
movzx ecx, word [0x7ff876f56ba4]
call fcn.7ff876f003f0
mov word [rbp - 0xc], ax
lea edx, [rsi + 0x3b]
movzx ecx, word [0x7ff876f56ba6]
call fcn.7ff876f003f0
mov word [rbp - 0xa], ax
lea edx, [rsi + 0x3c]
movzx ecx, word [0x7ff876f56ba8]
call fcn.7ff876f003f0
mov word [rbp - 8], ax
lea edx, [rsi + 0x3d]
movzx ecx, word [0x7ff876f56baa]
call fcn.7ff876f003f0
mov word [rbp - 6], ax
lea edx, [rsi + 0x3e]
movzx ecx, word [0x7ff876f56bac]
call fcn.7ff876f003f0
mov word [rbp - 4], ax
lea edx, [rsi + 0x3f]
movzx ecx, word [0x7ff876f56bae]
call fcn.7ff876f003f0
mov word [rbp - 2], ax
lea edx, [rsi + 0x40]
movzx ecx, word [0x7ff876f56bb0]
call fcn.7ff876f003f0
mov word [rbp], ax
lea edx, [rsi + 0x41]
movzx ecx, word [0x7ff876f56bb2]
call fcn.7ff876f003f0
mov word [rbp + 2], ax
lea edx, [rsi + 0x42]
movzx ecx, word [0x7ff876f56bb4]
call fcn.7ff876f003f0
mov word [rbp + 4], ax
lea edx, [rsi + 0x43]
movzx ecx, word [0x7ff876f56bb6]
call fcn.7ff876f003f0
mov word [rbp + 6], ax
lea edx, [rsi + 0x44]
movzx ecx, word [0x7ff876f56bb8]
call fcn.7ff876f003f0
mov word [rbp + 8], ax
lea edx, [rsi + 0x45]
movzx ecx, word [0x7ff876f56bba]
call fcn.7ff876f003f0
mov word [rbp + 0xa], ax
lea edx, [rsi + 0x46]
movzx ecx, word [0x7ff876f56bbc]
call fcn.7ff876f003f0
mov word [rbp + 0xc], ax
lea edx, [rsi + 0x47]
movzx ecx, word [0x7ff876f56bbe]
call fcn.7ff876f003f0
mov word [rbp + 0xe], ax
lea edx, [rsi + 0x48]
movzx ecx, word [0x7ff876f56bc0]
call fcn.7ff876f003f0
mov word [rbp + 0x10], ax
lea edx, [rsi + 0x49]
movzx ecx, word [0x7ff876f56bc2]
call fcn.7ff876f003f0
mov word [rbp + 0x12], ax
lea edx, [rsi + 0x4a]
movzx ecx, word [0x7ff876f56bc4]
call fcn.7ff876f003f0
mov word [rbp + 0x14], ax
lea edx, [rsi + 0x4b]
movzx ecx, word [0x7ff876f56bc6]
call fcn.7ff876f003f0
mov word [rbp + 0x16], ax
lea edx, [rsi + 0x4c]
movzx ecx, word [0x7ff876f56bc8]
call fcn.7ff876f003f0
mov word [rbp + 0x18], ax
lea edx, [rsi + 0x4d]
movzx ecx, word [0x7ff876f56bca]
call fcn.7ff876f003f0
mov word [rbp + 0x1a], ax
lea edx, [rsi + 0x4e]
movzx ecx, word [0x7ff876f56bcc]
call fcn.7ff876f003f0
mov word [rbp + 0x1c], ax
lea edx, [rsi + 0x4f]
movzx ecx, word [0x7ff876f56bce]
call fcn.7ff876f003f0
mov word [rbp + 0x1e], ax
lea edx, [rsi + 0x50]
movzx ecx, word [0x7ff876f56bd0]
call fcn.7ff876f003f0
mov word [rbp + 0x20], ax
lea edx, [rsi + 0x51]
movzx ecx, word [0x7ff876f56bd2]
call fcn.7ff876f003f0
mov word [rbp + 0x22], ax
lea edx, [rsi + 0x52]
movzx ecx, word [0x7ff876f56bd4]
call fcn.7ff876f003f0
mov word [rbp + 0x24], ax
lea edx, [rsi + 0x53]
movzx ecx, word [0x7ff876f56bd6]
call fcn.7ff876f003f0
mov word [rbp + 0x26], ax
lea edx, [rsi + 0x54]
movzx ecx, word [0x7ff876f56bd8]
call fcn.7ff876f003f0
mov word [rbp + 0x28], ax
lea edx, [rsi + 0x55]
movzx ecx, word [0x7ff876f56bda]
call fcn.7ff876f003f0
mov word [rbp + 0x2a], ax
lea edx, [rsi + 0x56]
movzx ecx, word [0x7ff876f56bdc]
call fcn.7ff876f003f0
mov word [rbp + 0x2c], ax
lea edx, [rsi + 0x57]
movzx ecx, word [0x7ff876f56bde]
call fcn.7ff876f003f0
mov word [rbp + 0x2e], ax
lea edx, [rsi + 0x58]
movzx ecx, word [0x7ff876f56be0]
call fcn.7ff876f003f0
mov word [rbp + 0x30], ax
xor eax, eax
mov word [rbp + 0x32], ax
mov edx, esi
mov edi, 0x133
movsxd rax, edx
lea rcx, [rbp - 0x80]
lea rcx, [rcx + rax*2]
lea eax, [rdi + rdx]
xor word [rcx], ax
inc edx
cmp edx, 0x59
jb 0x7ff876f01591
mov word [rbp + 0x32], si
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff876f01890
mov dword [rbp + 0x1a8], 0x1fe
lea ecx, [rax + 0x50]
xor edx, edx
call fcn.7ff876f003f0
mov word [rsp + 0x30], ax
lea ecx, [rdx + 0x72]
lea edx, [rcx - 0x71]
call fcn.7ff876f003f0
mov word [rsp + 0x32], ax
lea ecx, [rdx + 0x6e]
lea edx, [rcx - 0x6d]
call fcn.7ff876f003f0
mov word [rsp + 0x34], ax
lea ecx, [rdx + 0x62]
lea edx, [rcx - 0x61]
call fcn.7ff876f003f0
mov word [rsp + 0x36], ax
lea ecx, [rdx + 0x72]
lea edx, [rcx - 0x71]
call fcn.7ff876f003f0
mov word [rsp + 0x38], ax
lea ecx, [rdx + 0x5f]
lea edx, [rcx - 0x5e]
call fcn.7ff876f003f0
mov word [rsp + 0x3a], ax
lea ecx, [rdx + 0x6f]
lea edx, [rcx - 0x6e]
call fcn.7ff876f003f0
mov word [rsp + 0x3c], ax
lea ecx, [rdx + 0x43]
lea edx, [rcx - 0x42]
call fcn.7ff876f003f0
mov word [rsp + 0x3e], ax
lea ecx, [rdx + 0x5d]
lea edx, [rcx - 0x5c]
call fcn.7ff876f003f0
mov word [rsp + 0x40], ax
xor ecx, ecx
lea edx, [rcx + 9]
call fcn.7ff876f003f0
mov word [rsp + 0x42], ax
lea edx, [rcx + 0xa]
movzx ecx, word [0x7ff876f56ba4]
call fcn.7ff876f003f0
mov word [rsp + 0x44], ax
mov edx, 0xb
movzx ecx, word [0x7ff876f56ba6]
call fcn.7ff876f003f0
mov word [rsp + 0x46], ax
mov edx, 0xc
movzx ecx, word [0x7ff876f56ba8]
call fcn.7ff876f003f0
mov word [rsp + 0x48], ax
mov edx, 0xd
movzx ecx, word [0x7ff876f56baa]
call fcn.7ff876f003f0
mov word [rsp + 0x4a], ax
mov edx, 0xe
movzx ecx, word [0x7ff876f56bac]
call fcn.7ff876f003f0
mov word [rsp + 0x4c], ax
mov edx, 0xf
movzx ecx, word [0x7ff876f56bae]
call fcn.7ff876f003f0
mov word [rsp + 0x4e], ax
mov edx, 0x10
movzx ecx, word [0x7ff876f56bb0]
call fcn.7ff876f003f0
mov word [rsp + 0x50], ax
mov edx, 0x11
movzx ecx, word [0x7ff876f56bb2]
call fcn.7ff876f003f0
mov word [rsp + 0x52], ax
mov edx, 0x12
movzx ecx, word [0x7ff876f56bb4]
call fcn.7ff876f003f0
mov word [rsp + 0x54], ax
xor eax, eax
mov word [rsp + 0x56], ax
mov eax, esi
movsxd rcx, eax
lea rdx, [rsp + 0x30]
lea rdx, [rdx + rcx*2]
lea ecx, [rdi + rax]
xor word [rdx], cx
inc eax
cmp eax, 0x13
jb 0x7ff876f01750
mov word [rsp + 0x56], si
lea rax, [rbp + 0x1a8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ff876f01883
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x30]
call fcn.7ff876f01930
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x30]
cmova rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.7ff876f01a80
nop
lea rax, [rsp + 0x60]
cmp rbx, rax
je 0x7ff876f0180b
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, rbx
call fcn.7ff876effe60
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x7ff876f01845
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff876f0183f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff876f018ac
call fcn.7ff876f125fc
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x7ff876f01883
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff876f0187e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff876f018a6
call fcn.7ff876f125fc
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov rax, rbx
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
call fcn.7ff876f28a04
nop
call fcn.7ff876f28a04
int3