Function at 0x46b0e0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ef06
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x597644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x248], esi
lea eax, [ebp - 0x240]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x240], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.00412520
mov ecx, eax
test ecx, ecx
je 0x46b5ab
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24c], eax
movzx eax, word [ebp - 0x234]
push eax
movzx eax, word [ebp - 0x236]
push eax
movzx eax, word [ebp - 0x238]
push eax
movzx eax, word [ebp - 0x23a]
push eax
movzx eax, word [ebp - 0x23e]
push eax
movzx eax, word [ebp - 0x240]
push eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], 0
push 0x551f90
push eax
call fcn.0041dac0
lea eax, [ebp - 0x230]
push 2
push eax
call fcn.00432bf0
mov edi, dword [ebp - 0x24c]
mov ecx, eax
add esp, 0x28
cmp dword [ecx + 0x14], 8
mov eax, dword [edi - 0xc]
jb 0x46b1b7
mov ecx, dword [ecx]
add eax, eax
push eax
push edi
push 1
push str.InstallDate
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x46b20e
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46b204
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46b5b5
push edx
push ecx
call fcn.00497eef
add esp, 8
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00412310
add eax, 0x10
add esp, 4
mov dword [ebp - 0x250], eax
push str.LdsLite.exe
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 1
call fcn.00467d90
lea eax, [ebp - 0x230]
push 2
push eax
call fcn.00432bf0
mov esi, dword [ebp - 0x250]
mov ecx, eax
add esp, 8
cmp dword [ecx + 0x14], 8
mov eax, dword [esi - 0xc]
jb 0x46b25d
mov ecx, dword [ecx]
add eax, eax
push eax
push esi
push 1
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x46b2b1
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46b2a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46b5ba
push edx
push ecx
call fcn.00497eef
add esp, 8
lea eax, [ebp - 0x230]
push 2
push eax
call fcn.00432bf0
mov edx, dword [ebp - 0x248]
mov ecx, eax
add esp, 8
cmp dword [ecx + 0x14], 8
mov edx, dword [edx]
mov eax, dword [edx - 0xc]
jb 0x46b2d7
mov ecx, dword [ecx]
add eax, eax
push eax
push edx
push 1
push str.Setup_Path
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [ebp - 0x21c]
test eax, eax
setne al
mov byte [ebp - 0x241], al
cmp edx, 8
jb 0x46b33f
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46b32f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46b5bf
push edx
push ecx
call fcn.00497eef
mov al, byte [ebp - 0x241]
add esp, 8
movzx eax, al
xor eax, 1
push 0x208
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004dda00
lea eax, [ebp - 0x230]
mov dword [ebp - 0x258], 1
push 1
push eax
mov dword [ebp - 0x254], 0x208
call fcn.00432bf0
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x46b38b
mov eax, dword [eax]
lea ecx, [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x258]
push ecx
push str.VendorID
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x46b3f1
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46b3e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46b5c4
push edx
push ecx
call fcn.00497eef
add esp, 8
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46b400
sub ecx, edx
sar ecx, 1
jne 0x46b427
push 7
lea eax, [ebp - 0x218]
push 0x550dc0
push eax
call fcn.0050ba9e
add esp, 0xc
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46b430
sub ecx, edx
lea eax, [ebp - 0x230]
sar ecx, 1
push 2
push eax
mov dword [ebp - 0x248], ecx
call fcn.00432bf0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x46b45e
mov eax, dword [eax]
mov ecx, dword [ebp - 0x248]
add ecx, ecx
push ecx
lea ecx, [ebp - 0x218]
push ecx
push 1
push str.VendorID
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x46b4c1
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46b4b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46b5c9
push edx
push ecx
call fcn.00497eef
add esp, 8
lea eax, [ebp - 0x230]
push 2
push eax
call fcn.00432bf0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x46b4da
mov eax, dword [eax]
push 2
push 0x55320c
push 1
push str.NewInstall
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x46b534
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46b52a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46b5ce
push edx
push ecx
call fcn.00497eef
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
lea edx, [esi - 0x10]
mov word [ebp - 0x230], ax
or esi, 0xffffffff
mov byte [ebp - 4], al
mov dword [ebp - 0x21c], 7
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46b56e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x46b58a
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004982ff
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040ada0
call fcn.004e9178
call fcn.004e9178
call fcn.004e9178
call fcn.004e9178
call fcn.004e9178
call fcn.004e9178
int3