Function at 0x100061b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x10016050]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], ecx
mov byte [ebp - 0xd0], 0
push 0xc7
push 0
lea eax, [ebp - 0xcf]
push eax
call fcn.10009770
add esp, 0xc
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x130], edx
cmp dword [ebp - 0x130], 0
je 0x10006219
cmp dword [ebp - 0x130], 1
je 0x10006244
cmp dword [ebp - 0x130], 2
je 0x100063d7
jmp 0x100067ac
push str.Microsoft_Win32s
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10002610
mov eax, dword [ebp - 0x12c]
mov dword [eax + 0xa4], 1
jmp 0x100067e8
mov ecx, dword [ebp - 0x12c]
cmp dword [ecx + 8], 4
jne 0x100062c6
mov edx, dword [ebp - 0x12c]
cmp dword [edx + 0xc], 0
jne 0x100062c6
push str.Microsoft_Windows_95
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10002610
mov eax, dword [ebp - 0x12c]
mov dword [eax + 0xa4], 3
mov ecx, dword [ebp - 0x12c]
movsx edx, byte [ecx + 0x19]
cmp edx, 0x43
je 0x100062a0
mov eax, dword [ebp - 0x12c]
movsx ecx, byte [eax + 0x19]
cmp ecx, 0x42
jne 0x100062c6
push str._OSR2
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10004910
mov edx, dword [ebp - 0x12c]
mov dword [edx + 0xa4], 4
mov eax, dword [ebp - 0x12c]
cmp dword [eax + 8], 4
jne 0x10006339
mov ecx, dword [ebp - 0x12c]
cmp dword [ecx + 0xc], 0xa
jne 0x10006339
push str.Microsoft_Windows_98
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10002610
mov edx, dword [ebp - 0x12c]
mov dword [edx + 0xa4], 5
mov eax, dword [ebp - 0x12c]
movsx ecx, byte [eax + 0x19]
cmp ecx, 0x41
jne 0x10006339
push 0x10013d10
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10004910
mov edx, dword [ebp - 0x12c]
mov dword [edx + 0xa4], 6
mov eax, dword [ebp - 0x12c]
cmp dword [eax + 8], 4
jne 0x10006377
mov ecx, dword [ebp - 0x12c]
cmp dword [ecx + 0xc], 0x5a
jne 0x10006377
push str.Microsoft_Windows_Me
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10002610
mov edx, dword [ebp - 0x12c]
mov dword [edx + 0xa4], 7
mov eax, dword [ebp - 0x12c]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx + 0x10]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 8]
push eax
push str.Version__d._d_Build__d__s
lea ecx, [ebp - 0xd0]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea edx, [ebp - 0xd0]
push edx
mov ecx, dword [ebp - 0x12c]
add ecx, 0xd0
call fcn.10002610
jmp 0x100067e8
mov eax, dword [ebp - 0x12c]
cmp dword [eax + 8], 4
ja 0x10006409
push str.Microsoft_Windows_NT
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10002610
mov ecx, dword [ebp - 0x12c]
mov dword [ecx + 0xa4], 2
mov edx, dword [ebp - 0x12c]
cmp dword [edx + 8], 5
jne 0x10006447
mov eax, dword [ebp - 0x12c]
cmp dword [eax + 0xc], 0
jne 0x10006447
push str.Microsoft_Windows_2000
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10002610
mov ecx, dword [ebp - 0x12c]
mov dword [ecx + 0xa4], 8
mov edx, dword [ebp - 0x12c]
cmp dword [edx + 8], 5
jne 0x10006485
mov eax, dword [ebp - 0x12c]
cmp dword [eax + 0xc], 1
jne 0x10006485
push str.Microsoft_Windows_XP
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10002610
mov ecx, dword [ebp - 0x12c]
mov dword [ecx + 0xa4], 9
mov edx, dword [ebp - 0x12c]
cmp dword [edx + 8], 5
jne 0x100064c3
mov eax, dword [ebp - 0x12c]
cmp dword [eax + 0xc], 2
jb 0x100064c3
push str.Microsoft_Windows_Server_2003
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10002610
mov ecx, dword [ebp - 0x12c]
mov dword [ecx + 0xa4], 0xa
mov edx, dword [ebp - 0x12c]
cmp dword [edx + 8], 6
jne 0x10006501
mov eax, dword [ebp - 0x12c]
cmp dword [eax + 0xc], 0
jne 0x10006501
push str.Microsoft_Windows_Vista
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10002610
mov ecx, dword [ebp - 0x12c]
mov dword [ecx + 0xa4], 0xb
mov edx, dword [ebp - 0x12c]
cmp dword [edx + 8], 6
jne 0x10006541
mov eax, dword [ebp - 0x12c]
cmp dword [eax + 0xc], 1
jne 0x10006541
push str.Microsoft_Windows_seven
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10002610
mov ecx, dword [ebp - 0x12c]
mov dword [ecx + 0xa4], 0xc
jmp 0x1000658b
mov edx, dword [ebp - 0x12c]
cmp dword [edx + 8], 6
ja 0x10006565
mov eax, dword [ebp - 0x12c]
cmp dword [eax + 8], 6
jne 0x1000658b
mov ecx, dword [ebp - 0x12c]
cmp dword [ecx + 0xc], 1
jbe 0x1000658b
push str.Unknown_Windows_version__but_above_Windows_7
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10002610
mov edx, dword [ebp - 0x12c]
mov dword [edx + 0xa4], 0xc
mov eax, dword [ebp - 0x12c]
movzx ecx, byte [eax + 0xa0]
test ecx, ecx
je 0x1000667a
mov edx, dword [ebp - 0x12c]
movzx eax, byte [edx + 0x9e]
cmp eax, 1
jne 0x100065f7
mov ecx, dword [ebp - 0x12c]
movzx edx, word [ecx + 0x9c]
and edx, 0x200
je 0x100065df
push str._Personal
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10004910
jmp 0x100065f5
push 0x10013e1c
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10004910
jmp 0x10006675
mov eax, dword [ebp - 0x12c]
movzx ecx, byte [eax + 0x9e]
cmp ecx, 3
jne 0x10006675
mov edx, dword [ebp - 0x12c]
movzx eax, word [edx + 0x9c]
and eax, 0x80
je 0x10006635
push str._DataCenter_Server
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10004910
jmp 0x10006675
mov ecx, dword [ebp - 0x12c]
movzx edx, word [ecx + 0x9c]
and edx, 2
je 0x1000665f
push 0x10013e40
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10004910
jmp 0x10006675
push 0x10013e54
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10004910
jmp 0x10006750
lea eax, [ebp - 0x124]
push eax
push 1
push 0
push str.SYSTEMCurrentControlSetControlProductOptions
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x120]
push edx
push 0
push 0
push str.ProductType
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x120]
push edx
push str.WINNT
call fcn.1000c5f6
add esp, 8
test eax, eax
jne 0x100066f4
push str._Professional
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10004910
lea eax, [ebp - 0x120]
push eax
push str.LANMANNT
call fcn.1000c5f6
add esp, 8
test eax, eax
jne 0x10006722
push str._Server
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10004910
lea ecx, [ebp - 0x120]
push ecx
push str.SERVERNT
call fcn.1000c5f6
add esp, 8
test eax, eax
jne 0x10006750
push str._Advanced_Server
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10004910
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 0x10]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x12c]
add ecx, 0x18
push ecx
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx + 8]
push edx
push str.Version__d._d__s__Build__d_
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, dword [ebp - 0x12c]
add ecx, 0xd0
call fcn.10002610
jmp 0x100067e8
push 0x10013f00
mov ecx, dword [ebp - 0x12c]
add ecx, 0xb4
call fcn.10002610
push str.Unknown
mov ecx, dword [ebp - 0x12c]
add ecx, 0xd0
call fcn.10002610
mov edx, dword [ebp - 0x12c]
mov dword [edx + 0xa4], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100068dd
mov esp, ebp
pop ebp
ret