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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e496
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x596634]
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.004126e0
mov ecx, eax
test ecx, ecx
je 0x46aa2b
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 0x550f78
push eax
call fcn.0041dc70
lea eax, [ebp - 0x230]
push 2
push eax
call fcn.00432d80
mov edi, dword [ebp - 0x24c]
mov ecx, eax
add esp, 0x28
cmp dword [ecx + 0x14], 8
mov eax, dword [edi - 0xc]
jb 0x46a637
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 0x46a68e
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46a684
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46aa35
push edx
push ecx
call fcn.00496936
add esp, 8
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.004124d0
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.00467200
lea eax, [ebp - 0x230]
push 2
push eax
call fcn.00432d80
mov esi, dword [ebp - 0x250]
mov ecx, eax
add esp, 8
cmp dword [ecx + 0x14], 8
mov eax, dword [esi - 0xc]
jb 0x46a6dd
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 0x46a731
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46a727
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46aa3a
push edx
push ecx
call fcn.00496936
add esp, 8
lea eax, [ebp - 0x230]
push 2
push eax
call fcn.00432d80
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 0x46a757
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 0x46a7bf
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46a7af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46aa3f
push edx
push ecx
call fcn.00496936
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.004dcfa0
lea eax, [ebp - 0x230]
mov dword [ebp - 0x258], 1
push 1
push eax
mov dword [ebp - 0x254], 0x208
call fcn.00432d80
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x46a80b
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 0x46a871
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46a867
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46aa44
push edx
push ecx
call fcn.00496936
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 0x46a880
sub ecx, edx
sar ecx, 1
jne 0x46a8a7
push 7
lea eax, [ebp - 0x218]
push 0x54fdd0
push eax
call fcn.0050b03e
add esp, 0xc
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a8b0
sub ecx, edx
lea eax, [ebp - 0x230]
sar ecx, 1
push 2
push eax
mov dword [ebp - 0x248], ecx
call fcn.00432d80
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x46a8de
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 0x46a941
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46a937
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46aa49
push edx
push ecx
call fcn.00496936
add esp, 8
lea eax, [ebp - 0x230]
push 2
push eax
call fcn.00432d80
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x46a95a
mov eax, dword [eax]
push 2
push 0x5521f4
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 0x46a9b4
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46a9aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46aa4e
push edx
push ecx
call fcn.00496936
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 0x46a9ee
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 0x46aa0a
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.00496d46
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040af60
call fcn.004e8718
call fcn.004e8718
call fcn.004e8718
call fcn.004e8718
call fcn.004e8718
call fcn.004e8718
int3