Function at 0x1002e5f0
Capabilities:
Query or enumerate registry key
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100762ca
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x1008e418]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008e418]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
lea eax, [esp + 0x14]
push eax
push 0x20119
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionComponent_Based_ServicingPackages
mov dword [esp + 0x150], ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x1002e751
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], pe_nt_image_headers32
mov dword [esp + 0x24], ebx
lea ecx, [ecx]
mov edx, dword [0x1009238c]
mov eax, dword [edx + 0xc]
mov ecx, 0x1009238c
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x140], 1
mov dword [esp + 0x58], 0x104
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0xff
or eax, ecx
jge 0x1002e6cd
mov ecx, 0xff
lea eax, [esp + 0x3c]
call fcn.10016aa0
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x58]
push ecx
push ebp
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_SHEnumKeyExW]
mov esi, eax
mov eax, dword [ebp - 8]
neg esi
push eax
sbb esi, esi
push ebp
inc esi
call fcn.1005723d
add esp, 8
cmp eax, ebx
jl 0x1002eae0
cmp eax, dword [ebp - 8]
jg 0x1002eae0
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov word [ebp + eax*2], cx
cmp esi, ebx
je 0x1002eaa6
cmp dword [ebp - 0xc], 0xa
jge 0x1002e77f
add ebp, 0xfffffff0
mov byte [esp + 0x140], bl
lea edx, [ebp + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x1002ea9d
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
inc dword [esp + 0x24]
jmp 0x1002e680
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.10055232
add esp, 0x130
ret
push str.Package_
push ebp
call fcn.10057ed1
add esp, 8
cmp eax, ebx
je 0x1002ea79
mov ecx, str.Package_
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x1002e7a0
sub ecx, esi
sar ecx, 1
lea ecx, [eax + ecx*2]
push str._for_KB
push ecx
call fcn.10057ed1
add esp, 8
cmp eax, ebx
je 0x1002ea79
mov ecx, str._for_KB
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x1002e7d0
sub ecx, esi
sar ecx, 1
lea eax, [eax + ecx*2]
push eax
call fcn.10057062
mov edx, dword [edi + 0x18]
mov esi, dword [edi]
add esp, 4
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x70], edx
call fcn.1003d110
mov edi, eax
mov eax, dword [edi]
cmp eax, ebx
je 0x1002e813
cmp eax, esi
je 0x1002e818
call fcn.10055ff2
mov edx, dword [esp + 0x68]
cmp dword [edi + 4], edx
jne 0x1002ea75
mov eax, 0xf
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x114], eax
mov dword [esp + 0x110], ebx
mov byte [esp + 0x100], bl
mov dword [esp + 0x130], eax
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
mov byte [esp + 0x140], 2
mov eax, dword [0x1009238c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009238c
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
push ebp
push str.SOFTWAREMicrosoftWindowsCurrentVersionComponent_Based_ServicingPackages
push str._s_s
lea edi, [esp + 0x24]
mov byte [esp + 0x14c], 3
call fcn.10016c70
add esp, 0xc
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x140], 4
mov ecx, dword [esp + 0x18]
mov eax, 0x20119
mov edx, reloc.OLEAUT32.dll_SysReAllocString
lea esi, [esp + 0x28]
call fcn.10016e80
cmp eax, ebx
jne 0x1002ea2a
push str.InstallTimeHigh
mov eax, esi
push eax
lea ecx, [esp + 0x40]
call fcn.1002d280
test eax, eax
jne 0x1002ea2a
push str.InstallTimeLow
mov ecx, esi
push ecx
lea ecx, [esp + 0x3c]
call fcn.1002d280
test eax, eax
jne 0x1002ea2a
mov edx, dword [0x1009238c]
mov eax, dword [edx + 0xc]
mov ecx, 0x1009238c
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x140], 5
mov edx, dword [esp + 0x38]
xor ecx, ecx
xor eax, eax
mov word [esp + 0x40], cx
lea ecx, [esp + 0x40]
mov dword [esp + 0x60], edx
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
mov dword [esp + 0x4a], eax
mov word [esp + 0x4e], ax
mov eax, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x64], eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [esp + 0x46]
movzx ecx, word [esp + 0x42]
movzx edx, word [esp + 0x40]
push eax
push ecx
push edx
push str._04d__02d__02d
lea edi, [esp + 0x30]
call fcn.10016c70
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
add esp, 0x10
push 3
mov dword [esp + 0xfc], eax
lea ecx, [esp + 0x7c]
push edx
lea eax, [esp + 0x7c]
mov dword [esp + 0x7c], ecx
call fcn.10016720
mov byte [esp + 0x140], 6
mov esi, dword [esp + 0x74]
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002e9b1
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x120]
call fcn.1000a340
mov byte [esp + 0x140], 5
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x78]
cmp eax, ecx
je 0x1002e9e5
push eax
call fcn.10055688
add esp, 4
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push edx
push eax
call fcn.1002eb50
mov esi, eax
lea eax, [esp + 0xf8]
call fcn.1002dc60
mov byte [esp + 0x140], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002ea2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x1002ea3d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x28], ebx
mov byte [esp + 0x140], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x2c], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002ea69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0xf8]
call fcn.1002dc10
mov edi, dword [esp + 0x1c]
add ebp, 0xfffffff0
mov byte [esp + 0x140], bl
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002ea9d
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
inc dword [esp + 0x24]
jmp 0x1002e680
add ebp, 0xfffffff0
mov byte [esp + 0x140], bl
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1002eaca
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1002ead9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1002e757
push 0x80070057
call fcn.100125e0
int3