Function at 0x42fc60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65b070
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x42c
mov eax, dword [0x6d6ec0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x438], esi
lea eax, [ebp - 0x434]
mov dword [ebp - 0x438], esi
push eax
push 1
push 0
push str.SOFTWAREMozillaMozilla_Firefox
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42fd0a
lea eax, [ebp - 0x438]
mov dword [ebp - 0x438], 0x100
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push 0
push str.CurrentVersion
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x434]
test eax, eax
je 0x42fd31
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
mov ecx, esi
movups xmmword [esi], xmm0
push 0
mov dword [esi + 0x10], 0
push 0x6a5e52
mov dword [esi + 0x14], 0
call fcn.004113d0
jmp 0x42fe25
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x21
xorps xmm0, xmm0
mov dword [ebp - 0x420], 0
push str.SOFTWAREMozillaMozilla_Firefox_
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x41c], 0
movups xmmword [ebp - 0x430], xmm0
call fcn.00423ce0
lea eax, [ebp - 0x418]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x430]
call fcn.00446ef0
push 0x6ac88c
lea ecx, [ebp - 0x430]
call fcn.00446ef0
cmp dword [ebp - 0x41c], 7
lea ecx, [ebp - 0x434]
push ecx
push 1
lea eax, [ebp - 0x430]
cmova eax, dword [ebp - 0x430]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42fe44
xorps xmm0, xmm0
mov ecx, esi
push 0
movups xmmword [esi], xmm0
push 0x6a5e52
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004113d0
mov ecx, dword [ebp - 0x41c]
cmp ecx, 7
jbe 0x42fe25
mov edx, dword [ebp - 0x430]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42fe1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ff40
push ecx
push edx
call fcn.0061f90d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0061f478
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x438]
mov dword [ebp - 0x438], 0x100
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.Install_Directory
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x434]
test eax, eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x42fede
call eax
mov ecx, dword [ebp - 0x438]
lea eax, [ebp - 0x218]
and ecx, 0xfffffffe
lea edx, [ebp - 0x218]
xorps xmm0, xmm0
add eax, ecx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp edx, eax
jne 0x42fec7
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x42fde5
sar ecx, 1
lea eax, [ebp - 0x218]
push ecx
push ecx
push eax
mov ecx, esi
call fcn.00470980
jmp 0x42fde5
call eax
xorps xmm0, xmm0
mov ecx, esi
push 0
movups xmmword [esi], xmm0
push 0x6a5e52
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004113d0
mov ecx, dword [ebp - 0x41c]
cmp ecx, 7
jbe 0x42fe25
mov edx, dword [ebp - 0x430]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42fe1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42fe1b
call fcn.00636c1b
int3