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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6a4c
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x52965c]
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 ebx, ecx
call fcn.00405e40
mov ecx, eax
test ecx, ecx
je 0x42b445
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
push str.__PID
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], 0
call fcn.00407260
test al, al
jne 0x42b1e0
mov ecx, str.__PID
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b1c0
sub ecx, edx
sar ecx, 1
push ecx
push str.__PID
lea ecx, [ebp - 0x424]
call fcn.004068a0
lea esi, [ebx + 0x38]
mov dword [ebp - 4], 1
push esi
lea eax, [ebp - 0x424]
mov ecx, ebx
push eax
call fcn.00429d70
mov edx, dword [ebp - 0x424]
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b220
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x42b2c7
call fcn.00405e40
mov ecx, eax
test ecx, ecx
je 0x42b44f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
push 0xd0
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], 2
call fcn.00407260
test al, al
jne 0x42b290
mov ecx, 0xd0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b270
sub ecx, edx
sar ecx, 1
push ecx
push 0xd0
lea ecx, [ebp - 0x424]
call fcn.004068a0
lea eax, [ebp - 0x424]
mov dword [ebp - 4], 3
push eax
mov ecx, esi
call fcn.004138e0
mov edx, dword [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x42b2c7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00474bb0
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x428]
add esp, 0xc
mov dword [ebp - 0x42c], 1
mov dword [ebp - 0x428], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x42c]
push eax
push str.Setup_Path
push str.SOFTWARELuDaShi
push reloc.OLEAUT32.dll_SysReAllocString
call edi
cmp word [ebp - 0x218], 0
je 0x42b339
push 0x4f3e30
lea eax, [ebp - 0x218]
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 0x42b420
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00474bb0
add esp, 0xc
mov dword [ebp - 0x430], 1
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0x104
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x430]
push eax
push str.VendorID
push str.SOFTWARELuDaShi
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b3a7
sub ecx, edx
sar ecx, 1
je 0x42b429
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebx + 0x10]
call fcn.004068a0
lea ecx, [ebx + 0x10]
call fcn.004286b0
lea ecx, [ebx + 0x10]
call fcn.004285b0
mov eax, dword [ebx + 0x10]
mov ecx, 0x4f4ec4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42b406
test dx, dx
je 0x42b402
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42b406
add eax, 4
add ecx, 4
test dx, dx
jne 0x42b3e0
xor eax, eax
jmp 0x42b40b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42b429
push 7
push 0x4f30cc
lea ecx, [ebx + 0x10]
call fcn.004068a0
jmp 0x42b429
push esi
lea ecx, [ebx + 0x10]
call fcn.004138e0
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.0045e5d8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004043b0
push 0x80004005
call fcn.004043b0
int3