Function at 0x432030
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538d3b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x597644]
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 0x4322e5
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.004dda00
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 0x4322da
mov eax, dword [ebp - 0x21c]
cmp eax, 1
je 0x432138
cmp eax, 2
jne 0x4322da
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x43215c
test al, 1
jne 0x4322da
shr eax, 1
cmp word [ebp + eax*2 - 0x216], 0
je 0x432165
jmp 0x4322da
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 0x551f90
push eax
call fcn.0040b410
add esp, 0x20
cmp eax, 6
jne 0x4322da
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 0x432212
cmp ecx, 0xc
jle 0x43221d
mov ecx, 1
mov dword [ebp - 0x224], ecx
mov eax, dword [ebp - 0x228]
cmp eax, 1
jl 0x43222d
cmp eax, 0x1f
jle 0x432238
mov eax, 1
mov dword [ebp - 0x228], eax
mov edi, dword [ebp - 0x22c]
test edi, edi
js 0x432247
cmp edi, 0x17
jle 0x432251
mov dword [ebp - 0x22c], 0
mov edi, dword [ebp - 0x21c]
test edi, edi
js 0x432260
cmp edi, 0x3b
jle 0x43226a
mov dword [ebp - 0x21c], 0
mov edi, dword [ebp - 0x218]
test edi, edi
js 0x432279
cmp edi, 0x3b
jle 0x432283
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.00430400
push 0
call fcn.0050e462
add esp, 4
sub eax, dword [ebp - 0x244]
sbb edx, dword [ebp - 0x240]
push 0
push 0x15180
push edx
push eax
call fcn.00498510
mov edi, eax
test esi, esi
je 0x4322ca
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x4322e7
test esi, esi
je 0x4322e5
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.004982ff
mov esp, ebp
pop ebp
ret