Function at 0x4101e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x6c
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
push ebx
mov ebx, dword [esp + 0x80]
push ebp
mov ebp, dword [esp + 0x78]
push esi
lea edx, [esp + 0x7c]
push edi
xor esi, esi
push edx
push 0x20019
mov dword [ebp], esi
push esi
mov dword [eax], esi
push str.SoftwareMozillaMozilla_Firefox
mov dword [ecx], esi
push 0x80000002
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [ebx], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4102f2
mov ecx, 0x19
lea edi, [esp + 0x18]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x8c], 0x64
rep stosd dword es:[edi], eax
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x18]
push eax
push ecx
push esi
push esi
push str.CurrentVersion
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4102d8
lea eax, [esp + 0x18]
push 0x2e
push eax
mov esi, 1
call fcn.00609c00
add esp, 8
test eax, eax
je 0x410287
mov byte [eax], 0
lea ecx, [esp + 0x18]
push ecx
call fcn.00609e33
add esp, 4
test eax, eax
je 0x4102d8
cmp eax, 0x34
mov dword [esp + 0x14], eax
jle 0x4102a9
mov dword [ebx], 1
jmp 0x4102d8
cmp eax, 0x1a
jle 0x4102bd
mov edx, dword [esp + 0x88]
mov dword [edx], 1
jmp 0x4102d8
cmp eax, 7
jle 0x4102d1
mov eax, dword [esp + 0x84]
mov dword [eax], 1
jmp 0x4102d8
mov dword [ebp], 1
mov ecx, dword [esp + 0x80]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4102f2
mov dword [esp + 0x10], 1
lea edx, [esp + 0x80]
xor esi, esi
push edx
push 0x20019
push esi
push str.SoftwareMozillaAurora
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4103dc
mov ecx, 0x19
lea edi, [esp + 0x18]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x8c], 0x64
rep stosd dword es:[edi], eax
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x18]
push eax
push ecx
push esi
push esi
push str.CurrentVersion
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4103c2
lea eax, [esp + 0x18]
push 0x2e
push eax
mov esi, 1
call fcn.00609c00
add esp, 8
test eax, eax
je 0x410371
mov byte [eax], 0
lea ecx, [esp + 0x18]
push ecx
call fcn.00609e33
add esp, 4
test eax, eax
je 0x4103c2
cmp eax, 0x34
mov dword [esp + 0x14], eax
jle 0x410393
mov dword [ebx], 1
jmp 0x4103c2
cmp eax, 0x1a
jle 0x4103a7
mov edx, dword [esp + 0x88]
mov dword [edx], 1
jmp 0x4103c2
cmp eax, 7
jle 0x4103bb
mov eax, dword [esp + 0x84]
mov dword [eax], 1
jmp 0x4103c2
mov dword [ebp], 1
mov ecx, dword [esp + 0x80]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4103dc
mov dword [esp + 0x10], 1
lea edx, [esp + 0x80]
xor esi, esi
push edx
push 0x20019
push esi
push str.SoftwareMozillaMozilla_Firefox_ESR
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4104c6
mov ecx, 0x19
lea edi, [esp + 0x18]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x8c], 0x64
rep stosd dword es:[edi], eax
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x18]
push eax
push ecx
push esi
push esi
push str.CurrentVersion
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4104ac
lea eax, [esp + 0x18]
push 0x2e
push eax
mov esi, 1
call fcn.00609c00
add esp, 8
test eax, eax
je 0x41045b
mov byte [eax], 0
lea ecx, [esp + 0x18]
push ecx
call fcn.00609e33
add esp, 4
test eax, eax
je 0x4104ac
cmp eax, 0x34
mov dword [esp + 0x14], eax
jle 0x41047d
mov dword [ebx], 1
jmp 0x4104ac
cmp eax, 0x1a
jle 0x410491
mov edx, dword [esp + 0x88]
mov dword [edx], 1
jmp 0x4104ac
cmp eax, 7
jle 0x4104a5
mov eax, dword [esp + 0x84]
mov dword [eax], 1
jmp 0x4104ac
mov dword [ebp], 1
mov ecx, dword [esp + 0x80]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4104c6
mov dword [esp + 0x10], 1
lea edx, [esp + 0x80]
xor esi, esi
push edx
push 0x20019
push esi
push str.SoftwareMozillaNightly
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4105b0
mov ecx, 0x19
lea edi, [esp + 0x18]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x8c], 0x64
rep stosd dword es:[edi], eax
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x18]
push eax
push ecx
push esi
push esi
push str.CurrentVersion
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x410596
lea eax, [esp + 0x18]
push 0x2e
push eax
mov esi, 1
call fcn.00609c00
add esp, 8
test eax, eax
je 0x410545
mov byte [eax], 0
lea ecx, [esp + 0x18]
push ecx
call fcn.00609e33
add esp, 4
test eax, eax
je 0x410596
cmp eax, 0x34
mov dword [esp + 0x14], eax
jle 0x410567
mov dword [ebx], 1
jmp 0x410596
cmp eax, 0x1a
jle 0x41057b
mov edx, dword [esp + 0x88]
mov dword [edx], 1
jmp 0x410596
cmp eax, 7
jle 0x41058f
mov eax, dword [esp + 0x84]
mov dword [eax], 1
jmp 0x410596
mov dword [ebp], 1
mov ecx, dword [esp + 0x80]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4105b0
mov dword [esp + 0x10], 1
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
lea edx, [esp + 0x14]
push edx
push ebx
push edi
push esi
push ebp
push 0x20019
push str.SoftwareMozillaFirefox_Developer_Edition
call fcn.00410700
add esp, 0x1c
test eax, eax
je 0x4105e5
mov dword [esp + 0x10], 1
call fcn.0044bfc0
test eax, eax
je 0x4106de
lea eax, [esp + 0x14]
push eax
push ebx
push edi
push esi
push ebp
push 0x20119
push str.SoftwareMozillaMozilla_Firefox
call fcn.00410700
add esp, 0x1c
test eax, eax
je 0x410619
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x14]
push ecx
push ebx
push edi
push esi
push ebp
push 0x20119
push str.SoftwareMozillaAurora
call fcn.00410700
add esp, 0x1c
test eax, eax
je 0x410640
mov dword [esp + 0x10], 1
lea edx, [esp + 0x14]
push edx
push ebx
push edi
push esi
push ebp
push 0x20119
push str.SoftwareMozillaWaterfox
call fcn.00410700
add esp, 0x1c
test eax, eax
je 0x410667
mov dword [esp + 0x10], 1
lea eax, [esp + 0x14]
push eax
push ebx
push edi
push esi
push ebp
push 0x20119
push str.SoftwareMozillaMozilla_Firefox_ESR
call fcn.00410700
add esp, 0x1c
test eax, eax
je 0x41068e
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x14]
push ecx
push ebx
push edi
push esi
push ebp
push 0x20119
push str.SoftwareMozillaNightly
call fcn.00410700
add esp, 0x1c
test eax, eax
je 0x4106b5
mov dword [esp + 0x10], 1
lea edx, [esp + 0x14]
push edx
push ebx
push edi
push esi
push ebp
push 0x20119
push str.SoftwareMozillaFirefox_Developer_Edition
call fcn.00410700
add esp, 0x1c
test eax, eax
je 0x4106de
mov dword [esp + 0x10], 1
jmp 0x4106e6
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4106f6
cmp dword [ebx], 0
jne 0x4106f2
call fcn.00410030
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret