Function at 0x4321c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5382cb
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x596634]
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
mov eax, dword [ebp + 8]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
test eax, eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0
push eax
push 0x20219
mov edx, str.SOFTWARELudashi
mov ecx, str.SOFTWARELdsLite
push 0
cmove ecx, edx
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x432475
mov esi, dword [ebp - 0x230]
push 0x200
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x23c], esi
push eax
mov dword [ebp - 0x238], 0x200
call fcn.004dcfa0
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 0x43246a
mov eax, dword [ebp - 0x21c]
cmp eax, 1
je 0x4322c8
cmp eax, 2
jne 0x43246a
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x4322ec
test al, 1
jne 0x43246a
shr eax, 1
cmp word [ebp + eax*2 - 0x216], 0
je 0x4322f5
jmp 0x43246a
xor eax, eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 0
push eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x224], 0
push eax
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x22c], 0
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x21c], 0
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x218], 0
push 0x550f78
push eax
call fcn.0040b5d0
add esp, 0x20
cmp eax, 6
jne 0x43246a
mov edx, dword [ebp - 0x220]
mov eax, 0x76c
mov ecx, dword [ebp - 0x224]
cmp edx, eax
cmovl edx, eax
mov dword [ebp - 0x220], edx
cmp ecx, 1
jl 0x4323a2
cmp ecx, 0xc
jle 0x4323ad
mov ecx, 1
mov dword [ebp - 0x224], ecx
mov eax, dword [ebp - 0x228]
cmp eax, 1
jl 0x4323bd
cmp eax, 0x1f
jle 0x4323c8
mov eax, 1
mov dword [ebp - 0x228], eax
mov edi, dword [ebp - 0x22c]
test edi, edi
js 0x4323d7
cmp edi, 0x17
jle 0x4323e1
mov dword [ebp - 0x22c], 0
mov edi, dword [ebp - 0x21c]
test edi, edi
js 0x4323f0
cmp edi, 0x3b
jle 0x4323fa
mov dword [ebp - 0x21c], 0
mov edi, dword [ebp - 0x218]
test edi, edi
js 0x432409
cmp edi, 0x3b
jle 0x432413
mov dword [ebp - 0x218], 0
push 0xffffffffffffffff
push 0
push 0
push 0
push eax
push ecx
push edx
lea ecx, [ebp - 0x244]
call fcn.00430580
push 0
call fcn.0050da02
add esp, 4
sub eax, dword [ebp - 0x244]
sbb edx, dword [ebp - 0x240]
push 0
push 0x15180
push edx
push eax
call fcn.00496f60
mov edi, eax
test esi, esi
je 0x43245a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x432477
test esi, esi
je 0x432475
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
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.00496d46
mov esp, ebp
pop ebp
ret