Function at 0x42f3a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1df1
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x4e706c]
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
push 0x5e
xor eax, eax
mov dword [ebp - 0x23c], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall934873BE_C9BC_4F19_B698_9B3E3F8FF07F_is1
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.00407920
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x280]
push ecx
xor bl, bl
mov dword [ebp - 0x280], 0
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
push 0x20019
cmovae eax, dword [ebp - 0x24c]
push 0
push eax
push 0x80000002
mov byte [ebp - 0x281], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42f6ad
push 0x200
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00486d70
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x214]
add esp, 0xc
mov dword [ebp - 0x214], 0x1fe
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push str.DisplayName
push dword [ebp - 0x280]
call ebx
test eax, eax
jne 0x42f69b
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 7
lea edx, [ecx + 2]
mov word [ebp - 0x234], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f4c0
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00407920
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
mov edi, dword [ebp - 0x220]
cmp edi, 8
mov esi, dword [ebp - 0x234]
mov edx, dword [ebp - 0x224]
cmovae ecx, esi
push 0xc
push 0x4cb1b8
push 0
call fcn.0043c5d0
add esp, 0xc
cmp eax, 0xffffffff
je 0x42f667
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00486d70
add esp, 0xc
mov dword [ebp - 0x214], 0x1fe
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push str.InstallLocation
push dword [ebp - 0x280]
call ebx
test eax, eax
jne 0x42f65b
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00404c70
mov byte [ebp - 4], 2
lea edx, [ebp - 0x27c]
mov byte [ebp - 0x218], 0
lea ecx, [ebp - 0x264]
push dword [ebp - 0x218]
call fcn.00418ec0
add esp, 4
lea ecx, [ebp - 0x21c]
call fcn.0041a180
lea edx, [ebp - 0x21c]
lea ecx, [ebp - 0x264]
call fcn.0043e6f0
mov edx, dword [ebp - 0x250]
mov byte [ebp - 0x281], al
cmp edx, 8
jb 0x42f5fe
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f5f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f707
push edx
push ecx
call fcn.0046ec30
add esp, 8
mov edx, dword [ebp - 0x268]
xor eax, eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
cmp edx, 8
jb 0x42f65b
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f651
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f70c
push edx
push ecx
call fcn.0046ec30
add esp, 8
mov esi, dword [ebp - 0x234]
mov edi, dword [ebp - 0x220]
cmp edi, 8
jb 0x42f69b
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x42f691
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f711
push edi
push esi
call fcn.0046ec30
add esp, 8
push dword [ebp - 0x280]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, byte [ebp - 0x281]
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x42f6e9
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f6df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f716
push edx
push ecx
call fcn.0046ec30
add esp, 8
mov al, bl
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.0046e70f
mov esp, ebp
pop ebp
ret
call fcn.00489b7c
call fcn.00489b7c
call fcn.00489b7c
call fcn.00489b7c
int3