Function at 0x1400f87d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd8
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov ebp, r9d
mov r15d, r8d
mov r14d, edx
mov r13, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rcx, [0x1401eba48]
mov rax, qword [0x1401eba48]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rcx, [0x1401eba48]
mov rax, qword [0x1401eba48]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
cmp ebp, 0xc
je 0x1400f885b
cmp ebp, 0xd
je 0x1400f885b
xor r12d, r12d
lea rax, [r13 + 0x50]
jmp 0x1400f8883
mov r12d, 1
mov dword [rsp + 0x20], ebp
mov r9d, r15d
mov r8d, r14d
lea rdx, [rsp + 0x88]
mov rcx, r13
call fcn.1400f7f50
nop
mov ebx, r12d
mov dword [rsp + 0x30], ebx
mov rdi, qword [rax]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x1400f88ae
cmp rax, qword [rdi - 0x18]
jne 0x1400f88ae
lea rsi, [rdi - 0x18]
lock add dword [rdi - 8], 1
mov ebx, dword [rsp + 0x30]
jmp 0x1400f88ec
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rsi, rax
test rax, rax
jne 0x1400f88ca
call fcn.1400b7790
int3
mov eax, dword [rdi - 0x10]
mov dword [rsi + 8], eax
mov eax, dword [rdi - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rsi + 0x18]
call fcn.1401448d0
lea rax, [rsi + 0x18]
mov qword [rsp + 0x58], rax
or esi, 0xffffffff
test bl, 1
je 0x1400f8930
and ebx, 0xfffffffe
mov dword [rsp + 0x30], ebx
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400f892c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, dword [rsp + 0x30]
jmp 0x1400f8930
mov ebx, dword [rsp + 0x30]
test r12d, r12d
je 0x1400f8959
mov dword [rsp + 0x20], ebp
mov r9d, r15d
mov r8d, r14d
lea rdx, [rsp + 0x98]
mov rcx, r13
call fcn.1400f82c0
nop
or ebx, 2
mov dword [rsp + 0x30], ebx
jmp 0x1400f895d
lea rax, [r13 + 0x48]
mov rdi, qword [rax]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x1400f8988
cmp rax, qword [rdi - 0x18]
jne 0x1400f8988
lea r12, [rdi - 0x18]
lock add dword [rdi - 8], 1
mov ebx, dword [rsp + 0x30]
jmp 0x1400f89c9
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov r12, rax
test rax, rax
jne 0x1400f89a4
call fcn.1400b7790
int3
mov eax, dword [rdi - 0x10]
mov dword [r12 + 8], eax
mov eax, dword [rdi - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [r12 + 0x18]
call fcn.1401448d0
lea rax, [r12 + 0x18]
mov qword [rsp + 0x50], rax
test bl, 2
je 0x1400f89fb
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f89fb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor r12d, r12d
mov ecx, r12d
lea r8, [0x1401f9f20]
mov rax, r8
nop
nop
cmp ebp, dword [rax]
je 0x1400f8aac
add ecx, 1
add rax, 0x20
cmp ecx, 7
jb 0x1400f8a10
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8a45
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8a66
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8a87
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x1400f8aa5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x1400f8e79
movsxd r9, ecx
shl r9, 5
mov rdx, qword [r9 + r8 + 0x18]
lea rcx, [rsp + 0xa8]
mov eax, dword [rdx]
mov dword [rcx], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 4], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0xc], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x10], eax
mov eax, dword [r9 + r8 + 0x10]
mov dword [rsp + 0x48], eax
mov r8d, ebp
lea rdx, [rsp + 0x90]
mov rcx, r13
call fcn.1400f7bf0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsp + 0x38]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400f8b59
cmp dword [rbx + 0x10], 0
jl 0x1400f8b4a
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400f8b4a
call fcn.140002fa0
mov rdi, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x1400f8b3f
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x38], rax
jmp 0x1400f8b59
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call fcn.1400032e0
nop
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8b7c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor r8d, r8d
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call fcn.1400db220
test eax, eax
jne 0x1400f8c23
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8bbc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8bdd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8bfe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x1400f8c1c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x1400f8e79
mov ebp, r12d
cmp dword [rsp + 0x48], r12d
jle 0x1400f8df2
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0xb8], ebp
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x1400f8dab
mov qword [rsp + 0x70], r12
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x60]
call fcn.1400db050
nop
mov dword [rsp + 0x44], r12d
mov qword [rsp + 0x80], r12
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400f8d85
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x78], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x7c]
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400f8d46
cmp dword [rsp + 0x7c], 4
jne 0x1400f8d46
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x40], eax
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8d0e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400f8d1e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1400f8de5
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0xa8]
mov rcx, rbx
call fcn.1400daa50
jmp 0x1400f8de5
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8d67
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400f8d7e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x38]
jmp 0x1400f8dab
mov rbx, qword [rsp + 0x38]
jmp 0x1400f8dab
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8da6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400f8de5
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xa8]
call fcn.1400da1f0
test eax, eax
je 0x1400f8de5
test rbx, rbx
je 0x1400f8de5
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0xa8]
mov rcx, rbx
call fcn.1400daa50
add ebp, 1
cmp ebp, dword [rsp + 0x48]
jl 0x1400f8c31
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8e13
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8e34
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8e55
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x1400f8e74
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401447b0
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret