Function at 0x100331c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007382c
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 0x10033264
push 0x1008c318
call fcn.100440d0
add esp, 4
cmp dword [0x1008c318], 0xffffffff
jne 0x10033264
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x100334af
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x10074e20
mov dword [0x1008c31c], eax
call fcn.10043c72
add esp, 4
push 0x1008c318
call fcn.1004407f
add esp, 4
mov ecx, dword [0x1008c31c]
cmp dword [ecx - 0xc], 0
je 0x10033282
add ecx, 0xfffffff0
call fcn.10005e40
add eax, 0x10
mov dword [ebx], eax
jmp 0x10033491
mov eax, dword [0x1008beb0]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x224], 0
test al, 1
jne 0x100332d8
or eax, 1
mov dword [0x1008beb0], eax
push 0x68
push 0
push 0x1008be48
mov dword [ebp - 4], 0
call fcn.10045770
add esp, 0xc
call fcn.10005f50
push 0x10074db0
call fcn.10043c72
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 0x100333b1
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10045770
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 0x10033390
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 0x10033465
mov ecx, dword [0x1008beb0]
test cl, 1
jne 0x10033404
or ecx, 1
mov dword [0x1008beb0], ecx
push 0x68
push 0
push 0x1008be48
mov byte [ebp - 4], 2
call fcn.10045770
add esp, 0xc
call fcn.10005f50
push 0x10074db0
call fcn.10043c72
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 0x10033465
cmp dword [edi + 0xc], 0
jl 0x10033452
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x10033452
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 0x10033448
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 0x10033465
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 0x10033491
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.10043637
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100013a0
int3