Function at 0x42f790
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b22f1
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.00407990
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 0x42fa9d
push 0x200
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00487250
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 0x42fa8b
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 0x42f8b0
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00407990
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 0x4cb0a0
push 0
call fcn.0043c9c0
add esp, 0xc
cmp eax, 0xffffffff
je 0x42fa57
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00487250
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 0x42fa4b
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00404ce0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x27c]
mov byte [ebp - 0x218], 0
lea ecx, [ebp - 0x264]
push dword [ebp - 0x218]
call fcn.00418f10
add esp, 4
lea ecx, [ebp - 0x21c]
call fcn.0041a1d0
lea edx, [ebp - 0x21c]
lea ecx, [ebp - 0x264]
call fcn.0043ead0
mov edx, dword [ebp - 0x250]
mov byte [ebp - 0x281], al
cmp edx, 8
jb 0x42f9ee
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f9e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42faf7
push edx
push ecx
call fcn.0046f0d0
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 0x42fa4b
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42fa41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fafc
push edx
push ecx
call fcn.0046f0d0
add esp, 8
mov esi, dword [ebp - 0x234]
mov edi, dword [ebp - 0x220]
cmp edi, 8
jb 0x42fa8b
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x42fa81
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb01
push edi
push esi
call fcn.0046f0d0
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 0x42fad9
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42facf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb06
push edx
push ecx
call fcn.0046f0d0
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.0046ebaf
mov esp, ebp
pop ebp
ret
call fcn.0048a05c
call fcn.0048a05c
call fcn.0048a05c
call fcn.0048a05c
int3