Function at 0x444320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ee659
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x677010]
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 edi, ecx
mov dword [ebp - 0x84], edi
mov byte [ebp - 0x7c], 0
call fcn.0040cc25
mov ecx, eax
test ecx, ecx
jne 0x44436f
push 0x80004005
call fcn.004022e2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x444384
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x444386
call edx
add eax, 0x10
mov dword [ebp - 0x78], eax
push 2
push 0x63bd78
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0
call fcn.004020e3
mov esi, dword [ebp - 0x78]
mov ecx, dword [edi]
push esi
push 0
push 0x116ef
call fcn.0041aa40
or ebx, 0xffffffff
mov dword [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4443fa
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4443f8
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4443f8
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4443fa
call edx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 4], 2
call fcn.0040cc25
mov ecx, eax
test ecx, ecx
jne 0x44443b
push 0x80004005
call fcn.004022e2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x444450
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x444452
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x80], esi
push 0x20019
push str.SOFTWAREMozillaMozilla_Firefox
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.00436690
test eax, eax
jne 0x4447ae
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], 0x64
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push str.CurrentVersion
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4447ae
mov eax, dword [ebp - 0x78]
cmp eax, 1
je 0x4444c3
cmp eax, 2
jne 0x4447ae
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x4444e4
test al, 1
jne 0x4447ae
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x4444ea
jmp 0x4447ae
xor eax, eax
mov word [ebp - 0x74], ax
lea edi, [ebp - 0x74]
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4444f0
sub edi, ecx
sar edi, 1
jne 0x4445a5
cmp dword [esi - 0xc], 0
lea ecx, [esi - 0x10]
mov edi, dword [ecx]
je 0x44464d
cmp dword [ecx + 0xc], 0
lea edx, [ecx + 0xc]
jge 0x44453e
cmp dword [esi - 8], 0
jge 0x44452d
push 0x80070057
call fcn.004022e2
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x44464d
mov eax, ebx
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x444578
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x444574
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x444574
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x444578
mov ecx, edx
call esi
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x444596
lock inc dword [edi + 0x14]
lea eax, [edi + 8]
lea esi, [eax + 0x10]
mov dword [ebp - 0x80], esi
jmp 0x44464d
mov ecx, edi
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x80], esi
jmp 0x44464d
mov eax, dword [esi - 0xc]
lea ebx, [ebp - 0x74]
sub ebx, esi
mov dword [ebp - 0x78], eax
sar ebx, 1
test edi, edi
jns 0x4445c0
push 0x80070057
call fcn.004022e2
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4445dd
push edi
lea ecx, [ebp - 0x80]
call fcn.00401fda
mov esi, dword [ebp - 0x80]
cmp ebx, dword [ebp - 0x78]
ja 0x44462a
mov eax, dword [esi - 8]
lea ecx, [edi + edi]
lea edx, [esi + ebx*2]
test ecx, ecx
je 0x44463b
test edx, edx
jne 0x444605
call fcn.005c3fdd
mov dword [eax], 0x16
call fcn.005c3f04
jmp 0x44463b
add eax, eax
cmp eax, ecx
jae 0x44461d
call fcn.005c3fdd
mov dword [eax], 0x22
call fcn.005c3f04
jmp 0x44463b
push ecx
push edx
push esi
call fcn.005bfc60
add esp, 0xc
jmp 0x44463b
push edi
lea eax, [ebp - 0x74]
push eax
push dword [esi - 8]
push esi
call fcn.004021b7
add esp, 0x10
cmp edi, dword [esi - 8]
jg 0x444523
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
cmp dword [esi - 0xc], 0
jle 0x444676
push 0x20
push esi
call fcn.005c078c
add esp, 8
test eax, eax
je 0x444676
sub eax, esi
sar eax, 1
js 0x444676
push 0x64
push eax
lea ecx, [ebp - 0x80]
call fcn.00438dc0
mov esi, dword [ebp - 0x80]
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004736f0
lea edi, [eax + 4]
mov byte [ebp - 4], 4
push eax
mov ecx, edi
call fcn.00410610
push ecx
push 0x2c
mov ecx, edi
call fcn.004697c0
push dword [edi]
mov edi, dword [ebp - 0x84]
push 0
push 0x1161b
mov ecx, dword [edi]
call fcn.0041aa40
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.00442750
push 1
lea ecx, [ebp - 0x8c]
call fcn.00473610
mov byte [ebp - 4], 5
lea ebx, [eax + 4]
cmp byte [eax], 0
mov ecx, 0x63bd78
mov edx, 0x644174
cmove edx, ecx
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x78], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4446f0
sub ecx, dword [ebp - 0x78]
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.004020e3
push dword [ebx]
mov ecx, dword [edi]
push 0
push 0x116ef
call fcn.0041aa40
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 3
call fcn.00473660
push str.Firefox
lea ecx, [ebp - 0x78]
call fcn.0040d2b0
mov byte [ebp - 4], 6
push dword [eax]
mov ecx, dword [edi]
push dword [0x683384]
push 0x116b9
call fcn.0041aa40
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.0040d260
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004736f0
lea edi, [eax + 4]
mov byte [ebp - 4], 7
mov ebx, dword [0x683384]
mov ecx, edi
push eax
call fcn.00410610
push ecx
push 0x2c
mov ecx, edi
call fcn.004697c0
push dword [edi]
mov edi, dword [ebp - 0x84]
push ebx
push 0x116b8
mov ecx, dword [edi]
call fcn.0041aa40
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.00442750
inc dword [0x683384]
or ebx, 0xffffffff
mov eax, dword [0x6834c8]
cmp dword [eax - 0xc], 0
jl 0x4448fa
push str.firefox
push eax
call fcn.005c01d4
add esp, 8
test eax, eax
je 0x4448fa
sub eax, dword [0x6834c8]
sar eax, 1
js 0x4448fa
push str.Firefox
lea ecx, [ebp - 0x78]
call fcn.0040d2b0
mov byte [ebp - 4], 8
push dword [eax]
mov ecx, dword [edi]
push 0
push 0x11717
call fcn.0041aa40
mov byte [ebp - 4], 3
mov eax, ebx
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x444847
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x444843
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x444843
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x444847
mov ecx, edx
call edi
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x8c]
call fcn.004736f0
lea edi, [eax + 4]
mov byte [ebp - 4], 9
push eax
mov ecx, edi
call fcn.00410610
push ecx
push 0x2c
mov ecx, edi
call fcn.004697c0
push dword [edi]
mov edi, dword [ebp - 0x84]
push 0
push 0x11724
mov ecx, dword [edi]
call fcn.0041aa40
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 3
call fcn.00442750
mov byte [ebp - 0x7c], 1
call fcn.0040cc25
mov ecx, eax
test ecx, ecx
jne 0x4448ad
push 0x80004005
call fcn.004022e2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4448c2
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4448c4
call edx
add eax, 0x10
mov dword [ebp - 0x78], eax
push 3
push 0x644174
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
call fcn.004020e3
push dword [ebp - 0x78]
mov ecx, dword [edi]
push 0
push 0x1171b
call fcn.0041aa40
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.00473660
mov byte [ebp - 4], 2
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x444938
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x444936
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x444936
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x444938
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x44495a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
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.005bc745
mov esp, ebp
pop ebp
ret