Function at 0x419eb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47cd7c
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x4ade78]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0
push 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_firefox.exe
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], 0
call fcn.0041c100
test eax, eax
je 0x41a0e3
call fcn.0041c3c0
test al, al
jne 0x419f54
mov esi, 1
mov eax, esi
mov edx, 0x6b
dec edx
lea ecx, [eax + esi]
lea esi, [eax]
mov eax, ecx
jns 0x419f44
mov dword [0x4af2c0], ecx
lea eax, [ebp - 0x414]
push eax
call fcn.00411900
add esp, 4
mov byte [ebp - 4], 1
call fcn.0041c390
test al, al
jne 0x419f94
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
xor edx, edx
mov ecx, 0x256ac39c
div ecx
mov esi, edx
call edi
mov ecx, eax
mov eax, esi
xor edx, edx
div ecx
lea esi, [edx - 1]
test esi, esi
jg 0x419f83
mov eax, dword [ebp - 0x414]
or esi, 0xffffffff
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x41a098
lea edx, [ecx - 1]
test edx, edx
js 0x41a0d9
cmp edx, ecx
jg 0x41a0d9
mov al, byte [edx + eax]
cmp al, 0x5c
je 0x419fd4
push 1
push 0x4918d4
lea ecx, [ebp - 0x414]
call fcn.004035a0
push str.Mozilla_Firefox_firefox.exe
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00402d20
lea eax, [ebp - 0x418]
push eax
mov byte [ebp - 4], 2
call fcn.00411570
add esp, 0x10
test al, al
je 0x41a075
mov eax, dword [ebp - 0x418]
add eax, 0xfffffff0
push eax
call fcn.00403ee0
mov edx, dword [ebp - 0x418]
add eax, 0x10
add edx, 0xfffffff0
or esi, 0xffffffff
mov dword [ebx], eax
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41a040
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x414]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x41a061
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x41a1fd
push eax
jmp 0x41a1f7
mov edx, dword [ebp - 0x418]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a098
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x490f70
mov ecx, ebx
call fcn.00401b30
mov edx, dword [ebp - 0x414]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x41a0c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x41a1fd
push eax
jmp 0x41a1f7
push 0x80070057
call fcn.00403930
push 0x3ff
lea eax, [ebp - 0x40f]
push 0
push eax
mov byte [ebp - 0x410], 0
call fcn.00462e00
mov eax, dword [0x4adbb8]
add esp, 0xc
mov ecx, 0x4adbb8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x414], esi
mov edi, dword [ebp - 0x424]
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push 0x490f70
push edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x418], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41a1a9
mov eax, dword [ebp - 0x428]
cmp eax, 1
je 0x41a161
cmp eax, 2
jne 0x41a1a9
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x41a177
cmp byte [ebp + eax - 0x411], 0
je 0x41a17e
jmp 0x41a1a9
mov byte [ebp - 0x410], 0
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a187
sub ecx, edx
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x414]
call fcn.00408620
mov esi, dword [ebp - 0x414]
test edi, edi
je 0x41a1bc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x424], edi
add esi, 0xfffffff0
push esi
mov dword [ebp - 0x420], 0
call fcn.00403ee0
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a1f2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x41a1fd
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
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.00461234
mov esp, ebp
pop ebp
ret