Function at 0x41f020
Capabilities:
Get number of processors
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x6442e1
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
xor edi, edi
mov esi, ecx
xor eax, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
mov word [esp + 0x30], ax
mov dword [esp + 0x2b0], edi
lea ecx, [esp + 0x14]
call fcn.00402500
mov byte [esp + 0x2b0], 1
push edi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
push str.SoftwareMozillaMozilla_Firefox
mov byte [esi + 0x66], 0
call fcn.00416190
add esp, 0x10
test eax, eax
je 0x41f0d4
mov eax, dword [esp + 0x14]
push eax
push 9
mov ecx, esi
call fcn.00417bc0
test eax, eax
je 0x41f0c0
mov byte [esi + 0x66], 1
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne 0x41f0cc
lea eax, [esp + 0x30]
movzx ecx, byte [esi + 0x66]
push edi
push ecx
jmp 0x41f0fe
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
push str.Softwaremozilla.orgMozilla_Firefox
call fcn.00416190
add esp, 0x10
test eax, eax
je 0x41f10d
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne 0x41f0fc
lea eax, [esp + 0x30]
push edi
push edi
mov edx, dword [esp + 0x1c]
push edx
push eax
push 2
mov ecx, esi
call fcn.0041dea0
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
push str.SOFTWAREmozilla.orgMozilla
call fcn.00416190
add esp, 0x10
test eax, eax
je 0x41f146
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne 0x41f135
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x14]
push edi
push edi
push edx
push eax
push 4
mov ecx, esi
call fcn.0041dea0
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
push str.SOFTWARENetscapeNetscape
call fcn.00416190
add esp, 0x10
test eax, eax
je 0x41f17f
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne 0x41f16e
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x14]
push edi
push edi
push edx
push eax
push 5
mov ecx, esi
call fcn.0041dea0
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
push str.SOFTWARENetscapeNetscape_6
call fcn.00416190
add esp, 0x10
test eax, eax
je 0x41f1b8
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne 0x41f1a7
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x14]
push edi
push edi
push edx
push eax
push 5
mov ecx, esi
call fcn.0041dea0
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
push str.SOFTWARENetscapeNetscape_Browser
call fcn.00416190
add esp, 0x10
test eax, eax
je 0x41f1f1
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne 0x41f1e0
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x14]
push edi
push edi
push edx
push eax
push 8
mov ecx, esi
call fcn.0041dea0
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
push str.SOFTWAREMozillaNetscape_Navigator
call fcn.00416190
add esp, 0x10
test eax, eax
je 0x41f22a
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne 0x41f219
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x14]
push edi
push edi
push edx
push eax
push 0xb
mov ecx, esi
call fcn.0041dea0
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
push str.SOFTWAREMozillaSeaMonkey
call fcn.00416190
add esp, 0x10
test eax, eax
je 0x41f264
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne 0x41f252
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x14]
push edi
push 1
push edx
push eax
push 0xf
mov ecx, esi
call fcn.0041dea0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x1c]
push eax
push 0xf003f
push edi
push str.SoftwareFlockFlock
push 0x80000002
call ebp
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, 0x208
test eax, eax
jne 0x41f3f0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x3c]
push edx
push 0
push 0
push str.CurrentVersion
push eax
mov dword [esp + 0x30], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41f3e5
lea ecx, [esp + 0x20]
call fcn.00402500
mov byte [esp + 0x2b0], 2
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x24]
push str._sMain
push edx
call fcn.00402f70
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esp + 0x28]
push eax
push 0xf003f
push 0
push ecx
push edx
call ebp
test eax, eax
jne 0x41f3d4
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xa0]
push ecx
push 0
push 0
push str.Install_Directory
push edx
mov dword [esp + 0x30], ebx
call edi
test eax, eax
jne 0x41f3c9
push eax
lea eax, [esp + 0xa0]
push eax
push str._s_flock.exe
lea ecx, [esp + 0x38]
call fcn.004021b0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x18]
push 0x678ea8
push edx
call fcn.00402f70
mov eax, dword [esp + 0x20]
push 0x20
push eax
call fcn.00621750
add esp, 0x14
test eax, eax
je 0x41f3aa
mov byte [eax], 0
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
jmp 0x41f380
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f380
sub eax, edx
lea esi, [eax - 1]
push esi
lea ecx, [esp + 0x18]
call fcn.00404060
cmp al, 0x2e
jne 0x41f3a6
push 0
push esi
lea ecx, [esp + 0x1c]
call fcn.00404080
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x41f3b6
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x14]
push 0
push 0
push ecx
push eax
push 6
mov ecx, esi
call fcn.0041dea0
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x2b0], 1
lea ecx, [esp + 0x20]
call fcn.00402570
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
push ecx
push 0xf003f
push 0
push str.SoftwareOpera_Software
push 0x80000001
call ebp
test eax, eax
jne 0x41f578
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xa0]
push eax
push 0
push 0
push str.Last_Directory
push ecx
mov dword [esp + 0x30], ebx
call edi
test eax, eax
je 0x41f56d
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xa0]
push eax
push 0
push 0
push str.Last_CommandLine
push ecx
mov dword [esp + 0x30], ebx
call edi
test eax, eax
jne 0x41f495
lea edx, [esp + 0x9c]
push 0x67c330
push edx
call fcn.0062247b
add esp, 8
test eax, eax
je 0x41f495
lea eax, [esp + 0x9c]
push 0x5c
push eax
call fcn.0061fc83
add esp, 8
test eax, eax
je 0x41f4be
xor ecx, ecx
mov word [eax + 2], cx
jmp 0x41f4be
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xa0]
push eax
push 0
push 0
push str.Last_Directory2
push ecx
mov dword [esp + 0x30], ebx
call edi
test eax, eax
jne 0x41f56d
lea eax, [esp + 0x9c]
lea edx, [eax + 2]
jmp 0x41f4d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f4d0
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x9a], 0x5c
je 0x41f508
lea edi, [esp + 0x9c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41f4f4
mov edx, dword [0x679980]
mov dword [edi], edx
push 0
lea eax, [esp + 0xa0]
push eax
push str._sOpera.exe
lea ecx, [esp + 0x38]
call fcn.004021b0
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x41f52c
lea eax, [esp + 0x30]
push 0
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.00415fe0
add esp, 0xc
test eax, eax
jne 0x41f54e
push 0x67d26c
lea ecx, [esp + 0x18]
call fcn.0054f250
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x41f55a
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x14]
push 0
push 0
push edx
push eax
push 3
mov ecx, esi
call fcn.0041dea0
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x2b0], 0
lea ecx, [esp + 0x14]
call fcn.00402570
mov dword [esp + 0x2b0], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00401210
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.0062016f
add esp, 0x2a0
ret