Function at 0x41e060
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a988
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4b22c8]
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
push 0x208
xor edi, edi
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00460e20
add esp, 0xc
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x22c], 0x104
call fcn.00408700
mov ecx, eax
test ecx, ecx
je 0x41e35c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push 0x490c08
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], edi
call fcn.00407d90
test al, al
jne 0x41e0fd
push 0x490c08
lea ecx, [ebp - 0x220]
call fcn.0040d3e0
mov dword [ebp - 4], 1
call fcn.00408700
mov ecx, eax
test ecx, ecx
je 0x41e366
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push str.6_L1V8UIG9Ud3HQ5vORigKvY0tjNK1p
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 2
call fcn.00407d90
test al, al
jne 0x41e149
push str.6_L1V8UIG9Ud3HQ5vORigKvY0tjNK1p
lea ecx, [ebp - 0x21c]
call fcn.0040d3e0
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.004424e0
add esp, 0xc
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x230]
push ecx
push str.InstallDir
push dword [eax]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, dword [ebp - 0x234]
test eax, eax
setne bl
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e1b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e1d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x220]
mov eax, esi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e1fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x41e33e
call fcn.00408700
mov ecx, eax
test ecx, ecx
je 0x41e370
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
push 0x490c08
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 4
call fcn.00407d90
test al, al
jne 0x41e24b
push 0x490c08
lea ecx, [ebp - 0x228]
call fcn.0040d3e0
mov dword [ebp - 4], 5
call fcn.00408700
mov ecx, eax
test ecx, ecx
je 0x41e37a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
push str.wusU2FM2gDnV90GbwAm3Q
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 6
call fcn.00407d90
test al, al
jne 0x41e297
push str.wusU2FM2gDnV90GbwAm3Q
lea ecx, [ebp - 0x224]
call fcn.0040d3e0
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.004424e0
add esp, 0xc
push dword [eax]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [ebp - 0x238]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e2e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x224]
mov eax, esi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e305
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x228]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41e327
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, 1
cmovne edi, ecx
mov eax, edi
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.00446191
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407d70
push 0x80004005
call fcn.00407d70
push 0x80004005
call fcn.00407d70
push 0x80004005
call fcn.00407d70
int3