Function at 0x4105c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x57c0d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
mov eax, dword [0x639ad4]
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.00410420
test eax, eax
je 0x410649
mov edx, dword [esp + 0x10]
mov ecx, ebp
push edx
push 9
call fcn.00410da0
test eax, eax
je 0x410635
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 0x410671
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push str.Softwaremozilla.orgMozilla_Firefox
mov ecx, ebp
call fcn.00410420
test eax, eax
je 0x41067a
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.00410ab0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push str.SOFTWAREmozilla.orgMozilla
mov ecx, ebp
call fcn.00410420
test eax, eax
je 0x4106ab
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.00410ab0
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push str.SOFTWARENetscapeNetscape
mov ecx, ebp
call fcn.00410420
test eax, eax
je 0x4106dc
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.00410ab0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push str.SOFTWARENetscapeNetscape_6
mov ecx, ebp
call fcn.00410420
test eax, eax
je 0x41070d
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.00410ab0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push str.SOFTWARENetscapeNetscape_Browser
mov ecx, ebp
call fcn.00410420
test eax, eax
je 0x41073e
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.00410ab0
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push str.SOFTWAREMozillaNetscape_Navigator
mov ecx, ebp
call fcn.00410420
test eax, eax
je 0x41076f
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.00410ab0
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 0x4108de
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 0x4108d3
mov ecx, dword [0x639ad4]
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.00562ecb
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 0x4108c2
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 0x4108b7
lea ecx, [esp + 0x28]
lea edx, [esp + 0x14]
push ecx
push str._s_flock.exe
push edx
call fcn.00562ecb
add esp, 0xc
lea eax, [esp + 0x12c]
lea ecx, [esp + 0x10]
push eax
push 0x615e9c
push ecx
call fcn.00562ecb
mov edx, dword [esp + 0x1c]
push 0x20
push edx
call fcn.0054e030
add esp, 0x14
test eax, eax
je 0x4108a0
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 0x4108a0
dec ecx
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.0056a5e0
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.00410ab0
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.0056a100
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 0x410a69
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 0x410a5e
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 0x410973
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 0x410a5e
jmp 0x4109c8
lea edx, [esp + 0x28]
push 0x6171dc
push edx
call fcn.0054e0f0
add esp, 8
test eax, eax
je 0x4109a2
lea eax, [esp + 0x28]
push 0x5c
push eax
call fcn.0054dff0
add esp, 8
test eax, eax
je 0x4109c8
mov byte [eax + 1], 0
jmp 0x4109c8
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 0x410a5e
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 0x410a0b
mov edi, 0x617168
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.00562ecb
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x10]
mov ecx, ebp
push 0
push edx
push eax
call fcn.00410ef0
test eax, eax
jne 0x410a47
push 0x6179ac
lea ecx, [esp + 0x14]
call fcn.0056a289
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.00410ab0
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.0056a100
lea ecx, [esp + 0x14]
mov dword [esp + 0x198], 0xffffffff
call fcn.0056a100
mov ecx, dword [esp + 0x190]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret