Function at 0x40bbb0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a4d86
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d8b40]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x29c]
push 0x18c
xor ebx, ebx
lea eax, [esp + 0x30]
mov edi, ecx
push ebx
push eax
mov dword [esp + 0x2c], edi
call fcn.00465b60
add esp, 0xc
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb4], 0x34
mov dword [esp + 0x20], ebx
call fcn.00402670
mov dword [esp + 0x294], ebx
mov eax, dword [0x4e0df0]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00407720
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x40bc73
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [edx - 8]
neg esi
sbb esi, esi
mov eax, 1
sub eax, dword [edx - 4]
and esi, 0xffffff00
add esi, 0x200
or ecx, eax
jge 0x40bca8
push ebx
lea ecx, [esp + 0x1c]
call fcn.00402850
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
or esi, 0x20019
push esi
push ebx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0xb4
push ebx
cmp eax, ebx
je 0x40bd2a
lea ecx, [esp + 0x1d4]
push ecx
mov dword [esp + 0xc0], 1
call fcn.00465b60
add esp, 0xc
mov esi, str.IDS_NPSHARE_CONTROL_NOT_INST
mov ecx, str.CheckRes
call fcn.00426a80
lea edx, [esp + 0x1cc]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x40bd00
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x1cc]
mov byte [esp + eax + 0xb8], cl
inc eax
cmp cl, bl
jne 0x40bd10
xor esi, esi
jmp 0x40bed4
lea edx, [esp + 0x1d4]
push edx
mov dword [esp + 0xc0], ebx
call fcn.00465b60
add esp, 0xc
mov esi, str.IDS_NPSHARE_CONTROL_INST
mov ecx, str.CheckRes
call fcn.00426a80
lea edx, [esp + 0x1cc]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x40bd57
xor eax, eax
jmp 0x40bd70
mov cl, byte [esp + eax + 0x1cc]
mov byte [esp + eax + 0xb8], cl
inc eax
cmp cl, bl
jne 0x40bd70
xor eax, eax
mov dword [esp + 0x1bd], eax
mov dword [esp + 0x1c1], eax
mov dword [esp + 0x1c5], eax
mov word [esp + 0x1c9], ax
mov byte [esp + 0x1cb], al
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c0]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebx
push str.DisplayVersion
push eax
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x1d4], bl
mov dword [esp + 0x40], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x40becf
lea ecx, [esp + 0x1bc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00402670
mov byte [esp + 0x294], 1
mov edx, dword [esp + 0x14]
push str.10.0.0.56
push edx
call fcn.0045ff67
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x40be37
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.B5647B92_E7FF_4595_9213_A1732D73DD24
call fcn.00402670
push ebx
call fcn.0040cba0
add esp, 8
jmp 0x40bea6
lea edi, [esp + 0xb8]
dec edi
nop
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x40be40
mov eax, dword [0x4c270c]
mov dword [edi], eax
lea eax, [esp + 0x1bc]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40be58
lea edi, [esp + 0xb8]
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x40be70
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb8]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x40be90
mov cx, word [0x4c33b4]
mov word [edi], cx
mov edi, dword [esp + 0x20]
mov byte [esp + 0x294], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40becf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, 1
cmp edi, ebx
je 0x40bee7
lea ecx, [esp + 0x2c]
push ecx
mov eax, edi
call fcn.00420b20
add esp, 4
cmp ebp, ebx
je 0x40bf02
lea eax, [esp + 0xb8]
mov edx, ebp
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x40bef8
mov dword [esp + 0x294], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bf2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.0045f97b
add esp, 0x284
ret 4