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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bf66
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x594624]
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.004daa30
lea eax, [ebp - 0x230]
mov dword [ebp - 0x240], 1
push 2
push eax
mov dword [ebp - 0x23c], 0x208
call fcn.0042de70
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x464bf6
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 0x464c61
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x464c57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464efe
push edx
push ecx
call fcn.004939be
add esp, 8
test bl, bl
je 0x464c87
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x464c70
sub edx, esi
mov ecx, edi
sar edx, 1
push edx
jmp 0x464ed6
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 0x464cb3
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x464cd0
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 0x464eb3
push 0x558814
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 0x464d57
call ebx
push ecx
lea eax, [ebp - 0x218]
mov ecx, esp
push eax
call fcn.00415b40
call fcn.0046d0d0
add esp, 4
test eax, eax
je 0x464ee2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464d47
jmp 0x464ecb
call ebx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.00415b40
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 0
push eax
call fcn.0046cc20
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 0x464da8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x464dc5
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464db5
jmp 0x464ecb
lea eax, [ebp - 0x218]
push eax
call ebx
xor edi, edi
call fcn.00412c30
mov ecx, eax
test ecx, ecx
je 0x464f03
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.0041de00
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 0x464e65
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 0x464e56
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc edi
cmp edi, 0xa
jl 0x464dd0
jmp 0x464ee2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464e70
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x238]
push eax
call fcn.0040e3c0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x464ee2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x464ee2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464ec0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x238]
lea eax, [ebp - 0x218]
push eax
call fcn.0040e3c0
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.00493dce
mov esp, ebp
pop ebp
ret
call fcn.004e61b8
push 0x80004005
call fcn.0040b4c0
int3