Function at 0x421830
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x639b9e
push eax
mov eax, 0x10e4
mov dword fs:[0], esp
call fcn.00609d40
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x68]
push 0x6cc1c0
mov dword [esp + 0x3c], ecx
push eax
call fcn.00609a95
mov ecx, dword [esp + 0x1118]
xor ebp, ebp
add esp, 8
cmp ecx, ebp
je 0x4219b3
mov eax, dword [0x6f7b78]
mov dword [esp + 0x10], eax
mov dword [esp + 0x10fc], ebp
mov dword [esp + 0x14], eax
lea eax, [ecx - 2]
mov byte [esp + 0x10fc], 1
cmp eax, 0xd
ja case.0x4218a2.9
jmp dword [eax*4 + 0x421ecc]
push str.Firefox
lea ecx, [esp + 0x18]
call fcn.00622f13
push str.Firefox
jmp 0x421963
push str.OPERA
lea ecx, [esp + 0x18]
call fcn.00622f13
push str.Opera
jmp 0x421963
push str.Mozilla
lea ecx, [esp + 0x18]
call fcn.00622f13
push str.Mozilla
jmp 0x421963
push str.NETSCP
jmp 0x421940
push str.Flock
lea ecx, [esp + 0x18]
call fcn.00622f13
push str.Flock
jmp 0x421963
push str.seamonkey
lea ecx, [esp + 0x18]
call fcn.00622f13
push str.SeaMonkey
jmp 0x421963
push str.MozillaFirebird
lea ecx, [esp + 0x18]
call fcn.00622f13
push str.Firebird
jmp 0x421963
push str.NETSCAPE
jmp 0x421940
push str.navigator
lea ecx, [esp + 0x18]
call fcn.00622f13
push str.Netscape
jmp 0x421963
push 0x6c94e8
lea ecx, [esp + 0x18]
call fcn.00622f13
push str.Browser
lea ecx, [esp + 0x14]
call fcn.00622f13
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push eax
push ecx
lea edx, [esp + 0x94]
push str._s_executable_file___s.exe__s.exe
push edx
call fcn.0060a593
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x10fc], 0
call fcn.00622d8a
lea ecx, [esp + 0x10]
mov dword [esp + 0x10fc], 0xffffffff
call fcn.00622d8a
jmp 0x4219cd
push str.Executable_files
lea eax, [esp + 0x8c]
push str._s__.exe_.exe
push eax
call fcn.0060a593
add esp, 0xc
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], ebp
push ecx
push 0x20019
push ebp
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x421a2e
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x14]
lea eax, [esp + 0xce4]
push edx
push eax
push ebp
push ebp
push 0x6cc0c4
push ecx
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x421a23
mov dword [esp + 0x10], 1
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1104]
lea ecx, [esp + 0x88]
push eax
push ecx
push 0x10001004
lea edx, [esp + 0x74]
push ebp
push edx
push 1
lea ecx, [esp + 0x1a0]
call fcn.00426e60
mov dword [esp + 0x10fc], 2
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebp
mov word [esp + 0x24], bp
mov esi, dword [0x6fca90]
mov ebx, dword [0x6fd5c8]
lea ecx, [esp + 0x20]
mov byte [esp + 0x10fc], 3
call fcn.00401070
cmp ebx, ebp
je 0x421adb
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x421adb
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebp
push ebp
push 0xffffffffffffffff
push ebx
push ebp
push esi
call edi
cmp eax, ebp
mov dword [esp + 0x28], eax
je 0x421adb
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
add esp, 4
cmp eax, ebp
mov dword [esp + 0x20], eax
je 0x421ae3
mov ecx, dword [esp + 0x28]
push ecx
push eax
push 0xffffffffffffffff
push ebx
push ebp
push esi
call edi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
cmp eax, ebp
jne 0x421ae7
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
call fcn.00622e4a
mov edx, dword [esp + 0x1c]
push ebp
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x1104], 4
mov dword [esp + 0x44], ebp
mov dword [esp + 0x4c], ebp
mov word [esp + 0x48], bp
call fcn.004027e0
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x10fc], 5
cmp eax, ebp
jne 0x421b29
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x20]
cmp ecx, ebp
jne 0x421b35
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0060a1a4
add esp, 8
test eax, eax
jne 0x421b61
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x421b54
mov dword [esp + 0x1bc], eax
jmp 0x421b6c
lea eax, [esp + 0x24]
mov dword [esp + 0x1bc], eax
jmp 0x421b6c
mov dword [esp + 0x1bc], 0x6cc09c
cmp dword [esp + 0x10], ebp
je 0x421b80
lea ecx, [esp + 0xce4]
mov dword [esp + 0x1b8], ecx
lea ecx, [esp + 0x188]
call fcn.00426ff0
cmp eax, 1
jne 0x421e18
lea ecx, [esp + 0x188]
call fcn.00427070
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebp
mov word [esp + 0x34], bp
call fcn.00401f20
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x10fc], 6
cmp ecx, ebp
mov eax, ecx
jne 0x421bce
lea eax, [esp + 0x30]
mov edx, 0x6c910c
test edx, edx
je 0x421cb8
cmp eax, ebp
je 0x421cb8
push eax
lea ecx, [esp + 0x60]
call fcn.00401ee0
mov esi, dword [esp + 0x110c]
mov byte [esp + 0x10fc], 7
mov ecx, esi
call fcn.00401070
mov dword [esp + 0x50], ebp
mov dword [esp + 0x58], ebp
mov word [esp + 0x54], bp
push ebp
push 0x6c910c
lea ecx, [esp + 0x58]
mov byte [esp + 0x1104], 8
call fcn.004027e0
mov edi, dword [esp + 0x58]
lea ecx, [esp + 0x5c]
call fcn.00401f10
push eax
call fcn.00609a4e
lea ebp, [eax + edi + 2]
lea ebx, [ebp + ebp]
push ebx
call fcn.00622acb
mov edi, eax
add esp, 8
test edi, edi
mov dword [esi], edi
je 0x421c90
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 + 0x5c]
call fcn.00401f10
push eax
lea ecx, [esp + 0x54]
call fcn.00401f10
push eax
mov eax, dword [esi]
push ebp
push eax
call fcn.006099de
mov ecx, dword [esi]
push ecx
call fcn.00609a4e
add esp, 0x14
mov dword [esi + 8], eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x10fc], 7
call fcn.00401070
lea ecx, [esp + 0x5c]
mov byte [esp + 0x10fc], 6
call fcn.00401070
mov ecx, dword [esp + 0x2c]
xor ebp, ebp
mov esi, dword [esp + 0x1110]
cmp esi, ebp
jne 0x421d2c
cmp ecx, ebp
mov eax, ecx
jne 0x421ccd
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x38]
push eax
call fcn.0041dc80
mov esi, eax
cmp esi, 1
jne 0x421cfb
mov edx, dword [0x6fd630]
mov eax, dword [0x6fd5d8]
push 0x40
push edx
push eax
push ebp
call fcn.00457010
add esp, 0x10
jmp 0x421e07
jge 0x421d28
cmp dword [esp + 0x1114], ebp
jne 0x421e07
mov ecx, dword [0x6fd630]
mov edx, dword [0x6fd5d4]
push 0x30
push ecx
push edx
push ebp
call fcn.00457010
add esp, 0x10
jmp 0x421e07
mov ecx, dword [esp + 0x2c]
mov eax, dword [0x6f7b78]
mov dword [esp + 0x18], eax
cmp esi, 3
mov byte [esp + 0x10fc], 9
je 0x421d53
cmp esi, 5
je 0x421d53
cmp esi, 8
je 0x421d53
mov edx, 1
jmp 0x421d55
xor edx, edx
cmp ecx, ebp
mov eax, ecx
jne 0x421d5f
lea eax, [esp + 0x30]
lea ecx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.0040fba0
add esp, 0xc
test eax, eax
jne 0x421d80
push 0x6cb6a4
lea ecx, [esp + 0x1c]
call fcn.00622f13
xor edi, edi
cmp esi, 2
jne 0x421da2
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
push edx
push 9
call fcn.0041e9b0
test eax, eax
je 0x421dc8
mov edi, 1
jmp 0x421dc8
cmp esi, 0xf
jne 0x421dae
mov edi, 1
jmp 0x421dc8
cmp esi, 0x11
jne 0x421dc8
mov eax, dword [esp + 0x2c]
cmp eax, ebp
jne 0x421dbf
lea eax, [esp + 0x30]
push eax
call fcn.0041b240
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x48], ebp
cmp eax, ebp
jne 0x421dd8
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x3c]
push edi
push edx
push eax
push esi
call fcn.0041e5e0
mov eax, dword [esp + 0x48]
cmp eax, ebp
jne 0x421e4f
lea ecx, [esp + 0x18]
mov byte [esp + 0x10fc], 6
call fcn.00622d8a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10fc], 5
call fcn.00401070
lea ecx, [esp + 0x3c]
mov byte [esp + 0x10fc], 4
call fcn.00401070
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10fc], 3
call fcn.00622d8a
lea ecx, [esp + 0x20]
mov byte [esp + 0x10fc], 2
call fcn.00401070
xor eax, eax
jmp 0x421eaf
mov ecx, dword [esp + 0x1108]
mov byte [esp + 0x10fc], 6
mov dword [ecx], eax
lea ecx, [esp + 0x18]
call fcn.00622d8a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10fc], 5
call fcn.00401070
lea ecx, [esp + 0x3c]
mov byte [esp + 0x10fc], 4
call fcn.00401070
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10fc], 3
call fcn.00622d8a
lea ecx, [esp + 0x20]
mov byte [esp + 0x10fc], 2
call fcn.00401070
mov eax, esi
mov ecx, dword [esp + 0x10f4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10f0
ret 0x14