Function at 0x40ef70
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x553fd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
mov eax, dword [0x5c2a74]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x198], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push str.SoftwareMozillaMozilla_Firefox
mov ecx, ebp
mov byte [esp + 0x1a4], 1
mov byte [ebp + 0x66], 0
call fcn.0040edd0
test eax, eax
je 0x40eff9
mov edx, dword [esp + 0x10]
mov ecx, ebp
push edx
push 9
call fcn.0040f750
test eax, eax
je 0x40efe5
mov byte [ebp + 0x66], 1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor eax, eax
push 0
mov al, byte [ebp + 0x66]
push eax
push ecx
push edx
jmp 0x40f021
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push str.Softwaremozilla.orgMozilla_Firefox
mov ecx, ebp
call fcn.0040edd0
test eax, eax
je 0x40f02a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push 0
push edx
push eax
push 2
mov ecx, ebp
call fcn.0040f460
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push str.SOFTWAREmozilla.orgMozilla
mov ecx, ebp
call fcn.0040edd0
test eax, eax
je 0x40f05b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 0
push 0
push eax
push ecx
push 4
mov ecx, ebp
call fcn.0040f460
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push str.SOFTWARENetscapeNetscape
mov ecx, ebp
call fcn.0040edd0
test eax, eax
je 0x40f08c
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0
push 0
push ecx
push edx
push 5
mov ecx, ebp
call fcn.0040f460
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push str.SOFTWARENetscapeNetscape_6
mov ecx, ebp
call fcn.0040edd0
test eax, eax
je 0x40f0bd
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push 0
push edx
push eax
push 5
mov ecx, ebp
call fcn.0040f460
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push str.SOFTWARENetscapeNetscape_Browser
mov ecx, ebp
call fcn.0040edd0
test eax, eax
je 0x40f0ee
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 0
push 0
push eax
push ecx
push 8
mov ecx, ebp
call fcn.0040f460
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push str.SOFTWAREMozillaNetscape_Navigator
mov ecx, ebp
call fcn.0040edd0
test eax, eax
je 0x40f11f
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0
push 0
push ecx
push edx
push 0xb
mov ecx, ebp
call fcn.0040f460
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x1c]
push eax
push 0xf003f
push 0
push str.SoftwareFlockFlock
push reloc.WSOCK32.dll_bind
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40f28e
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x12c]
push ecx
push edx
push 0
push 0
push str.CurrentVersion
push eax
mov dword [esp + 0x30], 0x64
call esi
test eax, eax
jne 0x40f283
mov ecx, dword [0x5c2a74]
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x12c]
lea eax, [esp + 0x20]
push edx
push str._sMain
push eax
mov byte [esp + 0x1a4], 2
call fcn.0053afda
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
push 0xf003f
push 0
push edx
push eax
call ebx
test eax, eax
jne 0x40f272
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x34]
push str.Install_Directory
push eax
mov dword [esp + 0x30], 0x104
call esi
test eax, eax
jne 0x40f267
lea ecx, [esp + 0x28]
lea edx, [esp + 0x14]
push ecx
push str._s_flock.exe
push edx
call fcn.0053afda
add esp, 0xc
lea eax, [esp + 0x12c]
lea ecx, [esp + 0x10]
push eax
push 0x5a3e24
push ecx
call fcn.0053afda
mov edx, dword [esp + 0x1c]
push 0x20
push edx
call fcn.00526d60
add esp, 0x14
test eax, eax
je 0x40f250
mov byte [eax], 0
mov edx, dword [esp + 0x10]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + edx - 1], 0x2e
jne 0x40f250
dec ecx
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.00542704
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 0
push 0
push eax
push ecx
push 6
mov ecx, ebp
call fcn.0040f460
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
mov byte [esp + 0x198], 1
call fcn.005421be
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 reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x40f419
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
lea eax, [esp + 0x28]
push edx
push eax
push 0
push 0
mov edi, 0x104
push str.Last_Directory
push ecx
mov dword [esp + 0x30], edi
call esi
test eax, eax
je 0x40f40e
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
lea eax, [esp + 0x28]
push edx
push eax
push 0
push 0
push str.Last_CommandLine
push ecx
mov dword [esp + 0x30], edi
call esi
test eax, eax
je 0x40f323
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
lea eax, [esp + 0x28]
push edx
push eax
push 0
push 0
push str.Last_Directory2
push ecx
mov dword [esp + 0x30], edi
call esi
test eax, eax
jne 0x40f40e
jmp 0x40f378
lea edx, [esp + 0x28]
push 0x5a50f4
push edx
call fcn.005271a0
add esp, 8
test eax, eax
je 0x40f352
lea eax, [esp + 0x28]
push 0x5c
push eax
call fcn.00526d20
add esp, 8
test eax, eax
je 0x40f378
mov byte [eax + 1], 0
jmp 0x40f378
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
push ecx
push edx
push 0
push 0
push str.Last_Directory2
push eax
mov dword [esp + 0x30], edi
call esi
test eax, eax
jne 0x40f40e
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x27], 0x5c
je 0x40f3bb
mov edi, 0x5a5080
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
push str._sOpera.exe
push ecx
call fcn.0053afda
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x10]
mov ecx, ebp
push 0
push edx
push eax
call fcn.0040f890
test eax, eax
jne 0x40f3f7
push 0x5a58b8
lea ecx, [esp + 0x14]
call fcn.00542347
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0
push 0
push ecx
push edx
push 3
mov ecx, ebp
call fcn.0040f460
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov byte [esp + 0x198], 0
call fcn.005421be
lea ecx, [esp + 0x14]
mov dword [esp + 0x198], 0xffffffff
call fcn.005421be
mov ecx, dword [esp + 0x190]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret