Function at 0x410110
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x49061b
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4b99e4]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b99e4]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
xor ebx, ebx
push 0x21
mov dword [esp + 0x24], ecx
push str.SoftwareMozillaMozilla_Firefox_
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00402910
mov eax, dword [esp + 0x28]
mov esi, 0x10
mov dword [esp + 0x150], ebx
cmp dword [esp + 0x3c], esi
jae 0x41018f
lea eax, [esp + 0x28]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push eax
push SysReAllocString
call edi
test eax, eax
je 0x4101ee
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x3c], esi
jae 0x4101ba
lea eax, [esp + 0x28]
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x4101ee
cmp dword [esp + 0x3c], esi
jb 0x4101e4
mov eax, dword [esp + 0x28]
push eax
call fcn.00418a35
add esp, 4
mov eax, 1
jmp 0x410374
push 0x104
lea ecx, [esp + 0x44]
push ebx
push ecx
call fcn.0044c250
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push str.CurrentVersion
push edx
mov dword [esp + 0x30], 0x104
call ebp
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x41025a
cmp dword [esp + 0x3c], 0x10
jb 0x4101e4
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00418a35
add esp, 4
mov eax, 1
jmp 0x410374
lea eax, [esp + 0x40]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x410261
sub eax, edx
push eax
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x2c]
call fcn.00409600
push 5
push str.Main
lea ecx, [esp + 0x2c]
call fcn.00409600
mov eax, dword [esp + 0x28]
mov esi, 0x10
cmp dword [esp + 0x3c], esi
jae 0x41029c
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push eax
push SysReAllocString
call edi
test eax, eax
je 0x4102eb
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x3c], esi
jae 0x4102c1
lea eax, [esp + 0x28]
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x4102eb
lea ecx, [esp + 0x24]
call fcn.00402580
mov eax, 1
jmp 0x410374
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push str.Install_Directory
push eax
mov dword [esp + 0x30], 0x104
call ebp
mov ecx, dword [esp + 0x14]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x41033f
cmp dword [esp + 0x3c], 0x10
jb 0x4101e4
mov edx, dword [esp + 0x28]
push edx
call fcn.00418a35
add esp, 4
mov eax, 1
jmp 0x410374
lea eax, [esp + 0x40]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x410346
mov ecx, dword [esp + 0x20]
sub eax, edx
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00402910
cmp dword [esp + 0x3c], 0x10
jb 0x410372
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00418a35
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0044c23d
add esp, 0x140
ret