Function at 0x10080c80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f2e6c
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x10275008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x42c], edi
test ebx, ebx
jne 0x10080ccb
xor al, al
jmp 0x10080f3b
mov eax, dword [edi]
xorps xmm0, xmm0
movlpd qword [ebp - 0x428], xmm0
mov dword [edi + 4], eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
call fcn.10082e70
mov dword [ebp - 0x428], eax
push 0x208
xor esi, esi
mov dword [ebp - 4], 2
lea eax, [ebp - 0x218]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x430], 0x104
lea eax, [ebp - 0x430]
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
call ebx
test eax, eax
jne 0x10080db2
mov edi, dword [ebp - 0x450]
nop dword [eax + eax]
xor edx, edx
lea ecx, [ebp - 0x218]
call fcn.100dd860
push dword [ebp - 0x42c]
mov dword [ebp - 0x44c], eax
lea eax, [ebp - 0x44c]
push eax
push ecx
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x428]
call fcn.100833a0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x430]
mov dword [ebp - 0x430], 0x104
push eax
lea eax, [ebp - 0x218]
inc esi
push eax
push esi
push edi
call ebx
test eax, eax
je 0x10080d50
mov edi, dword [ebp - 0x42c]
cmp eax, 0x103
jne 0x10080f68
mov eax, dword [ebp - 0x428]
mov esi, dword [eax]
cmp esi, eax
je 0x10080ed8
mov ebx, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
nop dword [eax]
nop word [eax + eax]
mov edx, dword [esi + 0x10]
lea ecx, [ebp - 0x448]
call fcn.100de190
push 0x208
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 8
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x42c], 0x208
cmp dword [ebp - 0x434], 8
lea ecx, [ebp - 0x42c]
lea eax, [ebp - 0x448]
cmovae eax, dword [ebp - 0x448]
push ecx
lea ecx, [ebp - 0x420]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x450]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10080f59
push 0x10
push eax
lea eax, [ebp - 0x420]
push eax
call ebx
mov ecx, dword [edi + 4]
add esp, 0xc
mov dword [ebp - 0x44c], eax
cmp dword [edi + 8], ecx
je 0x10080e72
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x10080e81
lea eax, [ebp - 0x44c]
push eax
push ecx
mov ecx, edi
call fcn.100831e0
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 2
call fcn.10005250
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10080eb6
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10080eb2
cmp esi, dword [eax + 8]
jne 0x10080eb2
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10080ea2
mov esi, eax
jmp 0x10080ecc
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x10080ecc
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10080ec0
cmp esi, dword [ebp - 0x428]
jne 0x10080de0
mov bl, 1
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x428]
mov esi, dword [ebp - 0x428]
push dword [esi + 4]
call fcn.10082f00
mov eax, dword [ebp - 0x428]
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x428]
mov dword [eax], esi
mov eax, dword [ebp - 0x428]
mov dword [eax + 8], esi
mov dword [ebp - 0x424], 0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x428]
push 0x14
push ecx
mov byte [ebp - 4], 0x12
call fcn.101c8702
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101c837b
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 2
call fcn.10005250
xor bl, bl
jmp 0x10080eda