Function at 0x41469a
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x428afc
call fcn.0041b8d0
sub esp, 0x1ec
mov eax, dword [ebp + 0x14]
and dword [eax], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
push 0xb
pop ebx
push 0x27
pop ecx
xor eax, eax
lea edi, [ebp - 0xac]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0xac], 0x9c
call esi
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x10], eax
jne 0x414700
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0xac], 0x94
call esi
test eax, eax
je 0x414992
mov eax, dword [ebp - 0x9c]
sub eax, edi
je 0x41497b
dec eax
je 0x4148ab
dec eax
jne 0x414992
mov edx, dword [ebp + 8]
mov eax, 0x4024fc
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x414726
push 4
pop edx
cmp dword [ebp - 0xa8], edx
jae 0x414743
xor ebx, ebx
inc ebx
jmp 0x4147e6
jne 0x4147b6
push 0x41
pop ecx
xor eax, eax
lea edi, [ebp - 0x1f8]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
push 0xa
push edi
push edx
mov ebx, edx
call fcn.0041d476
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
push 0xa
lea eax, [ebp - 0x1f8]
push eax
push dword [ebp - 0xa4]
dec edi
mov esi, 0x4025e8
movsw word es:[edi], word [esi]
call fcn.0041d476
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
lea edi, [ebp - 0x1f8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
or ecx, 0xffffffff
mov esi, edi
mov edi, dword [ebp + 0xc]
repne scasb al, byte es:[edi]
mov ecx, edx
shr ecx, 2
dec edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
jmp 0x4147e6
push 5
pop ebx
cmp dword [ebp - 0xa8], ebx
jne 0x4147e3
cmp dword [ebp - 0xa4], edi
jne 0x4147df
mov edx, dword [ebp + 8]
mov eax, 0x402504
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4147d3
jmp 0x4147e6
push 9
jmp 0x4147e5
push 8
pop ebx
cmp dword [ebp - 0x10], edi
je 0x414808
cmp byte [ebp - 0x12], 2
je 0x4147fb
cmp byte [ebp - 0x12], 3
je 0x4147fb
xor eax, eax
jmp 0x4147fe
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x414992
lea eax, [ebp + 8]
push eax
push 0x4025b8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x414992
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push 0x4025ac
push dword [ebp + 8]
xor esi, esi
inc esi
mov dword [ebp + 0xc], 0x104
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41489d
lea eax, [ebp - 0x1f8]
push 0x4025a0
push eax
call fcn.0041bc58
test eax, eax
pop ecx
pop ecx
je 0x414898
lea eax, [ebp - 0x1f8]
push 0x402594
push eax
call fcn.0041bc58
test eax, eax
pop ecx
pop ecx
je 0x414898
lea eax, [ebp - 0x1f8]
push 0x402588
push eax
call fcn.0041bc58
test eax, eax
pop ecx
pop ecx
jne 0x41489d
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x414992
cmp dword [ebp - 0xa4], edi
jne 0x4148ce
mov edx, dword [ebp + 8]
mov eax, 0x4024ec
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4148bd
xor ebx, ebx
jmp 0x414951
mov dword [ebp + 0x14], edi
mov dword [ebp - 4], edi
mov edx, dword [ebp + 8]
push 0x11
pop ecx
mov esi, 0x402540
lea edi, [ebp - 0xf4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, 0x4024f4
movsb byte es:[edi], byte [esi]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4148f1
push 0x2001f
lea eax, [ebp - 0xf4]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp + 0x14]
call fcn.00404be8
test eax, eax
mov edx, dword [ebp + 0xc]
jne 0x414931
push 3
mov eax, 0x402524
pop ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x414925
jmp 0x414945
push 2
mov eax, 0x402534
pop ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41493b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00404bd1
mov eax, dword [ebp - 0xa0]
shr eax, 0x10
cmp ah, 4
jne 0x414992
cmp al, 0x5a
jne 0x414992
mov edx, dword [ebp + 8]
mov eax, 0x402514
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41496d
push 6
jmp 0x414991
mov edx, dword [ebp + 8]
mov eax, 0x40250c
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x414985
push 0xa
pop ebx
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x98]
lea eax, [ebp - 0x98]
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4149a3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10