Function at 0x102a2120
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [eax + 0xc26b], 0
jne 0x102a215d
cmp dword [eax + 0x190], 0x2500
jae 0x102a215d
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0xc], 0
push edi
je 0x102a240e
cmp dword [ebp + 0x10], 0
je 0x102a240e
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x102a240e
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x102a240e
mov eax, dword [eax]
push ebx
add eax, 0x32c
xor ebx, ebx
push esi
push eax
mov dword [ebp + 0x14], eax
call fcn.10434352
mov esi, eax
add esp, 4
test esi, esi
jne 0x102a21b1
pop esi
lea eax, [ebx + 8]
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0x14
push dword [ebp + 0x14]
push 0
push esi
call fcn.10425c00
mov eax, dword [esi + 4]
push dword [ebp + 0xc]
and eax, 0xfffffffe
mov dword [esi], 1
or eax, 2
mov dword [esi + 4], eax
lea eax, [esi + 8]
push 0x104
push eax
call fcn.10434250
mov eax, dword [ebp + 0x10]
add esp, 0x18
mov eax, dword [eax]
mov dword [esi + 0x210], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x190], 0x2400
jae 0x102a2215
push esi
mov ebx, 0x65b
call fcn.10434337
add esp, 4
mov eax, ebx
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [eax + 0xf658]
cmp dword [edx + 8], ebx
je 0x102a21fc
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x10]
push ecx
push dword [eax + 0xf65c]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], esi
mov eax, dword [edx + 8]
call eax
test eax, eax
jns 0x102a226c
cmp eax, 0x80004005
je 0x102a23f5
cmp eax, 0x88760870
je 0x102a23f5
cmp eax, 0x88760873
je 0x102a23f5
test eax, eax
js 0x102a23bd
cmp dword [esi + 0x21c], ebx
jne 0x102a23d2
mov eax, dword [esi + 0x210]
dec eax
cmp eax, 0xa
ja case.0x102a228f.5
movzx eax, byte [eax + 0x102a242c]
jmp dword [eax*4 + 0x102a241c]
mov eax, dword [ebp + 0x18]
lea edx, [esi + 0x220]
mov ecx, dword [esi + 0x218]
mov eax, dword [eax]
mov dword [ebp + 0x18], eax
test ecx, ecx
je 0x102a23fa
test edx, edx
je 0x102a22be
cmp eax, ecx
jae 0x102a2385
push eax
push 0
push edi
call fcn.10425c00
lea eax, [esi + 0x220]
add esp, 0xc
test eax, eax
je 0x102a2341
mov eax, dword [ebp + 0x18]
cmp eax, dword [esi + 0x218]
jae 0x102a23fa
call fcn.1043a2d6
mov dword [eax], 0x22
call fcn.1043a1d8
push esi
call fcn.10434337
add esp, 4
mov eax, ebx
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
lea edx, [esi + 0x220]
mov ecx, dword [esi + 0x218]
mov eax, dword [eax]
mov dword [ebp + 0x18], eax
test ecx, ecx
je 0x102a23fa
test edx, edx
je 0x102a232b
cmp eax, ecx
jae 0x102a2385
push eax
push 0
push edi
call fcn.10425c00
lea eax, [esi + 0x220]
add esp, 0xc
test eax, eax
jne 0x102a22d4
call fcn.1043a2d6
mov dword [eax], 0x16
call fcn.1043a1d8
push esi
call fcn.10434337
add esp, 4
mov eax, ebx
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
lea edx, [esi + 0x220]
mov ecx, dword [esi + 0x218]
mov eax, dword [eax]
mov dword [ebp + 0x18], eax
test ecx, ecx
je 0x102a23fa
test edx, edx
je 0x102a232b
cmp eax, ecx
jb 0x102a232b
push ecx
push edx
push edi
call fcn.10425d60
add esp, 0xc
push esi
call fcn.10434337
add esp, 4
mov eax, ebx
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0x14
push esi
mov ebx, 0x70c
call fcn.10434337
add esp, 4
mov eax, ebx
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0x80004005
je 0x102a23f5
cmp eax, 0x88760870
je 0x102a23f5
cmp eax, 0x88760873
je 0x102a23f5
mov ebx, 0x65b
cmp eax, 1
jne 0x102a23fa
push esi
mov ebx, 0xea
call fcn.10434337
add esp, 4
mov eax, ebx
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0x14
mov ebx, 2
push esi
call fcn.10434337
add esp, 4
mov eax, ebx
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0x14
mov eax, 0x70c
pop edi
mov esp, ebp
pop ebp
ret 0x14