Function at 0x100082f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
lea eax, [ebp - 0x90]
mov ebx, edx
sub esp, 0xa0
mov dword [ebp - 0x90], pe_nt_image_headers32
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x8c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
je 0x10008408
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x100083fb
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x10008504
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x94]
mov eax, dword [eax]
mov dword [esp + 4], edx
mov ecx, dword [ebp + 0x10]
mov dword [esp], ecx
call dword [eax + 0x14]
sub esp, 8
test eax, eax
js 0x100084ca
mov eax, dword [ebp - 0x94]
mov dword [ebp + 0x10], eax
mov eax, dword [0x100150f8]
lea edi, [eax - 4]
cmp eax, 0x100150f8
je 0x100083e1
lea esi, [esi]
mov eax, dword [edi]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x18]
mov eax, dword [edi + 4]
sub esp, 0x10
lea edi, [eax - 4]
cmp eax, 0x100150f8
jne 0x100083a0
test ebx, ebx
jne 0x100083e1
mov eax, dword [0x100150f8]
mov ebx, 1
lea edi, [eax - 4]
cmp eax, 0x100150f8
jne 0x100083a0
mov eax, dword [ebp + 0xc]
xor edx, edx
mov word [eax], dx
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x100083fb
cmp word [ebp - 0x8c], 0
jne 0x10008522
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10008513
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x94]
mov eax, dword [eax]
mov dword [esp + 4], edx
mov ecx, dword [ebp + 0x10]
mov dword [esp], ecx
call dword [eax + 0x14]
sub esp, 8
test eax, eax
js 0x100084ca
mov eax, dword [ebp - 0x94]
mov dword [ebp + 0x10], eax
mov eax, dword [0x100150f8]
lea edx, [eax - 4]
mov edi, edx
cmp eax, 0x100150f8
je 0x100083e1
lea esi, [esi]
nop
mov eax, dword [edi]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x18]
mov eax, dword [edi + 4]
sub esp, 0x10
lea edi, [eax - 4]
cmp eax, 0x100150f8
jne 0x10008480
test ebx, ebx
jne 0x100083e1
mov eax, dword [0x100150f8]
mov ebx, 1
lea edi, [eax - 4]
cmp eax, 0x100150f8
jne 0x10008480
jmp 0x100083e1
test byte [0x10015114], 2
je 0x100083fb
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.GetId_failed:__08lx_n
mov dword [esp + 8], str.notify_if_changed
mov dword [esp + 4], 0x10015114
mov dword [esp], 1
call fcn.10007550
jmp 0x100083fb
mov dword [ebp - 0x94], 0
jmp 0x1000838d
mov dword [ebp - 0x94], 0
jmp 0x10008466
mov eax, dword [0x100150f8]
lea edi, [eax - 4]
cmp eax, 0x100150f8
je 0x1000857c
lea esi, [esi]
mov eax, dword [edi]
lea ecx, [ebp - 0x8c]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x18]
mov eax, dword [edi + 4]
sub esp, 0x10
lea edi, [eax - 4]
cmp eax, 0x100150f8
jne 0x10008538
test ebx, ebx
jne 0x1000857c
mov eax, dword [0x100150f8]
mov ebx, 1
lea edi, [eax - 4]
cmp eax, 0x100150f8
jne 0x10008538
mov edi, dword [ebp + 0xc]
lea esi, [ebp - 0x8c]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
jmp 0x100083fb