Function at 0x42d320
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46e958
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x20]
push ecx
xor ebx, ebx
push eax
mov dword [esp + 0x28], ebx
call fcn.00418080
mov ecx, eax
call fcn.00416dc0
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
push ecx
push eax
call dword [0x47102c]
cmp eax, ebx
je 0x42d37f
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov edx, dword [0x4810d8]
push esi
mov dword [esp + 0x14], edx
push 0x105
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], ebx
call fcn.004042a0
test eax, eax
jne 0x42d3a4
xor esi, esi
jmp 0x42d3b6
mov esi, dword [esp + 0x14]
mov dword [esi - 8], 0x105
mov byte [esi + 0x105], 0
push edi
xor eax, eax
mov dword [esp + 0x20], 0x104
mov ecx, 0x41
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [0x471038]
lea ecx, [esp + 0x20]
push ecx
push esi
lea edx, [esp + 0x34]
push edx
push ebx
push eax
mov eax, dword [esp + 0x30]
push eax
call edi
lea ecx, [esp + 0x18]
mov byte [esi + 0x104], 0
call fcn.004043e0
mov esi, dword [esp + 0x18]
mov ebx, dword [0x471314]
push esi
call ebx
mov dword [esi - 8], eax
mov byte [eax + esi], 0
mov eax, dword [esi - 8]
test eax, eax
jle 0x42d6bb
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx - 8]
test edx, edx
jle 0x42d44f
test eax, eax
jge 0x42d429
or eax, 0xffffffff
jmp 0x42d43e
push ecx
push esi
call fcn.0045931d
add esp, 8
test eax, eax
jne 0x42d43c
or eax, 0xffffffff
jmp 0x42d43e
sub eax, esi
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
test eax, eax
je 0x42d6bb
mov eax, dword [ebp + 0x28]
test eax, eax
jbe 0x42d689
mov eax, dword [0x4810d8]
mov dword [esp + 0x14], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx - 8]
test ecx, ecx
mov byte [esp + 0x3c], 1
jle 0x42d4d4
push 0x105
lea ecx, [esp + 0x18]
call fcn.00404330
mov esi, eax
xor eax, eax
mov dword [esp + 0x20], 0x104
mov ecx, 0x41
mov edi, esi
rep stosd dword es:[edi], eax
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push esi
lea ecx, [esp + 0x34]
push ecx
push 0
push edx
push eax
call dword [0x471038]
lea ecx, [esp + 0x14]
mov byte [esi + 0x103], 0
call fcn.004043e0
mov esi, dword [esp + 0x14]
push esi
call ebx
mov dword [esi - 8], eax
mov byte [eax + esi], 0
jmp 0x42d60c
mov dword [esp + 0x10], eax
push 0x30c
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 2
call fcn.00404330
lea ecx, [esp + 0x20]
push ecx
mov esi, eax
mov eax, dword [esp + 0x20]
push esi
lea edx, [esp + 0x34]
push edx
push 0
push str.UninstallString
push eax
mov dword [esp + 0x38], 0x30c
call edi
lea ecx, [esp + 0x10]
mov byte [esi + 0x30b], 0
call fcn.004043e0
mov esi, dword [esp + 0x10]
push esi
call ebx
lea ecx, [esp + 0x10]
push ecx
mov dword [esi - 8], eax
lea ecx, [esp + 0x28]
mov byte [eax + esi], 0
call fcn.00405bb0
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 3
call fcn.004043e0
mov edx, dword [esp + 0x24]
push edx
call dword [0x4714b8]
push str..exe
lea ecx, [esp + 0x28]
call fcn.00404270
test eax, eax
jle 0x42d5ae
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
call fcn.0040aad0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 4
call fcn.00404e10
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 3
call fcn.00431be0
push str..exe
lea ecx, [esp + 0x14]
call fcn.00404230
push 0x22
lea ecx, [esp + 0x14]
call fcn.00404c90
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
call fcn.0040aab0
call fcn.00418080
mov edi, dword [eax]
push 0x104
push 0x104
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], eax
call fcn.00404330
mov ecx, dword [esp + 0x34]
push eax
push esi
call dword [edi + 0x18]
lea ecx, [esp + 0x14]
call fcn.004043e0
mov esi, dword [esp + 0x14]
push esi
call ebx
mov dword [esi - 8], eax
lea ecx, [esp + 0x24]
mov byte [eax + esi], 0
call fcn.00431be0
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
call fcn.00431be0
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.0042d170
test eax, eax
je 0x42d657
mov edx, dword [esp + 0x1c]
push edx
call dword [0x471040]
mov ecx, ebp
call fcn.0042cfc0
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00431be0
lea ecx, [esp + 0x18]
call fcn.00431be0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov eax, dword [esp + 0x1c]
push eax
call dword [0x471040]
lea ecx, [esp + 0x14]
call fcn.00431be0
lea ecx, [esp + 0x18]
call fcn.00431be0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x471040]
mov ecx, ebp
call fcn.0042cfc0
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00431be0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov eax, dword [0x4810dc]
lea edx, [esi - 0xc]
cmp edx, eax
je 0x42d6de
add esi, 0xfffffff4
push esi
call dword [0x471300]
test eax, eax
jg 0x42d6de
push esi
call fcn.004590cf
add esp, 4
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret