Function at 0x4262d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ef5b
mov eax, dword fs:[0]
push eax
sub esp, 0xa58
mov eax, dword [0x556768]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x200
mov dword [ebp - 0xa64], eax
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004e38d0
xor ebx, ebx
mov dword [ebp - 0xa58], 0
xorps xmm0, xmm0
mov dword [ebp - 0xa58], ebx
movq qword [ebp - 0xa60], xmm0
add esp, 0xc
mov dword [ebp - 0xa60], ebx
mov dword [ebp - 0xa5c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0xa40]
mov dword [ebp - 0xa40], ebx
push eax
push 0x20219
push ebx
push str.SOFTWAREADBlockMaster
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x426386
mov ebx, dword [ebp - 0xa40]
mov dword [ebp - 0xa60], ebx
mov dword [ebp - 0xa5c], 0x200
mov byte [ebp - 4], 0
test eax, eax
jne 0x42643b
lea eax, [ebp - 0xa40]
mov dword [ebp - 0xa40], 0x800
push eax
lea eax, [ebp - 0xa10]
push eax
lea eax, [ebp - 0xa14]
push eax
push 0
push str.InstallDate
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42643b
mov eax, dword [ebp - 0xa14]
cmp eax, 1
je 0x4263d3
cmp eax, 2
jne 0x42643b
mov eax, dword [ebp - 0xa40]
test eax, eax
je 0x4263f0
test al, 1
jne 0x42643b
shr eax, 1
cmp word [ebp + eax*2 - 0xa12], 0
je 0x4263f9
jmp 0x42643b
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
nop
lea eax, [edx + 0x7ffffeff]
test eax, eax
je 0x42642e
movzx eax, word [esi + ecx]
test ax, ax
je 0x42642e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x426410
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.0000_00_00_00:00:00
call edi
mov esi, eax
lea eax, [ebp - 0x210]
push eax
call edi
cmp eax, esi
je 0x426482
test ebx, ebx
je 0x426462
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1e90
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xa54]
mov dword [ebp - 0xa44], 0
push eax
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xa48], 0
push eax
lea eax, [ebp - 0xa50]
mov dword [ebp - 0xa4c], 0
push eax
lea eax, [ebp - 0xa4c]
mov dword [ebp - 0xa50], 0
push eax
lea eax, [ebp - 0xa48]
mov dword [ebp - 0xa18], 0
push eax
lea eax, [ebp - 0xa44]
mov dword [ebp - 0xa54], 0
push eax
lea eax, [ebp - 0x210]
push str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.004273f0
add esp, 0x20
cmp dword [ebp - 0xa44], 0x7b2
jl 0x4265cc
mov ecx, dword [ebp - 0xa48]
lea edx, [ecx - 1]
cmp edx, 0xb
ja 0x4265d6
mov edi, dword [ebp - 0xa4c]
lea eax, [edi - 1]
cmp eax, 0x1e
ja 0x4265e0
mov eax, dword [ebp - 0xa50]
cmp eax, 0x17
ja 0x4265ea
cmp ecx, 0x3b
ja 0x4265f4
mov esi, dword [ebp - 0xa54]
cmp esi, 0x3b
ja 0x4265fe
mov dword [ebp - 0xa34], eax
mov eax, dword [ebp - 0xa44]
add eax, 0xfffff894
mov dword [ebp - 0xa3c], esi
mov dword [ebp - 0xa28], eax
lea eax, [ebp - 0xa3c]
push eax
mov dword [ebp - 0xa38], ecx
mov dword [ebp - 0xa30], edi
mov dword [ebp - 0xa2c], edx
mov dword [ebp - 0xa1c], 0xffffffff
call fcn.004f3bc2
mov ecx, eax
add esp, 4
and eax, edx
cmp eax, 0xffffffff
je 0x426608
mov eax, dword [ebp - 0xa64]
mov esi, 1
mov dword [eax], ecx
mov dword [eax + 4], edx
test ebx, ebx
je 0x426464
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x426464
push 0x80004005
call fcn.00404d50
push 0x80004005
call fcn.00404d50
push 0x80004005
call fcn.00404d50
push 0x80004005
call fcn.00404d50
push 0x80004005
call fcn.00404d50
push 0x80004005
call fcn.00404d50
push 0x80070057
call fcn.00404d50
int3