Function at 0x1002dbe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e33f8
mov eax, dword fs:[0]
push eax
sub esp, 0xa3c
mov eax, dword [0x101237f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xa48], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0xa18], ebx
mov dword [ebp - 0xa34], 0
call fcn.10004e30
mov ecx, eax
test ecx, ecx
je 0x1002de9d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push str.20160102123456
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.10004200
test al, al
jne 0x1002dc6b
push 0xe
push str.20160102123456
mov ecx, ebx
call fcn.100055f0
push 0x200
lea eax, [ebp - 0x210]
mov dword [ebp - 0xa34], 1
push 0
push eax
call fcn.1006a830
xor ebx, ebx
add esp, 0xc
mov dword [ebp - 0xa44], ebx
mov dword [ebp - 0xa40], ebx
mov dword [ebp - 0xa3c], ebx
lea eax, [ebp - 0xa14]
mov dword [ebp - 4], 2
push eax
push 0x20219
push ebx
push str.SOFTWAREjiandesk
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xa14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002dd8e
mov ebx, dword [ebp - 0xa14]
lea eax, [ebp - 0xa14]
push eax
lea eax, [ebp - 0xa10]
mov dword [ebp - 0xa44], ebx
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xa40], 0x200
push eax
push 0
push str.InstallDate
push ebx
mov dword [ebp - 0xa14], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002dd8e
mov eax, dword [ebp - 0xa38]
cmp eax, 1
je 0x1002dd28
cmp eax, 2
jne 0x1002dd8e
mov eax, dword [ebp - 0xa14]
test eax, eax
je 0x1002dd45
test al, 1
jne 0x1002dd8e
shr eax, 1
cmp word [ebp + eax*2 - 0xa12], 0
je 0x1002dd4e
jmp 0x1002dd8e
xor eax, eax
mov word [ebp - 0xa10], ax
lea ecx, [ebp - 0x210]
mov edx, 0xff
lea esi, [ebp - 0xa10]
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7ffffeff]
test eax, eax
je 0x1002dd81
movzx eax, word [esi + ecx]
test ax, ax
je 0x1002dd81
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x1002dd63
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
push str.0000_00_00_00:00:00
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, esi
je 0x1002ddda
test ebx, ebx
je 0x1002ddb7
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0xa18]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005a0a8
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xa1c]
mov dword [ebp - 0xa30], 0
push eax
lea eax, [ebp - 0xa20]
mov dword [ebp - 0xa2c], 0
push eax
lea eax, [ebp - 0xa24]
mov dword [ebp - 0xa28], 0
push eax
lea eax, [ebp - 0xa28]
mov dword [ebp - 0xa24], 0
push eax
lea eax, [ebp - 0xa2c]
mov dword [ebp - 0xa20], 0
push eax
lea eax, [ebp - 0xa30]
mov dword [ebp - 0xa1c], 0
push eax
lea eax, [ebp - 0x210]
push 0x100f63bc
push eax
call fcn.1002f940
push dword [ebp - 0xa1c]
mov esi, dword [ebp - 0xa18]
push dword [ebp - 0xa20]
push dword [ebp - 0xa24]
push dword [ebp - 0xa28]
push dword [ebp - 0xa2c]
push dword [ebp - 0xa30]
push 0x100ef064
push esi
call fcn.1000c4b0
add esp, 0x40
test ebx, ebx
je 0x1002ddbd
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1002ddbd
push 0x80004005
call fcn.100041e0
int3