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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ebd6
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x597644]
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
mov edi, ecx
mov dword [ebp - 0x238], edi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004dda00
lea eax, [ebp - 0x230]
mov dword [ebp - 0x240], 1
push 2
push eax
mov dword [ebp - 0x23c], 0x208
call fcn.00432bf0
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x468ae6
mov eax, dword [eax]
lea ecx, [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x240]
push ecx
push str.Setup_Path
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, dword [ebp - 0x21c]
test eax, eax
sete bl
cmp edx, 8
jb 0x468b51
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x468b47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468dee
push edx
push ecx
call fcn.00497eef
add esp, 8
test bl, bl
je 0x468b77
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x468b60
sub edx, esi
mov ecx, edi
sar edx, 1
push edx
jmp 0x468dc6
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call ebx
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468ba3
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x468bc0
lea eax, [ebp - 0x218]
push eax
call ebx
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push str.LdsLite
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x468da3
push 0x55bd3c
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
lea eax, [ebp - 0x218]
push eax
je 0x468c47
call ebx
push ecx
lea eax, [ebp - 0x218]
mov ecx, esp
push eax
call fcn.00415430
call fcn.00471180
add esp, 4
test eax, eax
je 0x468dd2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468c37
jmp 0x468dbb
call ebx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.00415430
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 0
push eax
call fcn.00470cd0
mov edx, dword [ebp - 0x234]
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x468c98
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x468cb5
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468ca5
jmp 0x468dbb
lea eax, [ebp - 0x218]
push eax
call ebx
xor edi, edi
call fcn.00412520
mov ecx, eax
test ecx, ecx
je 0x468df3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
push edi
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 1
push str.LdsLite_d
push eax
call fcn.0041dac0
mov esi, dword [ebp - 0x234]
lea eax, [ebp - 0x218]
add esp, 0xc
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x468d55
lea eax, [ebp - 0x218]
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x468d46
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc edi
cmp edi, 0xa
jl 0x468cc0
jmp 0x468dd2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468d60
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x238]
push eax
call fcn.0040dcb0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x468dd2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x468dd2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468db0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x238]
lea eax, [ebp - 0x218]
push eax
call fcn.0040dcb0
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.004982ff
mov esp, ebp
pop ebp
ret
call fcn.004e9178
push 0x80004005
call fcn.0040ada0
int3