Function at 0x416740
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5b7e1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c0
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov edi, 0x65e380
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x40]
mov eax, ecx
mov esi, edi
mov edi, edx
xor ebx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x3c], ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x3ec]
cmp esi, ebx
je 0x4168d5
mov eax, dword [0x682f9c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x3d8], ebx
mov dword [esp + 0x14], eax
lea eax, [esi - 2]
mov byte [esp + 0x3d8], 1
cmp eax, 0xd
ja case.0x4167c4.9
jmp dword [eax*4 + 0x416d68]
push str.Firefox
lea ecx, [esp + 0x18]
call fcn.005a59d6
push str.Firefox
jmp 0x416885
push str.OPERA
lea ecx, [esp + 0x18]
call fcn.005a59d6
push str.Opera
jmp 0x416885
push str.Mozilla
lea ecx, [esp + 0x18]
call fcn.005a59d6
push str.Mozilla
jmp 0x416885
push str.NETSCP
jmp 0x416862
push str.Flock
lea ecx, [esp + 0x18]
call fcn.005a59d6
push str.Flock
jmp 0x416885
push str.seamonkey
lea ecx, [esp + 0x18]
call fcn.005a59d6
push str.SeaMonkey
jmp 0x416885
push str.MozillaFirebird
lea ecx, [esp + 0x18]
call fcn.005a59d6
push str.Firebird
jmp 0x416885
push str.NETSCAPE
jmp 0x416862
push str.navigator
lea ecx, [esp + 0x18]
call fcn.005a59d6
push str.Netscape
jmp 0x416885
push 0x65c1e4
lea ecx, [esp + 0x18]
call fcn.005a59d6
push str.Browser
lea ecx, [esp + 0x14]
call fcn.005a59d6
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push eax
push ecx
lea edx, [esp + 0x258]
push str._s_executable_file___s.exe__s.exe
push edx
call fcn.00589e0a
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x3d8], 0
call fcn.005a584d
lea ecx, [esp + 0x10]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.005a584d
jmp 0x4168ef
push str.Executable_files
lea eax, [esp + 0x250]
push str._s__.exe_.exe
push eax
call fcn.00589e0a
add esp, 0xc
lea ecx, [esp + 0x28]
xor edi, edi
push ecx
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41694b
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
lea eax, [esp + 0x2cc]
push edx
push eax
push ebx
push ebx
push 0x65e2d8
push ecx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x416940
mov edi, 1
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3e0]
lea ecx, [esp + 0x24c]
push eax
push ecx
push 0x10001004
lea edx, [esp + 0x4c]
push ebx
push edx
push 1
lea ecx, [esp + 0x6c]
call fcn.0059e6e3
mov eax, dword [0x688288]
cmp edi, ebx
mov dword [esp + 0x3d8], 2
mov dword [esp + 0xe0], eax
je 0x41699a
lea ecx, [esp + 0x2cc]
mov dword [esp + 0xdc], ecx
lea ecx, [esp + 0x54]
call fcn.0059e845
cmp eax, 1
je 0x4169da
lea ecx, [esp + 0x100]
mov dword [esp + 0x3d8], 3
call fcn.005a584d
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.005a1424
xor eax, eax
jmp 0x416d4b
lea edx, [esp + 0x10]
lea ecx, [esp + 0x54]
push edx
call fcn.0059e920
mov eax, dword [eax]
push ebx
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x3e0], 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x28], bx
call fcn.00402800
lea ecx, [esp + 0x10]
mov byte [esp + 0x3d8], 6
call fcn.005a584d
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
mov eax, ecx
jne 0x416a29
lea eax, [esp + 0x20]
mov edx, 0x65bf6c
test edx, edx
je 0x416b1d
cmp eax, ebx
je 0x416b1d
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov word [esp + 0x38], bx
call fcn.00401ee0
mov esi, dword [esp + 0x3e8]
mov byte [esp + 0x3d8], 7
mov ecx, esi
call fcn.00401070
push 0x65bf6c
lea ecx, [esp + 0x4c]
call fcn.00401e50
mov edi, dword [esp + 0x50]
lea ecx, [esp + 0x30]
mov byte [esp + 0x3d8], 8
call fcn.00401ed0
push eax
call fcn.00589432
lea ebp, [eax + edi + 2]
lea ebx, [ebp + ebp]
push ebx
call fcn.005a1be9
mov edi, eax
add esp, 8
test edi, edi
mov dword [esi], edi
je 0x416aea
mov ecx, ebx
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 + 0x30]
call fcn.00401ed0
push eax
lea ecx, [esp + 0x4c]
call fcn.00401ed0
push eax
mov eax, dword [esi]
push ebp
push eax
call fcn.005893c2
mov ecx, dword [esi]
push ecx
call fcn.00589432
add esp, 0x14
mov dword [esi + 8], eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x3d8], 7
call fcn.00401070
lea ecx, [esp + 0x30]
mov byte [esp + 0x3d8], 6
call fcn.00401070
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x3ec]
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
cmp esi, ebx
jne 0x416c00
cmp ecx, ebx
mov eax, ecx
jne 0x416b2f
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.004135b0
mov esi, eax
cmp esi, 1
jne 0x416b97
mov edx, dword [0x6882f0]
mov eax, dword [0x688298]
push 0x40
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3d8], 2
call fcn.00401070
lea ecx, [esp + 0x100]
mov dword [esp + 0x3d8], 9
call fcn.005a584d
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.005a1424
xor eax, eax
jmp 0x416d4b
jge 0x416bfc
cmp dword [esp + 0x3f0], ebx
jne 0x416bb9
mov ecx, dword [0x6882f0]
mov edx, dword [0x688294]
push 0x30
push ecx
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3d8], 2
call fcn.00401070
lea ecx, [esp + 0x100]
mov dword [esp + 0x3d8], 0xa
call fcn.005a584d
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.005a1424
xor eax, eax
jmp 0x416d4b
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x682f9c]
mov dword [esp + 0x18], eax
cmp esi, 3
mov byte [esp + 0x3d8], 0xb
je 0x416c27
cmp esi, 5
je 0x416c27
cmp esi, 8
je 0x416c27
mov eax, 1
jmp 0x416c29
xor eax, eax
cmp ecx, ebx
jne 0x416c31
lea ecx, [esp + 0x20]
lea edx, [esp + 0x18]
push eax
push edx
push ecx
mov ecx, ebp
call fcn.00414640
test eax, eax
jne 0x416c51
push 0x65ded8
lea ecx, [esp + 0x1c]
call fcn.005a59d6
xor edi, edi
cmp esi, 2
jne 0x416c6c
mov eax, dword [esp + 0x18]
mov ecx, ebp
push eax
push 9
call fcn.004144e0
test eax, eax
je 0x416c76
jmp 0x416c71
cmp esi, 0xf
jne 0x416c76
mov edi, 1
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebx
cmp eax, ebx
jne 0x416c86
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
push edi
push edx
push eax
push esi
mov ecx, ebp
call fcn.00414120
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x416cf3
lea ecx, [esp + 0x18]
mov byte [esp + 0x3d8], 6
call fcn.005a584d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3d8], 2
call fcn.00401070
lea ecx, [esp + 0x100]
mov dword [esp + 0x3d8], 0xc
call fcn.005a584d
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.005a1424
xor eax, eax
jmp 0x416d4b
mov ecx, dword [esp + 0x3e4]
mov byte [esp + 0x3d8], 6
mov dword [ecx], eax
lea ecx, [esp + 0x18]
call fcn.005a584d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3d8], 2
call fcn.00401070
lea ecx, [esp + 0x100]
mov dword [esp + 0x3d8], 0xd
call fcn.005a584d
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.005a1424
mov eax, esi
mov ecx, dword [esp + 0x3d0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3cc
ret 0x14