Function at 0x4107a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458600
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x478990]
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 dword [ebp - 0x34], ecx
call fcn.0041c8d4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4107ea
push 0x80004005
call fcn.00406820
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
call fcn.0041c8d4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x41081a
push 0x80004005
call fcn.00406820
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 1
call fcn.0041c8d4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x410847
push 0x80004005
call fcn.00406820
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
push 0x24
push str.SoftwareMicrosoftInternet_Explorer
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004065f0
mov ebx, dword [ebp - 0x30]
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410a8b
mov dword [ebp - 0x1c], 0x400
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
jge 0x4108b4
push 0x400
lea ecx, [ebp - 0x28]
call fcn.00406510
mov esi, dword [ebp - 0x28]
cmp dword [esi - 8], 0x400
jl 0x410a78
xor eax, eax
mov dword [esi - 0xc], 0x400
mov word [esi + 0x800], ax
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push 0
push str.Build
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x410a82
push dword [esi - 8]
push esi
call fcn.0043ea2f
add esp, 8
test eax, eax
js 0x410a78
cmp eax, dword [esi - 8]
jg 0x410a78
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x410a82
lea eax, [ebp - 0x24]
push eax
push 0x467eec
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004053d0
mov byte [ebp - 4], 3
push dword [ebp - 0x2c]
call fcn.0043fc6e
mov ecx, eax
add esp, 4
mov dword [ebp - 0x24], ecx
cmp ecx, 0xb80d
jg 0x410962
push 0x46b6a0
jmp 0x410a3e
cmp ecx, 0xb832
jg 0x410974
push 0x46b6a8
jmp 0x410a3e
cmp ecx, 0xb875
jg 0x410986
push str.4.01
jmp 0x410a3e
cmp ecx, 0xc364
jg 0x410998
push 0x46b6bc
jmp 0x410a3e
cmp ecx, 0xc375
jg 0x4109aa
push 0x46b6bc
jmp 0x410a3e
cmp ecx, 0xd701
jg 0x4109bc
push 0x46b6c4
jmp 0x410a3e
cmp ecx, 0xd705
jg 0x4109cb
push str.5.5.1
jmp 0x410a3e
cmp ecx, 0xd708
jg 0x4109da
push str.5.5.2
jmp 0x410a3e
cmp ecx, 0xea7a
jg 0x4109e9
push 0x46b6e4
jmp 0x410a3e
cmp ecx, 0xea7c
jg 0x4109f8
push str.6.0.1
jmp 0x410a3e
cmp ecx, 0xf5b4
jg 0x410a07
push str.6.0.2
jmp 0x410a3e
cmp ecx, 0x11558
jge 0x410a16
push str.7.0.1000
jmp 0x410a3e
lea eax, [ecx - 0x11559]
cmp eax, 0x2326
ja 0x410a2a
push str.7.0.6000
jmp 0x410a3e
cmp ecx, 0x13880
jle 0x410a39
push 0x46b72c
jmp 0x410a3e
push str.10.0
lea ecx, [ebp - 0x20]
call fcn.004066f0
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x20]
push eax
call fcn.00406090
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410a73
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x20]
jmp 0x410a92
push 0x80070057
call fcn.00406820
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x24], 0
add ebx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410ab0
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 0
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410ad0
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x410aee
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x24]
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.0043e7dc
mov esp, ebp
pop ebp
ret