Function at 0x10015b60
Capabilities:
Check if file exists
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024b8e
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x10034034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28c], ecx
push 0
push str.SOFTWAREMozillaMozilla_Firefox
push 0x80000002
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0
call fcn.1000bd90
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x288], 0
call fcn.1000c330
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x288]
test ecx, ecx
je 0x10015edc
test eax, eax
js 0x10015ed5
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.1000bf50
push str.Main
lea ecx, [ebp - 0x2c4]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1000bf50
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000c040
cmp dword [ebp - 0x290], 8
jb 0x10015c5a
push dword [ebp - 0x2a4]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2ac], 8
mov dword [ebp - 0x290], 7
mov dword [ebp - 0x294], 0
mov word [ebp - 0x2a4], ax
jb 0x10015c8b
push dword [ebp - 0x2c0]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x2ac], 7
mov dword [ebp - 0x2b0], 0
mov word [ebp - 0x2c0], ax
cmp dword [ebp - 0x2c8], 8
jb 0x10015cbc
push dword [ebp - 0x2dc]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2e4], 8
mov dword [ebp - 0x2c8], 7
mov dword [ebp - 0x2cc], 0
mov word [ebp - 0x2dc], ax
jb 0x10015ced
push dword [ebp - 0x2f8]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1c], eax
jne 0x10015d2c
mov dword [ebp - 0x24], eax
mov word [ebp - 0x34], ax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], 7
test eax, eax
je 0x10015e01
jmp 0x10015de6
lea eax, [ebp - 0x34]
push eax
push str.Install_Directory
lea ecx, [ebp - 0x1c]
call fcn.1000c120
test eax, eax
je 0x10015d55
cmp dword [ebp - 0x20], 8
jb 0x10015d4f
push dword [ebp - 0x34]
call esi
add esp, 4
mov byte [ebp - 4], 1
jmp 0x10015dcb
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x10015d41
push str.firefox.exe
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x314]
call fcn.100144f0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x10015d8a
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete bl
cmp dword [ebp - 0x300], 8
jb 0x10015dab
push dword [ebp - 0x314]
call esi
add esp, 4
test bl, bl
jne 0x10015e62
cmp dword [ebp - 0x20], 8
jb 0x10015dc1
push dword [ebp - 0x34]
call esi
add esp, 4
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
test eax, eax
je 0x10015df0
push eax
call ebx
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10015e01
push eax
call edi
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x288]
dec eax
mov dword [ebp - 0x284], eax
test ecx, ecx
je 0x10015e54
test eax, eax
js 0x10015e54
lea edx, [ebp - 0x78]
push edx
push 0
push 0
push 0
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x280]
push edx
push eax
push ecx
mov dword [ebp - 0x38], 0x103
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, dword [ebp - 0x288]
test eax, eax
mov eax, dword [ebp - 0x284]
je 0x10015bf1
xor edx, edx
mov word [ebp - 0x280], dx
jmp 0x10015bf1
mov ecx, dword [ebp - 0x28c]
add ecx, 4
lea eax, [ebp - 0x34]
cmp ecx, eax
je 0x10015e7c
push 0xffffffffffffffff
push 0
push eax
call fcn.100025e0
cmp dword [ebp - 0x20], 8
jb 0x10015e8a
push dword [ebp - 0x34]
call esi
add esp, 4
xor eax, eax
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
test eax, eax
je 0x10015eb3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10015ec4
push eax
call edi
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x288]
test eax, eax
je 0x10015ed1
push eax
call edi
mov bl, 1
jmp 0x10015ede
test ecx, ecx
je 0x10015edc
push ecx
call edi
xor bl, bl
cmp dword [ebp - 0x3c], 8
jb 0x10015eec
push dword [ebp - 0x50]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x58], 8
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
jb 0x10015f0e
push dword [ebp - 0x6c]
call esi
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10020d6c
mov esp, ebp
pop ebp
ret