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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489e68
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4b12c8]
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.00460350
add esp, 0xc
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x22c], 0x104
call fcn.00408700
mov ecx, eax
test ecx, ecx
je 0x41de7c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push str.45476F8083D74AC28A2DA8ED399737B7
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], edi
call fcn.00407d90
test al, al
jne 0x41dc1d
push str.45476F8083D74AC28A2DA8ED399737B7
lea ecx, [ebp - 0x220]
call fcn.0040d3e0
mov dword [ebp - 4], 1
call fcn.00408700
mov ecx, eax
test ecx, ecx
je 0x41de86
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 0x41dc69
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.00441990
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 0x41dcd6
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 0x41dcf7
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 0x41dd1b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x41de5e
call fcn.00408700
mov ecx, eax
test ecx, ecx
je 0x41de90
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
push str.45476F8083D74AC28A2DA8ED399737B7
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 4
call fcn.00407d90
test al, al
jne 0x41dd6b
push str.45476F8083D74AC28A2DA8ED399737B7
lea ecx, [ebp - 0x228]
call fcn.0040d3e0
mov dword [ebp - 4], 5
call fcn.00408700
mov ecx, eax
test ecx, ecx
je 0x41de9a
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 0x41ddb7
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.00441990
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 0x41de04
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 0x41de25
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 0x41de47
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.00445670
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