Function at 0x413730
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59a96e
push eax
mov dword fs:[0], esp
sub esp, 0x3a0
xor eax, eax
lea edx, [esp + 0x1c]
push ebp
push esi
mov ebp, ecx
push edi
mov edi, 0x63afec
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x3c8]
test esi, esi
je 0x4138c2
mov eax, dword [0x65ec1c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x3b4], 0
mov dword [esp + 0x10], eax
lea eax, [esi - 2]
mov byte [esp + 0x3b4], 1
cmp eax, 0xd
ja case.0x4137b1.9
jmp dword [eax*4 + 0x413c34]
push str.Firefox
lea ecx, [esp + 0x14]
call fcn.00588849
push str.Firefox
jmp 0x413872
push str.OPERA
lea ecx, [esp + 0x14]
call fcn.00588849
push str.Opera
jmp 0x413872
push str.Mozilla
lea ecx, [esp + 0x14]
call fcn.00588849
push str.Mozilla
jmp 0x413872
push str.NETSCP
jmp 0x41384f
push str.Flock
lea ecx, [esp + 0x14]
call fcn.00588849
push str.Flock
jmp 0x413872
push str.seamonkey
lea ecx, [esp + 0x14]
call fcn.00588849
push str.SeaMonkey
jmp 0x413872
push str.MozillaFirebird
lea ecx, [esp + 0x14]
call fcn.00588849
push str.Firebird
jmp 0x413872
push str.NETSCAPE
jmp 0x41384f
push str.navigator
lea ecx, [esp + 0x14]
call fcn.00588849
push str.Netscape
jmp 0x413872
push 0x639214
lea ecx, [esp + 0x14]
call fcn.00588849
push str.Browser
lea ecx, [esp + 0x10]
call fcn.00588849
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push eax
push ecx
lea edx, [esp + 0x234]
push 0x63afa8
push edx
call fcn.0056d05a
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x3b4], 0
call fcn.005886c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x3b4], 0xffffffff
call fcn.005886c0
jmp 0x4138dc
push 0x63af94
lea eax, [esp + 0x22c]
push str._s__.exe_.exe
push eax
call fcn.0056d05a
add esp, 0xc
lea ecx, [esp + 0x20]
xor edi, edi
push ecx
push 0x20019
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x413938
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x24]
lea eax, [esp + 0x2a8]
push edx
push eax
push edi
push edi
push str.ProgramFilesDir
push ecx
mov dword [esp + 0x3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41392d
mov edi, 1
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3bc]
lea ecx, [esp + 0x228]
push eax
push ecx
push 0x10001004
lea edx, [esp + 0x34]
push 0
push edx
push 1
lea ecx, [esp + 0x48]
call fcn.00581556
mov eax, dword [0x663d58]
mov dword [esp + 0x3b4], 2
test edi, edi
mov dword [esp + 0xbc], eax
je 0x413988
lea ecx, [esp + 0x2a8]
mov dword [esp + 0xb8], ecx
lea ecx, [esp + 0x30]
call fcn.005816b8
cmp eax, 1
je 0x4139c8
lea ecx, [esp + 0xdc]
mov dword [esp + 0x3b4], 3
call fcn.005886c0
lea ecx, [esp + 0x30]
mov dword [esp + 0x3b4], 0xffffffff
call fcn.00584297
xor eax, eax
jmp 0x413c18
lea edx, [esp + 0x14]
lea ecx, [esp + 0x30]
push edx
call fcn.00581793
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c4]
push eax
push 0x638fa8
push ecx
mov byte [esp + 0x3c0], 4
call fcn.0058148b
add esp, 0xc
test esi, esi
jne 0x413ad4
mov edx, dword [esp + 0x14]
mov ecx, ebp
push edx
call fcn.00411800
mov esi, eax
cmp esi, 1
jne 0x413a6d
mov eax, dword [0x663dc0]
mov ecx, dword [0x663d68]
push 0x40
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x3b4], 2
call fcn.005886c0
lea ecx, [esp + 0xdc]
mov dword [esp + 0x3b4], 5
call fcn.005886c0
lea ecx, [esp + 0x30]
mov dword [esp + 0x3b4], 0xffffffff
call fcn.00584297
xor eax, eax
jmp 0x413c18
jge 0x413ad4
mov eax, dword [esp + 0x3cc]
test eax, eax
jne 0x413a91
mov edx, dword [0x663dc0]
mov eax, dword [0x663d64]
push 0x30
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x3b4], 2
call fcn.005886c0
lea ecx, [esp + 0xdc]
mov dword [esp + 0x3b4], 6
call fcn.005886c0
lea ecx, [esp + 0x30]
mov dword [esp + 0x3b4], 0xffffffff
call fcn.00584297
xor eax, eax
jmp 0x413c18
mov ecx, dword [0x65ec1c]
mov dword [esp + 0x18], ecx
cmp esi, 3
mov byte [esp + 0x3b4], 7
je 0x413afc
cmp esi, 5
je 0x413afc
cmp esi, 8
je 0x413afc
mov eax, 1
jmp 0x413afe
xor eax, eax
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
mov ecx, ebp
push edx
push eax
call fcn.00412490
test eax, eax
jne 0x413b22
push 0x63ac48
lea ecx, [esp + 0x1c]
call fcn.00588849
xor edi, edi
cmp esi, 2
jne 0x413b3d
mov ecx, dword [esp + 0x18]
push ecx
push 9
mov ecx, ebp
call fcn.00412330
test eax, eax
je 0x413b47
jmp 0x413b42
cmp esi, 0xf
jne 0x413b47
mov edi, 1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push edx
push edi
push eax
push ecx
push esi
mov ecx, ebp
call fcn.00412040
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x413bc0
lea ecx, [esp + 0x18]
mov byte [esp + 0x3b4], 4
call fcn.005886c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x3b4], 2
call fcn.005886c0
lea ecx, [esp + 0xdc]
mov dword [esp + 0x3b4], 8
call fcn.005886c0
lea ecx, [esp + 0x30]
mov dword [esp + 0x3b4], 0xffffffff
call fcn.00584297
xor eax, eax
jmp 0x413c18
mov edx, dword [esp + 0x3c0]
lea ecx, [esp + 0x18]
mov byte [esp + 0x3b4], 4
mov dword [edx], eax
call fcn.005886c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x3b4], 2
call fcn.005886c0
lea ecx, [esp + 0xdc]
mov dword [esp + 0x3b4], 9
call fcn.005886c0
lea ecx, [esp + 0x30]
mov dword [esp + 0x3b4], 0xffffffff
call fcn.00584297
mov eax, esi
mov ecx, dword [esp + 0x3ac]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3ac
ret 0x14