Function at 0x4164d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5ad26f
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, 0x6513a8
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 0x416665
mov eax, dword [0x6754cc]
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.0x416554.9
jmp dword [eax*4 + 0x416af8]
push str.Firefox
lea ecx, [esp + 0x18]
call fcn.0059aec6
push str.Firefox
jmp 0x416615
push str.OPERA
lea ecx, [esp + 0x18]
call fcn.0059aec6
push str.Opera
jmp 0x416615
push str.Mozilla
lea ecx, [esp + 0x18]
call fcn.0059aec6
push str.Mozilla
jmp 0x416615
push str.NETSCP
jmp 0x4165f2
push str.Flock
lea ecx, [esp + 0x18]
call fcn.0059aec6
push str.Flock
jmp 0x416615
push str.seamonkey
lea ecx, [esp + 0x18]
call fcn.0059aec6
push str.SeaMonkey
jmp 0x416615
push str.MozillaFirebird
lea ecx, [esp + 0x18]
call fcn.0059aec6
push str.Firebird
jmp 0x416615
push str.NETSCAPE
jmp 0x4165f2
push str.navigator
lea ecx, [esp + 0x18]
call fcn.0059aec6
push str.Netscape
jmp 0x416615
push 0x64f214
lea ecx, [esp + 0x18]
call fcn.0059aec6
push str.Browser
lea ecx, [esp + 0x14]
call fcn.0059aec6
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.0057f2ea
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x3d8], 0
call fcn.0059ad3d
lea ecx, [esp + 0x10]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.0059ad3d
jmp 0x41667f
push str.Executable_files
lea eax, [esp + 0x250]
push str._s__.exe_.exe
push eax
call fcn.0057f2ea
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 0x4166db
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
lea eax, [esp + 0x2cc]
push edx
push eax
push ebx
push ebx
push 0x651300
push ecx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4166d0
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.00593bd3
mov eax, dword [0x67a750]
cmp edi, ebx
mov dword [esp + 0x3d8], 2
mov dword [esp + 0xe0], eax
je 0x41672a
lea ecx, [esp + 0x2cc]
mov dword [esp + 0xdc], ecx
lea ecx, [esp + 0x54]
call fcn.00593d35
cmp eax, 1
je 0x41676a
lea ecx, [esp + 0x100]
mov dword [esp + 0x3d8], 3
call fcn.0059ad3d
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.00596914
xor eax, eax
jmp 0x416adb
lea edx, [esp + 0x10]
lea ecx, [esp + 0x54]
push edx
call fcn.00593e10
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.004028d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x3d8], 6
call fcn.0059ad3d
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
mov eax, ecx
jne 0x4167b9
lea eax, [esp + 0x20]
mov edx, 0x64efa8
test edx, edx
je 0x4168ad
cmp eax, ebx
je 0x4168ad
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov word [esp + 0x38], bx
call fcn.00401fb0
mov esi, dword [esp + 0x3e8]
mov byte [esp + 0x3d8], 7
mov ecx, esi
call fcn.00401070
push 0x64efa8
lea ecx, [esp + 0x4c]
call fcn.00401f20
mov edi, dword [esp + 0x50]
lea ecx, [esp + 0x30]
mov byte [esp + 0x3d8], 8
call fcn.00401fa0
push eax
call fcn.0057e90a
lea ebp, [eax + edi + 2]
lea ebx, [ebp + ebp]
push ebx
call fcn.005970d9
mov edi, eax
add esp, 8
test edi, edi
mov dword [esi], edi
je 0x41687a
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.00401fa0
push eax
lea ecx, [esp + 0x4c]
call fcn.00401fa0
push eax
mov eax, dword [esi]
push ebp
push eax
call fcn.0057e89a
mov ecx, dword [esi]
push ecx
call fcn.0057e90a
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 0x416990
cmp ecx, ebx
mov eax, ecx
jne 0x4168bf
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.00413340
mov esi, eax
cmp esi, 1
jne 0x416927
mov edx, dword [0x67a7b8]
mov eax, dword [0x67a760]
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.0059ad3d
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.00596914
xor eax, eax
jmp 0x416adb
jge 0x41698c
cmp dword [esp + 0x3f0], ebx
jne 0x416949
mov ecx, dword [0x67a7b8]
mov edx, dword [0x67a75c]
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.0059ad3d
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.00596914
xor eax, eax
jmp 0x416adb
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x6754cc]
mov dword [esp + 0x18], eax
cmp esi, 3
mov byte [esp + 0x3d8], 0xb
je 0x4169b7
cmp esi, 5
je 0x4169b7
cmp esi, 8
je 0x4169b7
mov eax, 1
jmp 0x4169b9
xor eax, eax
cmp ecx, ebx
jne 0x4169c1
lea ecx, [esp + 0x20]
lea edx, [esp + 0x18]
push eax
push edx
push ecx
mov ecx, ebp
call fcn.004143d0
test eax, eax
jne 0x4169e1
push 0x650f00
lea ecx, [esp + 0x1c]
call fcn.0059aec6
xor edi, edi
cmp esi, 2
jne 0x4169fc
mov eax, dword [esp + 0x18]
mov ecx, ebp
push eax
push 9
call fcn.00414270
test eax, eax
je 0x416a06
jmp 0x416a01
cmp esi, 0xf
jne 0x416a06
mov edi, 1
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebx
cmp eax, ebx
jne 0x416a16
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.00413eb0
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x416a83
lea ecx, [esp + 0x18]
mov byte [esp + 0x3d8], 6
call fcn.0059ad3d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3d8], 2
call fcn.00401070
lea ecx, [esp + 0x100]
mov dword [esp + 0x3d8], 0xc
call fcn.0059ad3d
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.00596914
xor eax, eax
jmp 0x416adb
mov ecx, dword [esp + 0x3e4]
mov byte [esp + 0x3d8], 6
mov dword [ecx], eax
lea ecx, [esp + 0x18]
call fcn.0059ad3d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3d8], 2
call fcn.00401070
lea ecx, [esp + 0x100]
mov dword [esp + 0x3d8], 0xd
call fcn.0059ad3d
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.00596914
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