Function at 0x41b250
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x61688d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a8
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], bx
mov eax, dword [0x6cd768]
mov dword [esp + 0x2c0], ebx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
push ebx
lea edx, [esp + 0x18]
push ecx
push edx
push str.SoftwareMozillaMozilla_Firefox
mov byte [esp + 0x2d0], 1
mov byte [esi + 0x66], bl
call fcn.0040ebd0
add esp, 0x10
test eax, eax
je 0x41b2e6
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
push 9
call fcn.0041bd70
test eax, eax
je 0x41b2d1
mov byte [esi + 0x66], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41b2dd
lea eax, [esp + 0x18]
xor ecx, ecx
push ebx
mov cl, byte [esi + 0x66]
push ecx
jmp 0x41b310
lea eax, [esp + 0x10]
push ebx
lea ecx, [esp + 0x18]
push eax
push ecx
push str.Softwaremozilla.orgMozilla_Firefox
call fcn.0040ebd0
add esp, 0x10
test eax, eax
je 0x41b31f
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41b30e
lea eax, [esp + 0x18]
push ebx
push ebx
mov edx, dword [esp + 0x18]
mov ecx, esi
push edx
push eax
push 2
call fcn.0041b9b0
lea eax, [esp + 0x10]
push ebx
lea ecx, [esp + 0x18]
push eax
push ecx
push str.SOFTWAREmozilla.orgMozilla
call fcn.0040ebd0
add esp, 0x10
test eax, eax
je 0x41b358
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41b347
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x10]
push ebx
push ebx
push edx
push eax
push 4
mov ecx, esi
call fcn.0041b9b0
lea eax, [esp + 0x10]
push ebx
lea ecx, [esp + 0x18]
push eax
push ecx
push str.SOFTWARENetscapeNetscape
call fcn.0040ebd0
add esp, 0x10
test eax, eax
je 0x41b391
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41b380
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x10]
push ebx
push ebx
push edx
push eax
push 5
mov ecx, esi
call fcn.0041b9b0
lea eax, [esp + 0x10]
push ebx
lea ecx, [esp + 0x18]
push eax
push ecx
push str.SOFTWARENetscapeNetscape_6
call fcn.0040ebd0
add esp, 0x10
test eax, eax
je 0x41b3ca
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41b3b9
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x10]
push ebx
push ebx
push edx
push eax
push 5
mov ecx, esi
call fcn.0041b9b0
lea eax, [esp + 0x10]
push ebx
lea ecx, [esp + 0x18]
push eax
push ecx
push str.SOFTWARENetscapeNetscape_Browser
call fcn.0040ebd0
add esp, 0x10
test eax, eax
je 0x41b403
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41b3f2
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x10]
push ebx
push ebx
push edx
push eax
push 8
mov ecx, esi
call fcn.0041b9b0
lea eax, [esp + 0x10]
push ebx
lea ecx, [esp + 0x18]
push eax
push ecx
push str.SOFTWAREMozillaNetscape_Navigator
call fcn.0040ebd0
add esp, 0x10
test eax, eax
je 0x41b43c
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41b42b
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x10]
push ebx
push ebx
push edx
push eax
push 0xb
mov ecx, esi
call fcn.0041b9b0
lea eax, [esp + 0x10]
push ebx
lea ecx, [esp + 0x18]
push eax
push ecx
push str.SOFTWAREMozillaSeaMonkey
call fcn.0040ebd0
add esp, 0x10
test eax, eax
je 0x41b476
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41b464
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x10]
push ebx
push 1
push edx
push eax
push 0xf
mov ecx, esi
call fcn.0041b9b0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x24]
push eax
push 0xf003f
push ebx
push str.SoftwareFlockFlock
push reloc.WS2_32.dll_bind
call esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, 0x208
test eax, eax
jne 0x41b6e9
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x4c]
push ecx
push edx
push ebx
push ebx
push str.CurrentVersion
push eax
mov dword [esp + 0x38], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41b6de
mov ecx, dword [0x6cd768]
mov dword [esp + 0x40], ecx
lea edx, [esp + 0x4c]
lea eax, [esp + 0x40]
push edx
push str._sMain
push eax
mov byte [esp + 0x2cc], 2
call fcn.005fc86b
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x30]
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
push 0xf003f
push ebx
push edx
push eax
call esi
test eax, eax
jne 0x41b6cd
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x20]
lea edx, [esp + 0xb0]
push ecx
push edx
push ebx
push ebx
push str.Install_Directory
push eax
mov dword [esp + 0x38], edi
call ebp
test eax, eax
jne 0x41b6c2
mov ecx, str._s_flock.exe
test ecx, ecx
je 0x41b652
lea edx, [esp + 0xb0]
test edx, edx
je 0x41b652
lea eax, [esp + 0xb0]
lea ecx, [esp + 0x28]
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
mov word [esp + 0x30], bx
call fcn.00402410
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c0], 3
call fcn.00401070
push ebx
push str._s_flock.exe
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov word [esp + 0x40], bx
call fcn.00402e00
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x28]
mov byte [esp + 0x2c0], 4
call fcn.00402400
push eax
call fcn.005e71bf
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.005ffe3f
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x14], edi
je 0x41b61f
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x28]
call fcn.00402400
push eax
lea ecx, [esp + 0x38]
call fcn.00402400
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
call fcn.005e714f
mov ecx, dword [esp + 0x24]
push ecx
call fcn.005e71bf
add esp, 0x14
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c0], 3
call fcn.00401070
lea ecx, [esp + 0x28]
mov byte [esp + 0x2c0], 2
call fcn.00401070
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, 0x208
lea edx, [esp + 0x4c]
lea eax, [esp + 0x10]
push edx
push 0x6a10a0
push eax
call fcn.005fc86b
mov ecx, dword [esp + 0x1c]
push 0x20
push ecx
call fcn.005e71f0
add esp, 0x14
cmp eax, ebx
je 0x41b6a3
mov byte [eax], bl
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 0x41b69e
dec ecx
push ebx
push ecx
lea ecx, [esp + 0x18]
call fcn.00603ea8
mov edi, 0x208
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41b6af
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
push ebx
push ebx
push edx
push eax
push 6
call fcn.0041b9b0
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x40]
mov byte [esp + 0x2c0], 1
call fcn.00603a3c
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x24]
push edx
push 0xf003f
push ebx
push str.SoftwareOpera_Software
push reloc.WS2_32.dll_accept
call esi
test eax, eax
jne 0x41b968
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
lea ecx, [esp + 0xb0]
push eax
push ecx
push ebx
push ebx
push str.Last_Directory
push edx
mov dword [esp + 0x38], edi
call ebp
test eax, eax
je 0x41b95d
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
lea ecx, [esp + 0xb0]
push eax
push ecx
push ebx
push ebx
push str.Last_CommandLine
push edx
mov dword [esp + 0x38], edi
call ebp
test eax, eax
je 0x41b77b
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
lea ecx, [esp + 0xb0]
push eax
push ecx
push ebx
push ebx
push str.Last_Directory2
push edx
mov dword [esp + 0x38], edi
call ebp
test eax, eax
jne 0x41b95d
jmp 0x41b7d7
lea eax, [esp + 0xb0]
push 0x6a3028
push eax
call fcn.005e7a20
add esp, 8
test eax, eax
je 0x41b7b0
lea ecx, [esp + 0xb0]
push 0x5c
push ecx
call fcn.005e710f
add esp, 8
cmp eax, ebx
je 0x41b7d7
mov word [eax + 2], bx
jmp 0x41b7d7
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x20]
lea eax, [esp + 0xb0]
push edx
push eax
push ebx
push ebx
push str.Last_Directory2
push ecx
mov dword [esp + 0x38], edi
call ebp
test eax, eax
jne 0x41b95d
lea edx, [esp + 0xb0]
push edx
call fcn.005e71bf
add esp, 4
cmp word [esp + eax*2 + 0xae], 0x5c
je 0x41b807
lea eax, [esp + 0xb0]
push 0x6a115c
push eax
call fcn.005e735f
add esp, 8
mov ecx, str._sOpera.exe
test ecx, ecx
je 0x41b911
lea edx, [esp + 0xb0]
test edx, edx
je 0x41b911
lea eax, [esp + 0xb0]
lea ecx, [esp + 0x28]
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
mov word [esp + 0x30], bx
call fcn.00402410
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c0], 5
call fcn.00401070
push ebx
push str._sOpera.exe
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov word [esp + 0x40], bx
call fcn.00402e00
mov eax, dword [esp + 0x28]
mov byte [esp + 0x2c0], 6
cmp eax, ebx
jne 0x41b882
lea eax, [esp + 0x2c]
mov esi, dword [esp + 0x3c]
push eax
call fcn.005e71bf
lea ebp, [eax + esi + 2]
lea esi, [ebp + ebp]
push esi
call fcn.005ffe3f
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x14], edi
je 0x41b8ef
mov ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x41b8c5
lea eax, [esp + 0x2c]
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
jne 0x41b8d1
lea ecx, [esp + 0x38]
push eax
mov eax, dword [esp + 0x18]
push ecx
push ebp
push eax
call fcn.005e714f
mov ecx, dword [esp + 0x24]
push ecx
call fcn.005e71bf
add esp, 0x14
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c0], 5
call fcn.00401070
lea ecx, [esp + 0x28]
mov byte [esp + 0x2c0], 1
call fcn.00401070
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41b91d
lea eax, [esp + 0x18]
lea edx, [esp + 0x10]
push ebx
push edx
push eax
call fcn.0040ea50
add esp, 0xc
test eax, eax
jne 0x41b93e
push 0x6a38f0
lea ecx, [esp + 0x14]
call fcn.00603bc5
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41b94a
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push ecx
mov ecx, dword [esp + 0x50]
push eax
push 3
call fcn.0041b9b0
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c0], bl
call fcn.00603a3c
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c0], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x2b8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2b4
ret