Function at 0x41a19c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcf0
xor eax, eax
mov byte [0x674df9], al
mov byte [0x674ce9], al
cmp dword [ebp + 8], 0
jne 0x41a1be
xor edx, edx
mov dword [ebp - 0x10], edx
jmp 0x41a1c5
mov dword [ebp - 0x10], str.Applications
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 0x10]
push 0x80000000
call sub.ADVAPI32.DLL_RegOpenKeyA
test eax, eax
jne 0x41a4a9
xor eax, eax
mov dword [0x186c4b8], eax
jmp 0x41a47f
cmp dword [ebp + 8], 0
jne 0x41a21d
lea edx, [ebp - 0x110]
push edx
movsx ecx, byte [0x674ce8]
imul eax, ecx, 0x136
add eax, 0xf446dd
push eax
call fcn.0044157c
add esp, 8
test eax, eax
jne 0x41a479
jmp 0x41a241
push dword [ebp + 8]
call fcn.004415f8
pop ecx
push eax
lea edx, [ebp - 0x110]
push edx
push dword [ebp + 8]
call fcn.00441874
add esp, 0xc
test eax, eax
jne 0x41a479
lea ecx, [ebp - 0x110]
push ecx
push str._s_shellopencommand
lea eax, [ebp - 0x310]
push eax
call fcn.00444f70
add esp, 0xc
mov dword [ebp - 0x14], 0x106
lea edx, [ebp - 0x14]
push edx
push 0x674cf3
lea ecx, [ebp - 0x310]
push ecx
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueA
test eax, eax
je 0x41a2c4
lea eax, [ebp - 0x110]
push eax
push str._s_shelleditcommand
lea edx, [ebp - 0x310]
push edx
call fcn.00444f70
add esp, 0xc
mov dword [ebp - 0x14], 0x106
lea ecx, [ebp - 0x14]
push ecx
push 0x674cf3
lea eax, [ebp - 0x310]
push eax
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueA
test eax, eax
je 0x41a2c4
mov byte [0x674cf3], 0
lea edx, [ebp - 0x110]
push edx
push str._s_shellopenddeexec_application
lea ecx, [ebp - 0x310]
push ecx
call fcn.00444f70
add esp, 0xc
mov dword [ebp - 0x14], 0xa
lea eax, [ebp - 0x14]
push eax
push 0x674ce9
lea edx, [ebp - 0x310]
push edx
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueA
test eax, eax
jne 0x41a30f
cmp byte [0x674ce9], 0
jne 0x41a3bb
mov byte [0x674ce9], 0
push 0x674cf3
lea ecx, [ebp - 0x310]
push ecx
call fcn.004415c8
add esp, 8
push 0x5c
lea eax, [ebp - 0x310]
push eax
call fcn.004416fd
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41a3bb
mov edx, dword [ebp - 8]
cmp byte [edx + 1], 0
je 0x41a3bb
inc dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
jmp 0x41a35b
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
je 0x41a38f
mov edx, dword [ebp - 0xc]
movsx ecx, byte [edx]
cmp ecx, 0x20
je 0x41a38f
mov eax, dword [ebp - 0xc]
movsx edx, byte [eax]
cmp edx, 0x2e
je 0x41a38f
mov ecx, dword [ebp - 0xc]
movsx eax, byte [ecx]
cmp eax, 0x5c
je 0x41a38f
mov edx, dword [ebp - 0xc]
movsx ecx, byte [edx]
cmp ecx, 0x2f
jne 0x41a358
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
mov edx, dword [ebp - 8]
cmp byte [edx], 0
je 0x41a3bb
push dword [ebp - 8]
call fcn.004415f8
pop ecx
cmp eax, 8
ja 0x41a3bb
push dword [ebp - 8]
push 0x674ce9
call fcn.004415c8
add esp, 8
lea ecx, [ebp - 0x110]
push ecx
push str._s_shellopenddeexec
lea eax, [ebp - 0x310]
push eax
call fcn.00444f70
add esp, 0xc
mov dword [ebp - 0x14], 0x20a
lea edx, [ebp - 0x14]
push edx
push 0x674df9
lea ecx, [ebp - 0x310]
push ecx
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueA
test eax, eax
jne 0x41a412
push 0x457f83
push 0x674df9
call fcn.00441709
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
jne 0x41a472
lea edx, [ebp - 0x110]
push edx
push str._s_shelleditddeexec
lea ecx, [ebp - 0x310]
push ecx
call fcn.00444f70
add esp, 0xc
mov dword [ebp - 0x14], 0x20a
lea eax, [ebp - 0x14]
push eax
push 0x674df9
lea edx, [ebp - 0x310]
push edx
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueA
test eax, eax
jne 0x41a469
push 0x457f9c
push 0x674df9
call fcn.00441709
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
jne 0x41a479
mov byte [0x674df9], 0
jmp 0x41a479
mov edx, dword [ebp - 8]
mov byte [edx + 1], 0x73
inc dword [0x186c4b8]
push 0xfa
lea ecx, [ebp - 0x110]
push ecx
push dword [0x186c4b8]
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegEnumKeyA
test eax, eax
je 0x41a1ea
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegCloseKey
mov esp, ebp
pop ebp
ret