Function at 0x4967e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55dddb
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
or edi, 0xffffffff
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x224]
push eax
push 0x20219
push 0
push str.SOFTWARELudashi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x496abf
mov dword [ebp - 0x22c], eax
mov esi, dword [ebp - 0x224]
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], 0x200
push 0x200
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.004f39e0
add esp, 0xc
mov dword [ebp - 0x218], 0x200
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push str.InstallDate
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x496aa1
mov eax, dword [ebp - 0x21c]
cmp eax, 1
je 0x4968e9
cmp eax, 2
jne 0x496aa1
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x49690d
test al, 1
jne 0x496aa1
shr eax, 1
cmp word [ebp + eax*2 - 0x216], 0
je 0x496916
jmp 0x496aa1
xor eax, eax
mov word [ebp - 0x214], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
push str._04d__02d__02d__02d:_02d:_02d
lea eax, [ebp - 0x214]
push eax
call fcn.00437f30
add esp, 0x20
cmp eax, 6
jne 0x496a7f
mov edx, dword [ebp - 0x220]
mov eax, 0x7e2
cmp edx, 0x76c
cmovl edx, eax
mov dword [ebp - 0x220], edx
mov ecx, dword [ebp - 0x21c]
cmp ecx, 1
jl 0x4969c7
cmp ecx, 0xc
jle 0x4969d2
mov ecx, 1
mov dword [ebp - 0x21c], ecx
mov eax, dword [ebp - 0x218]
cmp eax, 1
jl 0x4969e2
cmp eax, 0x1f
jle 0x4969ed
mov eax, 1
mov dword [ebp - 0x218], eax
push 0xffffffffffffffff
push 0
push 0
push 0
push eax
push ecx
push edx
lea ecx, [ebp - 0x258]
call fcn.00442e40
push 0
call fcn.00522deb
add esp, 4
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], edx
push 0xffffffffffffffff
push 0
push 0
push 0
lea ecx, [ebp - 0x23c]
call fcn.004454d0
push eax
lea ecx, [ebp - 0x23c]
call fcn.00445a40
push eax
lea ecx, [ebp - 0x23c]
call fcn.00445e70
push eax
lea ecx, [ebp - 0x250]
call fcn.00442e40
mov ecx, dword [ebp - 0x250]
sub ecx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x24c]
sbb eax, dword [ebp - 0x254]
push 0
push 0x15180
push eax
push ecx
call fcn.004da880
lea edi, [eax + 1]
mov dword [ebp - 0x234], edi
mov dword [ebp - 4], 0
jmp 0x496aa1
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x496ac6
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x230], 0
jmp 0x496ac6
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x22c], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004da3bd
mov esp, ebp
pop ebp
ret