Function at 0x42c3f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x58b2dc
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x254], eax
push ebx
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
cmp dword [edi + 0x94], 0
mov eax, dword [esp + 0x27c]
mov esi, dword [esp + 0x284]
jne 0x42c44c
xor al, al
jmp 0x42c7c9
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.00404960
mov dword [esp + 0x274], 0
lea eax, [edi + 0x84]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x50]
call fcn.004047c0
cmp byte [esp + 0x280], 0
lea edx, [esp + 0x14]
push edx
mov eax, 0x20119
mov ecx, 0x20019
cmovne ecx, eax
cmp dword [esp + 0x5c], 8
push ecx
lea eax, [esp + 0x4c]
cmovae eax, dword [esp + 0x4c]
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42c78a
mov edi, dword [esp + 0x14]
test edi, edi
je 0x42c78a
push 0x206
push eax
mov dword [esp + 0x44], eax
xor bl, bl
mov word [esp + 0x64], ax
lea eax, [esp + 0x66]
push eax
mov dword [esp + 0x4c], 1
call fcn.0056cbb0
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
push 0
lea eax, [esp + 0x48]
push eax
push 0
push str.UninstallString
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call edi
test eax, eax
jne 0x42c567
cmp dword [esp + 0x3c], 0x104
jae 0x42c567
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x48]
push eax
push 0
push str.UninstallString
push dword [esp + 0x28]
call edi
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 0x42c790
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x28]
call fcn.00403a70
mov byte [esp + 0x274], 1
mov edx, str.__r_t_n
lea ecx, [esp + 0x24]
call fcn.004afdd0
mov edx, str.__r_t_n
lea ecx, [esp + 0x24]
call fcn.004afe40
cmp dword [esp + 0x34], 0
je 0x42c776
test esi, esi
je 0x42c5ce
lea eax, [esp + 0x24]
cmp esi, eax
je 0x42c5ce
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00404960
cmp dword [esp + 0x38], 8
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
cmp word [eax], 0x22
jne 0x42c652
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 + 0x28]
call fcn.004b5870
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 0x42c765
lea eax, [esi + 0x18]
jmp 0x42c6cc
lea ecx, [esp + 0x24]
call fcn.004b2f30
test al, al
je 0x42c677
mov bl, 1
mov byte [esp + 0x274], 0
lea ecx, [esp + 0x24]
call fcn.00403b40
jmp 0x42c792
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 + 0x28]
call fcn.004b5870
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, dword [esp + 0x1c]
je 0x42c765
lea ecx, [esp + 0x24]
cmp ecx, eax
je 0x42c6de
push 0xffffffffffffffff
push 0
push eax
call fcn.00404960
mov byte [esp + 0x274], 1
lea ecx, [esp + 0x18]
call fcn.0040ff60
mov edx, str.__r_t_n
lea ecx, [esp + 0x24]
call fcn.004afdd0
mov edx, str.__r_t_n
lea ecx, [esp + 0x24]
call fcn.004afe40
cmp dword [esp + 0x34], 0
je 0x42c776
cmp dword [esp + 0x38], 8
lea ecx, [esp + 0x24]
mov edx, str.MsiExec.exe
cmovae ecx, dword [esp + 0x24]
call fcn.004afc30
test al, al
je 0x42c743
mov bl, 1
mov byte [esp + 0x274], 0
lea ecx, [esp + 0x24]
call fcn.00403b40
jmp 0x42c792
lea ecx, [esp + 0x24]
call fcn.004b2f30
test al, al
je 0x42c776
mov bl, 1
mov byte [esp + 0x274], 0
lea ecx, [esp + 0x24]
call fcn.00403b40
jmp 0x42c792
mov byte [esp + 0x274], 1
lea ecx, [esp + 0x18]
call fcn.0040ff60
xor bl, bl
mov byte [esp + 0x274], bl
lea ecx, [esp + 0x24]
call fcn.00403b40
jmp 0x42c792
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
mov dword [esp + 0x274], 0xffffffff
cmp dword [esp + 0x58], 8
jb 0x42c7b0
push dword [esp + 0x44]
call fcn.00564de3
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.00564de8
add esp, 0x268
ret