Function at 0x416400
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5b31ff
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, 0x659360
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 0x416595
mov eax, dword [0x67da2c]
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.0x416484.9
jmp dword [eax*4 + 0x416a28]
push str.Firefox
lea ecx, [esp + 0x18]
call fcn.005a0de6
push str.Firefox
jmp 0x416545
push str.OPERA
lea ecx, [esp + 0x18]
call fcn.005a0de6
push str.Opera
jmp 0x416545
push str.Mozilla
lea ecx, [esp + 0x18]
call fcn.005a0de6
push str.Mozilla
jmp 0x416545
push str.NETSCP
jmp 0x416522
push str.Flock
lea ecx, [esp + 0x18]
call fcn.005a0de6
push str.Flock
jmp 0x416545
push str.seamonkey
lea ecx, [esp + 0x18]
call fcn.005a0de6
push str.SeaMonkey
jmp 0x416545
push str.MozillaFirebird
lea ecx, [esp + 0x18]
call fcn.005a0de6
push str.Firebird
jmp 0x416545
push str.NETSCAPE
jmp 0x416522
push str.navigator
lea ecx, [esp + 0x18]
call fcn.005a0de6
push str.Netscape
jmp 0x416545
push 0x6571c8
lea ecx, [esp + 0x18]
call fcn.005a0de6
push str.Browser
lea ecx, [esp + 0x14]
call fcn.005a0de6
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.005851fa
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x3d8], 0
call fcn.005a0c5d
lea ecx, [esp + 0x10]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.005a0c5d
jmp 0x4165af
push str.Executable_files
lea eax, [esp + 0x250]
push str._s__.exe_.exe
push eax
call fcn.005851fa
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 0x41660b
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
lea eax, [esp + 0x2cc]
push edx
push eax
push ebx
push ebx
push 0x6592b8
push ecx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x416600
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.00599af3
mov eax, dword [0x682d00]
cmp edi, ebx
mov dword [esp + 0x3d8], 2
mov dword [esp + 0xe0], eax
je 0x41665a
lea ecx, [esp + 0x2cc]
mov dword [esp + 0xdc], ecx
lea ecx, [esp + 0x54]
call fcn.00599c55
cmp eax, 1
je 0x41669a
lea ecx, [esp + 0x100]
mov dword [esp + 0x3d8], 3
call fcn.005a0c5d
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.0059c834
xor eax, eax
jmp 0x416a0b
lea edx, [esp + 0x10]
lea ecx, [esp + 0x54]
push edx
call fcn.00599d30
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.005a0c5d
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
mov eax, ecx
jne 0x4166e9
lea eax, [esp + 0x20]
mov edx, 0x656f5c
test edx, edx
je 0x4167dd
cmp eax, ebx
je 0x4167dd
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 0x656f5c
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.00584816
lea ebp, [eax + edi + 2]
lea ebx, [ebp + ebp]
push ebx
call fcn.0059cff9
mov edi, eax
add esp, 8
test edi, edi
mov dword [esi], edi
je 0x4167aa
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.005847a6
mov ecx, dword [esi]
push ecx
call fcn.00584816
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 ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x3ec]
xor ebx, ebx
cmp esi, ebx
jne 0x4168c0
cmp ecx, ebx
mov eax, ecx
jne 0x4167ef
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.00413270
mov esi, eax
cmp esi, 1
jne 0x416857
mov edx, dword [0x682d68]
mov eax, dword [0x682d10]
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.005a0c5d
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.0059c834
xor eax, eax
jmp 0x416a0b
jge 0x4168bc
cmp dword [esp + 0x3f0], ebx
jne 0x416879
mov ecx, dword [0x682d68]
mov edx, dword [0x682d0c]
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.005a0c5d
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.0059c834
xor eax, eax
jmp 0x416a0b
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x67da2c]
mov dword [esp + 0x18], eax
cmp esi, 3
mov byte [esp + 0x3d8], 0xb
je 0x4168e7
cmp esi, 5
je 0x4168e7
cmp esi, 8
je 0x4168e7
mov eax, 1
jmp 0x4168e9
xor eax, eax
cmp ecx, ebx
jne 0x4168f1
lea ecx, [esp + 0x20]
lea edx, [esp + 0x18]
push eax
push edx
push ecx
mov ecx, ebp
call fcn.00414300
test eax, eax
jne 0x416911
push 0x658eb8
lea ecx, [esp + 0x1c]
call fcn.005a0de6
xor edi, edi
cmp esi, 2
jne 0x41692c
mov eax, dword [esp + 0x18]
mov ecx, ebp
push eax
push 9
call fcn.004141a0
test eax, eax
je 0x416936
jmp 0x416931
cmp esi, 0xf
jne 0x416936
mov edi, 1
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebx
cmp eax, ebx
jne 0x416946
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.00413de0
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x4169b3
lea ecx, [esp + 0x18]
mov byte [esp + 0x3d8], 6
call fcn.005a0c5d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3d8], 2
call fcn.00401070
lea ecx, [esp + 0x100]
mov dword [esp + 0x3d8], 0xc
call fcn.005a0c5d
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.0059c834
xor eax, eax
jmp 0x416a0b
mov ecx, dword [esp + 0x3e4]
mov byte [esp + 0x3d8], 6
mov dword [ecx], eax
lea ecx, [esp + 0x18]
call fcn.005a0c5d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3d8], 2
call fcn.00401070
lea ecx, [esp + 0x100]
mov dword [esp + 0x3d8], 0xd
call fcn.005a0c5d
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.0059c834
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