Function at 0x4108c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x549ade
push eax
mov dword fs:[0], esp
sub esp, 0x3a0
xor eax, eax
lea edx, [esp + 0x1c]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov edi, 0x599adc
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 0x410a3b
mov eax, dword [0x5b5ecc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x3b8], 0
mov dword [esp + 0x14], eax
lea eax, [esi - 2]
mov byte [esp + 0x3b8], 1
cmp eax, 9
ja case.0x410942.9
jmp dword [eax*4 + 0x410d78]
push str.Firefox
lea ecx, [esp + 0x18]
call fcn.00537c8d
push str.Firefox
jmp 0x4109eb
push str.OPERA
lea ecx, [esp + 0x18]
call fcn.00537c8d
push str.Opera
jmp 0x4109eb
push str.Mozilla
lea ecx, [esp + 0x18]
call fcn.00537c8d
push str.Mozilla
jmp 0x4109eb
push str.NETSCP
jmp 0x4109c8
push str.Flock
lea ecx, [esp + 0x18]
call fcn.00537c8d
push str.Flock
jmp 0x4109eb
push str.MozillaFirebird
lea ecx, [esp + 0x18]
call fcn.00537c8d
push str.Firebird
jmp 0x4109eb
push str.NETSCAPE
jmp 0x4109c8
push str.navigator
lea ecx, [esp + 0x18]
call fcn.00537c8d
push str.Netscape
jmp 0x4109eb
push 0x598000
lea ecx, [esp + 0x18]
call fcn.00537c8d
push str.Browser
lea ecx, [esp + 0x14]
call fcn.00537c8d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push eax
push ecx
lea edx, [esp + 0x238]
push str._s_executable_file___s.exe__s.exe
push edx
call fcn.0051d0e8
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x3b8], 0
call fcn.00537b04
lea ecx, [esp + 0x10]
mov dword [esp + 0x3b8], 0xffffffff
call fcn.00537b04
jmp 0x410a55
push str.Executable_files
lea eax, [esp + 0x230]
push str._s__.exe_.exe
push eax
call fcn.0051d0e8
add esp, 0xc
lea ecx, [esp + 0x24]
xor edi, edi
push ecx
push 0x20019
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410ab1
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x28]
lea eax, [esp + 0x2ac]
push edx
push eax
push edi
push edi
push str.ProgramFilesDir
push ecx
mov dword [esp + 0x40], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x410aa6
mov edi, 1
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c0]
lea ecx, [esp + 0x22c]
push eax
push ecx
push 0x1004
lea edx, [esp + 0x38]
push 0
push edx
push 1
lea ecx, [esp + 0x4c]
call fcn.005309e5
mov eax, dword [0x5bad48]
mov ebx, 2
test edi, edi
mov dword [esp + 0x3b8], ebx
mov dword [esp + 0xc0], eax
je 0x410b02
lea ecx, [esp + 0x2ac]
mov dword [esp + 0xbc], ecx
lea ecx, [esp + 0x34]
call fcn.00530b47
cmp eax, 1
je 0x410b42
lea ecx, [esp + 0xe0]
mov dword [esp + 0x3b8], 3
call fcn.00537b04
lea ecx, [esp + 0x34]
mov dword [esp + 0x3b8], 0xffffffff
call fcn.00533726
xor eax, eax
jmp 0x410d5a
lea edx, [esp + 0x18]
lea ecx, [esp + 0x34]
push edx
call fcn.00530c22
test esi, esi
jne 0x410c20
mov eax, dword [esp + 0x18]
mov ecx, ebp
push eax
call fcn.0040e820
mov esi, eax
cmp esi, 1
jne 0x410bc5
mov ecx, dword [0x5badb0]
mov edx, dword [0x5bad58]
push 0x40
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x18]
mov byte [esp + 0x3b8], bl
call fcn.00537b04
lea ecx, [esp + 0xe0]
mov dword [esp + 0x3b8], 5
call fcn.00537b04
lea ecx, [esp + 0x34]
mov dword [esp + 0x3b8], 0xffffffff
call fcn.00533726
xor eax, eax
jmp 0x410d5a
jge 0x410c20
mov eax, dword [0x5badb0]
mov ecx, dword [0x5bad54]
push 0x30
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x18]
mov byte [esp + 0x3b8], bl
call fcn.00537b04
lea ecx, [esp + 0xe0]
mov dword [esp + 0x3b8], 6
call fcn.00537b04
lea ecx, [esp + 0x34]
mov dword [esp + 0x3b8], 0xffffffff
call fcn.00533726
xor eax, eax
jmp 0x410d5a
mov edx, dword [0x5b5ecc]
mov dword [esp + 0x1c], edx
cmp esi, 3
mov byte [esp + 0x3b8], 7
je 0x410c48
cmp esi, 5
je 0x410c48
cmp esi, 8
je 0x410c48
mov eax, 1
jmp 0x410c4a
xor eax, eax
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, ebp
call fcn.0040f420
test eax, eax
jne 0x410c6e
push 0x599794
lea ecx, [esp + 0x20]
call fcn.00537c8d
xor edi, edi
cmp esi, ebx
jne 0x410c8b
mov edx, dword [esp + 0x1c]
mov ecx, ebp
push edx
push 9
call fcn.0040f2e0
test eax, eax
je 0x410c8b
mov edi, 1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push edi
push ecx
push edx
push esi
mov ecx, ebp
call fcn.0040eff0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x410d03
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3b8], 4
call fcn.00537b04
lea ecx, [esp + 0x18]
mov byte [esp + 0x3b8], bl
call fcn.00537b04
lea ecx, [esp + 0xe0]
mov dword [esp + 0x3b8], 8
call fcn.00537b04
lea ecx, [esp + 0x34]
mov dword [esp + 0x3b8], 0xffffffff
call fcn.00533726
xor eax, eax
jmp 0x410d5a
mov ecx, dword [esp + 0x3c4]
mov byte [esp + 0x3b8], 4
mov dword [ecx], eax
lea ecx, [esp + 0x1c]
call fcn.00537b04
lea ecx, [esp + 0x18]
mov byte [esp + 0x3b8], bl
call fcn.00537b04
lea ecx, [esp + 0xe0]
mov dword [esp + 0x3b8], 9
call fcn.00537b04
lea ecx, [esp + 0x34]
mov dword [esp + 0x3b8], 0xffffffff
call fcn.00533726
mov eax, esi
mov ecx, dword [esp + 0x3b0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3ac
ret 0xc