Function at 0x101dcc1
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x102a04d
call fcn.01028e88
sub esp, 0x138
mov eax, dword [0x102fa80]
push ebx
push esi
mov esi, ecx
cmp dword [esi + 4], 6
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x138], esi
je 0x101e157
push 0x70c
call sub.MFC42u.dll_operatornew
mov edi, eax
xor ebx, ebx
xor eax, eax
cmp edi, ebx
pop ecx
mov dword [esi + 0x174], edi
je 0x101e290
mov ecx, 0x1c3
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x114]
push eax
mov word [ebp - 0x114], 0x5c
mov word [ebp - 0x112], 0x5c
mov word [ebp - 0x110], bx
call dword [fcn.0100113c]
mov ecx, 0x80
sub ecx, eax
push ecx
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [fcn.01001054]
lea eax, [ebp - 0x128]
push eax
push 0x80000002
mov ecx, esi
call fcn.01009ee4
neg eax
sbb eax, eax
not eax
lea ecx, [ebp - 0x114]
and eax, ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
test eax, eax
jne 0x101e157
lea eax, [ebp - 0x11c]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101e14b
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x118]
push eax
push dword [esi + 0x174]
lea eax, [ebp - 0x124]
push eax
push ebx
push str.InstallDate
push dword [ebp - 0x11c]
mov dword [ebp - 0x118], 4
call edi
test eax, eax
je 0x101ddeb
mov eax, dword [esi + 0x174]
or dword [eax], 0xffffffff
lea eax, [ebp - 0x118]
push eax
mov eax, dword [esi + 0x174]
add eax, 4
push eax
lea eax, [ebp - 0x124]
push eax
push ebx
push str.CSDVersion
push dword [ebp - 0x11c]
mov dword [ebp - 0x118], 0x100
call edi
lea eax, [ebp - 0x118]
push eax
mov eax, dword [esi + 0x174]
add eax, 0x104
push eax
lea eax, [ebp - 0x124]
push eax
push ebx
push str.CurrentVersion
push dword [ebp - 0x11c]
mov dword [ebp - 0x118], 0x100
call edi
mov eax, dword [esi + 0x174]
add eax, 0x104
push eax
call dword [sym.imp.msvcrt.dll__wtol]
pop ecx
mov ecx, dword [esi + 0x174]
mov dword [ecx + 0x204], eax
lea eax, [ebp - 0x118]
push eax
mov eax, dword [esi + 0x174]
add eax, 0x208
push eax
lea eax, [ebp - 0x124]
push eax
push ebx
push str.CurrentBuildNumber
push dword [ebp - 0x11c]
mov dword [ebp - 0x118], 0x100
call edi
lea eax, [ebp - 0x118]
push eax
mov eax, dword [esi + 0x174]
add eax, 0x308
push eax
lea eax, [ebp - 0x124]
push eax
push ebx
push 0x102f144
push dword [ebp - 0x11c]
mov dword [ebp - 0x118], 0x100
call edi
lea eax, [ebp - 0x130]
push eax
push 0x20019
push ebx
push str.HOTFIX
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101e0e8
mov dword [ebp - 0x134], ebx
lea eax, [ebp - 0x144]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x134]
mov dword [ebp - 0x118], 0x80
push dword [ebp - 0x130]
call dword [entry0]
test eax, eax
jne 0x101e0dc
lea eax, [ebp - 0x12c]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x130]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101e0d1
push 0x50
mov dword [ebp - 4], ebx
call sub.MFC42u.dll_operatornew
cmp eax, ebx
pop ecx
je 0x101df77
mov dword [eax], 0x1006120
jmp 0x101df79
xor eax, eax
mov dword [ebp - 0x120], eax
jmp 0x101dfa7
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x120], ebx
je 0x101e0d1
push 3
lea eax, [ebp - 0x114]
push 0x100623c
push eax
call dword [sym.imp.msvcrt.dll_wcsncmp]
add esp, 0xc
test eax, eax
push 0xa
lea eax, [ebp - 0x10e]
je 0x101dfe0
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x120]
add eax, 4
push eax
call dword [fcn.01001054]
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x118]
push ecx
add eax, 0x48
push eax
lea eax, [ebp - 0x124]
push eax
push ebx
push str.Valid
push dword [ebp - 0x12c]
mov dword [ebp - 0x118], 4
call edi
test eax, eax
je 0x101e030
mov eax, dword [ebp - 0x120]
add eax, 0x48
mov dword [eax], ebx
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x118]
push ecx
add eax, 0x44
push eax
lea eax, [ebp - 0x124]
push eax
push ebx
push str.Installed_On
push dword [ebp - 0x12c]
mov dword [ebp - 0x118], 4
call edi
test eax, eax
je 0x101e070
mov eax, dword [ebp - 0x120]
add eax, 0x44
or dword [eax], 0xffffffff
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x118]
push ecx
add eax, 0x18
push eax
lea eax, [ebp - 0x124]
push eax
push ebx
push str.Installed_By
push dword [ebp - 0x12c]
mov dword [ebp - 0x118], 0x2a
call edi
test eax, eax
je 0x101e0b0
mov eax, dword [ebp - 0x120]
add eax, 0x18
mov word [eax], bx
mov eax, dword [ebp - 0x120]
push eax
lea ecx, [esi + 0x158]
mov dword [eax + 0x4c], esi
call sub.MFC42u.dll_CObList::AddTail
push dword [ebp - 0x12c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x134]
jmp 0x101defc
push dword [ebp - 0x130]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 0x174]
cmp dword [eax + 0x204], 5
jae 0x101e226
lea eax, [ebp - 0x11c]
push eax
push 0x20019
push ebx
push 0x10061d8
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x101e15e
lea eax, [ebp - 0x11c]
push eax
push 0x20019
push ebx
push 0x1006188
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x101e15e
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x101e290
lea eax, [ebp - 0x118]
push eax
mov eax, dword [esi + 0x174]
add eax, 0x408
push eax
lea eax, [ebp - 0x124]
push eax
push ebx
push 0x1006170
push dword [ebp - 0x11c]
mov dword [ebp - 0x118], 0x100
call edi
lea eax, [ebp - 0x118]
push eax
mov eax, dword [esi + 0x174]
add eax, 0x508
push eax
lea eax, [ebp - 0x124]
push eax
push ebx
push 0x1006150
push dword [ebp - 0x11c]
mov dword [ebp - 0x118], 0x100
call edi
mov eax, dword [esi + 0x174]
push 0x10
add eax, 0x508
push ebx
push eax
call dword [sym.imp.msvcrt.dll_wcstol]
mov ecx, dword [esi + 0x174]
mov dword [ecx + 0x608], eax
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov eax, dword [esi + 0x174]
add eax, 0x60c
push eax
lea eax, [ebp - 0x124]
push eax
push ebx
push 0x1006134
push dword [ebp - 0x11c]
mov dword [ebp - 0x118], 0x100
call edi
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x101e27a
mov edi, dword [sym.imp.msvcrt.dll_wcscpy]
lea ecx, [eax + 0x308]
push ecx
add eax, 0x408
push eax
call edi
mov eax, dword [esi + 0x174]
lea ecx, [eax + 0x104]
push ecx
add eax, 0x508
push eax
call edi
mov eax, dword [esi + 0x174]
mov ecx, dword [eax + 0x204]
mov dword [eax + 0x608], ecx
mov eax, dword [esi + 0x174]
lea ecx, [eax + 0x208]
push ecx
add eax, 0x60c
push eax
call edi
add esp, 0x18
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [esi + 0x1ac], 4
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.01027cb3
pop edi
pop esi
pop ebx
leave
ret