Function at 0x42fb40
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 0x65a6c0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x42c
mov eax, dword [0x6d5ec0]
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 0x42fbea
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 0x42fc11
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 0x6a4e12
mov dword [esi + 0x14], 0
call fcn.00411430
jmp 0x42fd05
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.00446ca0
push 0x6ab69c
lea ecx, [ebp - 0x430]
call fcn.00446ca0
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 0x42fd24
xorps xmm0, xmm0
mov ecx, esi
push 0
movups xmmword [esi], xmm0
push 0x6a4e12
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00411430
mov ecx, dword [ebp - 0x41c]
cmp ecx, 7
jbe 0x42fd05
mov edx, dword [ebp - 0x430]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42fcfb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fe20
push ecx
push edx
call fcn.0061ef9d
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.0061eb08
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 0x42fdbe
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 0x42fda7
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x42fcc5
sar ecx, 1
lea eax, [ebp - 0x218]
push ecx
push ecx
push eax
mov ecx, esi
call fcn.004700f0
jmp 0x42fcc5
call eax
xorps xmm0, xmm0
mov ecx, esi
push 0
movups xmmword [esi], xmm0
push 0x6a4e12
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00411430
mov ecx, dword [ebp - 0x41c]
cmp ecx, 7
jbe 0x42fd05
mov edx, dword [ebp - 0x430]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42fcfb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42fcfb
call fcn.0063629b
int3