Function at 0x493cb0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e92bc
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x254], eax
push ebx
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
cmp dword [esi + 0x94], 0
mov eax, dword [esp + 0x27c]
jne 0x493d05
xor al, al
jmp 0x494053
xor ecx, ecx
mov dword [esp + 0x54], 0
push 0xffffffffffffffff
push ecx
mov word [esp + 0x4c], cx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 0
push eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
call fcn.00403000
mov dword [esp + 0x274], 0
lea eax, [esi + 0x84]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x50]
call fcn.004033c0
cmp dword [esp + 0x58], 8
lea ecx, [esp + 0x14]
push ecx
push 0x20019
lea eax, [esp + 0x4c]
cmovae eax, dword [esp + 0x4c]
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49401a
mov esi, dword [esp + 0x14]
test esi, esi
je 0x49401a
push 0x206
push eax
mov dword [esp + 0x2c], eax
xor bl, bl
mov word [esp + 0x64], ax
lea eax, [esp + 0x66]
push eax
mov dword [esp + 0x4c], 1
call fcn.004cb700
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push 0
lea eax, [esp + 0x48]
push eax
push 0
push str.UninstallString
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call esi
test eax, eax
jne 0x493e0f
cmp dword [esp + 0x24], 0x104
jae 0x493e0f
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x48]
push eax
push 0
push str.UninstallString
push dword [esp + 0x28]
call esi
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x49401a
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x2c]
call fcn.004029f0
mov byte [esp + 0x274], 1
mov edx, str.__r_t_n
lea ecx, [esp + 0x28]
call fcn.00495510
mov edx, str.__r_t_n
lea ecx, [esp + 0x28]
call fcn.00495580
cmp dword [esp + 0x38], 0
je 0x494006
cmp dword [esp + 0x3c], 8
lea eax, [esp + 0x28]
cmovae eax, dword [esp + 0x28]
cmp word [eax], 0x22
jne 0x493ee2
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x274], 2
lea eax, [esp + 0x18]
push eax
mov edx, 0x22
lea ecx, [esp + 0x2c]
call fcn.00497000
mov ecx, dword [esp + 0x20]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x1c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jb 0x493ff5
lea eax, [esi + 0x18]
jmp 0x493f5c
lea ecx, [esp + 0x28]
call fcn.00495e60
test al, al
je 0x493f07
mov bl, 1
mov byte [esp + 0x274], 0
lea ecx, [esp + 0x28]
call fcn.00402a90
jmp 0x49401c
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x274], 3
lea eax, [esp + 0x18]
push eax
mov edx, 0x20
lea ecx, [esp + 0x2c]
call fcn.00497000
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, dword [esp + 0x1c]
je 0x493ff5
lea ecx, [esp + 0x28]
cmp ecx, eax
je 0x493f6e
push 0xffffffffffffffff
push 0
push eax
call fcn.00403000
mov byte [esp + 0x274], 1
lea ecx, [esp + 0x18]
call fcn.0047e0c0
mov edx, str.__r_t_n
lea ecx, [esp + 0x28]
call fcn.00495510
mov edx, str.__r_t_n
lea ecx, [esp + 0x28]
call fcn.00495580
cmp dword [esp + 0x38], 0
je 0x494006
cmp dword [esp + 0x3c], 8
lea ecx, [esp + 0x28]
mov edx, str.MsiExec.exe
cmovae ecx, dword [esp + 0x28]
call fcn.00495370
test al, al
je 0x493fd3
mov bl, 1
mov byte [esp + 0x274], 0
lea ecx, [esp + 0x28]
call fcn.00402a90
jmp 0x49401c
lea ecx, [esp + 0x28]
call fcn.00495e60
test al, al
je 0x494006
mov bl, 1
mov byte [esp + 0x274], 0
lea ecx, [esp + 0x28]
call fcn.00402a90
jmp 0x49401c
mov byte [esp + 0x274], 1
lea ecx, [esp + 0x18]
call fcn.0047e0c0
xor bl, bl
mov byte [esp + 0x274], bl
lea ecx, [esp + 0x28]
call fcn.00402a90
jmp 0x49401c
xor bl, bl
mov dword [esp + 0x274], 0xffffffff
cmp dword [esp + 0x58], 8
jb 0x49403a
push dword [esp + 0x44]
call fcn.004c4eaa
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov word [esp + 0x44], ax
mov al, bl
mov dword [esp + 0x54], 0
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.004c4eaf
add esp, 0x268
ret