Function at 0x41e2f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x56c
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x10], 0
sub esp, 4
lea eax, [ebp - 0x570]
push 0x400
push 0
push eax
call fcn.0044d15b
add esp, 0x10
mov dword [ebp - 0x48], 0x400
sub esp, 4
lea eax, [ebp - 0x170]
push 0x80
push 0
push eax
call fcn.0044d15b
add esp, 0x10
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xe8], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x8c], 0x45e02c
mov dword [ebp - 0x88], 0x4644e8
mov dword [ebp - 0x84], ebp
mov dword [ebp - 0x7c], esp
mov dword [ebp - 0x84], 0x41e854
mov dword [ebp - 0xa0], 1
lea eax, [ebp - 0xa8]
call fcn.0045ec95
sub esp, 0xc
push 0x2c
call fcn.00442df0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov esi, eax
add esi, 0x2c
mov dword [ebp - 0x18], esi
sub esp, 4
push 0x2c
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionProductName
push eax
call fcn.0044cf90
add esp, 0x10
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], 0
mov byte [ebp - 0xcc], 0
mov dword [ebp - 0xa0], 2
sub esp, 4
lea eax, [ebp - 0xd0]
push 0x40
push 0x4643b1
push eax
call fcn.004041b8
add esp, 0x10
mov dword [ebp - 0xa0], 3
sub esp, 4
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x40]
push eax
lea eax, [ebp - 0xd0]
push eax
push ecx
call fcn.004400d0
add esp, 0x10
cmp dword [ebp - 0x28], 0xf
ja 0x41e44a
lea eax, [ebp - 0x3c]
jmp 0x41e44d
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xa0], 4
sub esp, 4
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyA
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x41e491
mov eax, dword [ebp - 0x3c]
inc ecx
cmp ecx, 0x1000
jb 0x41e485
mov eax, dword [eax - 4]
sub esp, 0xc
push eax
call fcn.00440ea4
add esp, 0x10
mov eax, dword [ebp + 8]
test esi, esi
jne 0x41e4d2
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xa0], 5
sub esp, 8
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x570]
push ecx
push edx
push 0
push 0x464301
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
add esp, 8
test eax, eax
mov eax, dword [ebp + 8]
je 0x41e5ab
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], 0
mov byte [eax + 4], 0
mov dword [ebp - 0xa0], 0xe
sub esp, 4
push 0
push 0x4642ba
push eax
call fcn.004041b8
add esp, 0x10
mov ecx, dword [ebp - 0xb8]
cmp ecx, 0x10
jb 0x41e52a
mov eax, dword [ebp - 0xcc]
inc ecx
cmp ecx, 0x1000
jb 0x41e51e
mov eax, dword [eax - 4]
sub esp, 0xc
push eax
call fcn.00440ea4
add esp, 0x10
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41e562
mov ecx, dword [ebp - 0x18]
sub ecx, eax
cmp ecx, 0x1000
jb 0x41e541
mov eax, dword [eax - 4]
sub esp, 0xc
push eax
call fcn.00440ea4
add esp, 0x10
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0x10
jb 0x41e58b
mov eax, dword [ebp - 0xe8]
inc ecx
cmp ecx, 0x1000
jb 0x41e57f
mov eax, dword [eax - 4]
sub esp, 0xc
push eax
call fcn.00440ea4
add esp, 0x10
sub esp, 0xc
lea eax, [ebp - 0xa8]
push eax
call fcn.0045ecb6
add esp, 0x10
mov eax, dword [ebp + 8]
add esp, 0x56c
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebp - 0x571]
nop word cs:[eax + eax]
cmp byte [eax + 1], 0
lea eax, [eax + 1]
jne 0x41e5c0
lea ecx, [ebp - 0x570]
sub eax, ecx
mov dword [ebp - 0xa0], 6
sub esp, 4
lea edx, [ebp - 0xec]
push eax
push ecx
push edx
call fcn.00410be4
add esp, 0x10
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xa0], 7
sub esp, 8
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x170]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
push 0
push str.CurrentBuild
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x41e6ec
mov dword [ebp - 0xa0], 0xb
sub esp, 0xc
push eax
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0xc
mov dword [ebp - 0xa0], 0xc
sub esp, 4
push 0x46431a
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041eaac
add esp, 0x10
lea eax, [ebp - 0x171]
nop word [eax + eax]
cmp byte [eax + 1], 0
lea eax, [eax + 1]
jne 0x41e670
lea ecx, [ebp - 0x170]
sub eax, ecx
mov dword [ebp - 0xa0], 0xd
sub esp, 4
push eax
push ecx
lea eax, [ebp - 0x40]
push eax
call fcn.00410be4
add esp, 0x10
mov esi, eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0xf
lea eax, [edx + 4]
mov dword [edx + 0x14], 0
mov byte [edx + 4], 0
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x44], ecx
cmp ecx, 0xf
ja 0x41e7a1
mov edi, dword [esi + 0x14]
mov ebx, esi
add ebx, 4
mov ecx, edi
inc ecx
je 0x41e7cd
sub esp, 4
push ecx
push ebx
push eax
call fcn.0044cf90
mov edx, dword [ebp + 8]
add esp, 0x10
jmp 0x41e7d2
mov dword [ebp - 0xa0], 8
sub esp, 0xc
push eax
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0xc
mov dword [ebp - 0xa0], 9
sub esp, 4
push 0x46431a
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041eaac
add esp, 0x10
lea eax, [ebp - 0x171]
nop dword [eax]
cmp byte [eax + 1], 0
lea eax, [eax + 1]
jne 0x41e730
lea ecx, [ebp - 0x170]
sub eax, ecx
mov dword [ebp - 0xa0], 0xa
sub esp, 4
push eax
push ecx
lea eax, [ebp - 0x40]
push eax
call fcn.00410be4
add esp, 0x10
mov esi, eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0xf
lea eax, [edx + 4]
mov dword [edx + 0x14], 0
mov byte [edx + 4], 0
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x44], ecx
cmp ecx, 0xf
ja 0x41e7b7
mov edi, dword [esi + 0x14]
mov ebx, esi
add ebx, 4
mov ecx, edi
inc ecx
je 0x41e809
sub esp, 4
push ecx
push ebx
push eax
call fcn.0044cf90
mov edx, dword [ebp + 8]
add esp, 0x10
jmp 0x41e80e
mov ebx, esi
add ebx, 4
mov ecx, dword [esi + 4]
mov dword [eax], ecx
mov dword [esi + 4], 0
mov edi, dword [esi + 0x14]
jmp 0x41e7d2
mov ebx, esi
add ebx, 4
mov ecx, dword [esi + 4]
mov dword [eax], ecx
mov dword [esi + 4], 0
mov edi, dword [esi + 0x14]
jmp 0x41e80e
mov edi, 0xffffffff
mov dword [edx + 0x14], edi
mov eax, dword [ebp - 0x44]
mov dword [edx + 0x18], eax
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [ebx], 0
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x41e501
mov eax, dword [ebp - 0x3c]
inc ecx
cmp ecx, 0x1000
jb 0x41e807
mov eax, dword [eax - 4]
jmp 0x41e843
mov edi, 0xffffffff
mov dword [edx + 0x14], edi
mov eax, dword [ebp - 0x44]
mov dword [edx + 0x18], eax
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [ebx], 0
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x41e501
mov eax, dword [ebp - 0x3c]
inc ecx
cmp ecx, 0x1000
jb 0x41e843
mov eax, dword [eax - 4]
sub esp, 0xc
push eax
call fcn.00440ea4
add esp, 0x10
jmp 0x41e501