Function at 0x10032f10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007340c
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x10089040]
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, ecx
mov dword [ebp - 0x220], ebx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1008ade8]
mov dword [ebp - 0x220], ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1008c318]
cmp eax, dword [ecx + 4]
jle 0x10032fb4
push 0x1008c318
call fcn.10043ce5
add esp, 4
cmp dword [0x1008c318], 0xffffffff
jne 0x10032fb4
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x100331ff
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x100749f0
mov dword [0x1008c31c], eax
call fcn.100438b2
add esp, 4
push 0x1008c318
call fcn.10043c94
add esp, 4
mov ecx, dword [0x1008c31c]
cmp dword [ecx - 0xc], 0
je 0x10032fd2
add ecx, 0xfffffff0
call fcn.10005e40
add eax, 0x10
mov dword [ebx], eax
jmp 0x100331e1
mov eax, dword [0x1008beb0]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x224], 0
test al, 1
jne 0x10033028
or eax, 1
mov dword [0x1008beb0], eax
push 0x68
push 0
push 0x1008be48
mov dword [ebp - 4], 0
call fcn.10045390
add esp, 0xc
call fcn.10005f50
push 0x10074980
call fcn.100438b2
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x1008be5c]
lea ecx, [ecx - 0x10]
call fcn.10005e40
lea esi, [eax + 0x10]
mov dword [ebp - 0x230], esi
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 1
push eax
push 0x201
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10033101
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10045390
add esp, 0xc
mov dword [ebp - 0x224], 1
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push str.DisplayVersion
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100330e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x1008c31c
call fcn.10005d10
mov eax, dword [0x1008c31c]
cmp dword [eax - 0xc], 0
jne 0x100331b5
mov ecx, dword [0x1008beb0]
test cl, 1
jne 0x10033154
or ecx, 1
mov dword [0x1008beb0], ecx
push 0x68
push 0
push 0x1008be48
mov byte [ebp - 4], 2
call fcn.10045390
add esp, 0xc
call fcn.10005f50
push 0x10074980
call fcn.100438b2
mov byte [ebp - 4], 1
add esp, 4
mov eax, dword [0x1008c31c]
mov edx, dword [0x1008be70]
lea edi, [eax - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x100331b5
cmp dword [edi + 0xc], 0
jl 0x100331a2
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x100331a2
call fcn.10005e40
mov dword [ebp - 0x220], eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10033198
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x220]
add eax, 0x10
mov dword [0x1008c31c], eax
jmp 0x100331b5
push dword [edx - 0xc]
mov ecx, 0x1008c31c
push edx
call fcn.10005d10
mov eax, dword [0x1008c31c]
lea ecx, [eax - 0x10]
call fcn.10005e40
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], eax
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100331e1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.10043277
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100013a0
int3