Function at 0x41d230
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51eaec
mov eax, dword fs:[0]
push eax
sub esp, 0x688
mov eax, dword [0x57c8b4]
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
lea eax, [ebp - 0x264]
mov ebx, 1
push 0
push eax
mov dword [ebp - 0x684], ebx
call fcn.004a99f0
add esp, 0xc
mov dword [ebp - 0x680], 0x104
lea eax, [ebp - 0x688]
lea ecx, [ebp - 0x675]
push eax
call fcn.0041af40
lea ecx, [ebp - 0x680]
push ecx
lea ecx, [ebp - 0x264]
push ecx
lea ecx, [ebp - 0x684]
push ecx
push 0x535c84
push dword [eax]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, dword [ebp - 0x688]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d2e2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040b790
mov ecx, eax
test ecx, ecx
je 0x41d617
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x67c], eax
lea eax, [ebp - 0x264]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x67c]
call fcn.0040ac20
test al, al
jne 0x41d347
lea ecx, [ebp - 0x264]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d325
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x67c]
call fcn.0040a4c0
push 0x208
lea eax, [ebp - 0x674]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.004a99f0
add esp, 0xc
lea eax, [ebp - 0x68c]
lea ecx, [ebp - 0x675]
push eax
call fcn.0041b580
mov esi, dword [ebp - 0x67c]
push dword [eax]
lea eax, [ebp - 0x674]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [ebp - 0x68c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d3a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x674]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x67c], eax
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41d3e0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x67c]
test eax, eax
jne 0x41d5f9
push 0x208
push eax
lea eax, [ebp - 0x46c]
push eax
call fcn.004a99f0
add esp, 0xc
mov dword [ebp - 0x694], 1
xor eax, eax
mov dword [ebp - 0x690], 0x104
mov dword [ebp - 0x5c], 0x6f0053
mov dword [ebp - 0x58], 0x740066
mov dword [ebp - 0x54], 0x610077
mov dword [ebp - 0x50], 0x650072
mov dword [ebp - 0x4c], 0x54005c
mov dword [ebp - 0x48], 0x6e0065
mov dword [ebp - 0x44], str.q_w
mov dword [ebp - 0x40], 0x74006e
mov dword [ebp - 0x3c], 0x51005c
mov dword [ebp - 0x38], 0x500051
mov dword [ebp - 0x34], 0x4d0043
mov dword [ebp - 0x30], 0x720067
mov word [ebp - 0x2c], ax
call fcn.0040b790
mov ecx, eax
test ecx, ecx
je 0x41d621
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x67c], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x67c]
call fcn.0040ac20
test al, al
jne 0x41d4cf
lea ecx, [ebp - 0x5c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d4b0
sub ecx, edx
lea eax, [ebp - 0x5c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x67c]
call fcn.0040a4c0
mov esi, dword [ebp - 0x67c]
lea eax, [ebp - 0x690]
push eax
lea eax, [ebp - 0x46c]
mov dword [ebp - 4], 0xffffffff
push eax
lea eax, [ebp - 0x694]
push eax
push str.InstallDir
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
mov eax, edi
setne byte [ebp - 0x675]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41d522
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x675], 0
jne 0x41d5f9
mov dword [ebp - 0x28], 0x510051
mov dword [ebp - 0x24], 0x430050
mov dword [ebp - 0x20], 0x67004d
mov dword [ebp - 0x1c], 0x2e0072
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
call fcn.0040b790
mov ecx, eax
test ecx, ecx
je 0x41d62b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x67c], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x67c]
call fcn.0040ac20
test al, al
jne 0x41d5b5
lea ecx, [ebp - 0x28]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d596
sub ecx, edx
lea eax, [ebp - 0x28]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x67c]
call fcn.0040a4c0
mov esi, dword [ebp - 0x67c]
lea eax, [ebp - 0x46c]
push esi
push eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x41d5e5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
cmovne ebx, ecx
mov eax, ebx
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.00490238
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408b70
push 0x80004005
call fcn.00408b70
push 0x80004005
call fcn.00408b70
int3