Function at 0x43c9a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9b31
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x65afd4]
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, ecx
mov dword [ebp - 0x80], ebx
mov byte [ebp - 0x7c], 0
call fcn.0040cce6
mov ecx, eax
test ecx, ecx
je 0x43d446
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d450
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0x78], eax
push 2
push 0x627008
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0
call fcn.004020e5
mov esi, dword [ebp - 0x78]
mov ecx, dword [ebx]
push esi
push 0
push 0x116ef
call fcn.00417e80
or edi, 0xffffffff
mov dword [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jg 0x43ca77
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d457
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d457
push 0
push dword [ecx + 4]
call ebx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 4], 2
call fcn.0040cce6
mov ecx, eax
test ecx, ecx
je 0x43d45e
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d468
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
lea esi, [eax + 0x10]
mov dword [ebp - 0x8c], esi
push 0x20019
push str.SOFTWAREMozillaMozilla_Firefox
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.0042f890
test eax, eax
jne 0x43d3c0
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0x64
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push str.CurrentVersion
push dword [ebp - 0xa0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43d3c0
mov eax, dword [ebp - 0x78]
cmp eax, 1
je 0x43cb3d
cmp eax, 2
jne 0x43d3c0
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x43cb5e
test al, 1
jne 0x43d3c0
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x43cb64
jmp 0x43d3c0
xor eax, eax
mov word [ebp - 0x74], ax
lea edi, [ebp - 0x74]
lea ecx, [edi + 2]
nop word [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x43cb70
sub edi, ecx
sar edi, 1
jne 0x43cc24
cmp dword [esi - 0xc], 0
lea ecx, [esi - 0x10]
mov edi, dword [ecx]
je 0x43ccd2
cmp dword [ecx + 0xc], 0
lea edx, [ecx + 0xc]
jge 0x43cbb8
cmp dword [esi - 8], 0
jl 0x43d46f
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x43ccd2
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x43cbf1
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d479
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d479
push 0
push dword [edx + 4]
call ebx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d482
lock inc dword [edi + 0x14]
lea eax, [edi + 8]
lea esi, [eax + 0x10]
mov dword [ebp - 0x8c], esi
jmp 0x43ccd2
lea esi, [eax + 0x10]
mov dword [ebp - 0x8c], esi
jmp 0x43ccd2
mov eax, dword [esi - 0xc]
lea ebx, [ebp - 0x74]
sub ebx, esi
mov dword [ebp - 0x78], eax
sar ebx, 1
test edi, edi
js 0x43d48b
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x43cc5c
push edi
lea ecx, [ebp - 0x8c]
call fcn.00401fd8
mov esi, dword [ebp - 0x8c]
cmp ebx, dword [ebp - 0x78]
ja 0x43cca9
mov eax, dword [esi - 8]
lea ecx, [edi + edi]
lea edx, [esi + ebx*2]
test ecx, ecx
je 0x43ccba
test edx, edx
jne 0x43cc84
call fcn.005b0142
mov dword [eax], 0x16
call fcn.005b0069
jmp 0x43ccba
add eax, eax
cmp eax, ecx
jae 0x43cc9c
call fcn.005b0142
mov dword [eax], 0x22
call fcn.005b0069
jmp 0x43ccba
push ecx
push edx
push esi
call fcn.005acee0
add esp, 0xc
jmp 0x43ccba
push edi
lea eax, [ebp - 0x74]
push eax
push dword [esi - 8]
push esi
call fcn.004021b4
add esp, 0x10
cmp edi, dword [esi - 8]
jg 0x43d46f
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
cmp dword [esi - 0xc], 0
jle 0x43cd01
push 0x20
push esi
call fcn.005ac88e
add esp, 8
test eax, eax
je 0x43cd01
sub eax, esi
sar eax, 1
js 0x43cd01
push 0x64
push eax
lea ecx, [ebp - 0x8c]
call fcn.004324e0
mov esi, dword [ebp - 0x8c]
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0045e870
mov ecx, dword [ebp - 0x80]
push eax
push 0
push 0x1161b
mov byte [ebp - 4], 4
call fcn.0045dea0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.00439360
push 1
lea ecx, [ebp - 0x88]
call fcn.0045ea00
mov byte [ebp - 4], 5
lea edi, [eax + 4]
cmp byte [eax], 0
mov ecx, 0x627008
mov edx, 0x62f614
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 0x43cd60
sub ecx, dword [ebp - 0x78]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004020e5
push dword [edi]
mov eax, dword [ebp - 0x80]
push 0
push 0x116ef
mov ecx, dword [eax]
call fcn.00417e80
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov ecx, dword [ebp - 0x84]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43cdd3
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d495
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d495
push 0
push dword [edx + 4]
call ebx
mov byte [ebp - 4], 3
call fcn.0040cce6
mov ecx, eax
test ecx, ecx
je 0x43d49e
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d4a8
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
lea edi, [eax + 0x10]
mov dword [ebp - 0x84], edi
mov ebx, str.Firefox
mov byte [ebp - 4], 7
test ebx, 0xffff0000
jne 0x43ce31
movzx eax, bx
lea ecx, [ebp - 0x84]
push eax
call fcn.0040d540
mov edi, dword [ebp - 0x84]
jmp 0x43ced2
mov eax, dword [edi - 0xc]
sub ebx, edi
mov dword [ebp - 0x78], eax
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 7
sar ebx, 1
or eax, ecx
jge 0x43ce60
push 7
lea ecx, [ebp - 0x84]
call fcn.00401fd8
mov edi, dword [ebp - 0x84]
cmp ebx, dword [ebp - 0x78]
ja 0x43cea8
mov eax, dword [edi - 8]
lea ecx, [edi + ebx*2]
test ecx, ecx
jne 0x43ce81
call fcn.005b0142
mov dword [eax], 0x16
call fcn.005b0069
jmp 0x43cebb
add eax, eax
cmp eax, 0xe
jae 0x43ce9a
call fcn.005b0142
mov dword [eax], 0x22
call fcn.005b0069
jmp 0x43cebb
push 0xe
push ecx
push edi
call fcn.005acee0
add esp, 0xc
jmp 0x43cebb
push 7
push str.Firefox
push dword [edi - 8]
push edi
call fcn.004021b4
add esp, 0x10
cmp dword [edi - 8], 7
jl 0x43d46f
xor eax, eax
mov dword [edi - 0xc], 7
mov word [edi + 0xe], ax
mov eax, dword [ebp - 0x80]
push edi
mov byte [ebp - 4], 8
push dword [0x66559c]
mov ecx, dword [eax]
push 0x116b9
call fcn.00417e80
mov byte [ebp - 4], 3
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43cf35
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d4af
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d4af
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call ebx
jmp 0x43cf3b
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0045e870
mov ecx, dword [ebp - 0x80]
push eax
mov byte [ebp - 4], 9
push dword [0x66559c]
push 0x116b8
call fcn.0045dea0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.00439360
push 0
lea ecx, [ebp - 0x94]
call fcn.0045ea00
mov byte [ebp - 4], 0xa
mov edi, 0x627008
cmp byte [eax], 0
mov edx, 0x62f614
mov ecx, dword [0x66559c]
cmove edx, edi
mov dword [ebp - 0x84], ecx
mov ecx, edx
lea edi, [eax + 4]
lea eax, [ecx + 2]
mov dword [ebp - 0x78], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43cfa6
sub ecx, dword [ebp - 0x78]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004020e5
push dword [edi]
mov eax, dword [ebp - 0x80]
push dword [ebp - 0x84]
push 0x1177b
mov ecx, dword [eax]
call fcn.00417e80
mov byte [ebp - 4], 0xb
or eax, 0xffffffff
mov ecx, dword [ebp - 0x90]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43d01d
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d4b6
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d4b6
push 0
push dword [edx + 4]
call ebx
push 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.0045ea00
mov byte [ebp - 4], 0xc
lea edi, [eax + 4]
mov ecx, dword [0x66559c]
mov edx, 0x62f614
cmp byte [eax], 0
mov dword [ebp - 0x84], ecx
mov ecx, 0x627008
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 0x43d060
sub ecx, dword [ebp - 0x78]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004020e5
push dword [edi]
mov eax, dword [ebp - 0x80]
push dword [ebp - 0x84]
push 0x1177e
mov ecx, dword [eax]
call fcn.00417e80
mov byte [ebp - 4], 0xd
or eax, 0xffffffff
mov ecx, dword [ebp - 0x90]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43d0d7
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d4bf
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d4bf
push 0
push dword [edx + 4]
call ebx
push 0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.0045ea00
mov byte [ebp - 4], 0xe
lea edi, [eax + 4]
mov ecx, dword [0x66559c]
mov edx, 0x62f614
cmp byte [eax], 0
mov dword [ebp - 0x84], ecx
mov ecx, 0x627008
cmove edx, ecx
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x78], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d113
sub ecx, dword [ebp - 0x78]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004020e5
push dword [edi]
mov eax, dword [ebp - 0x80]
push dword [ebp - 0x84]
push 0x1177c
mov ecx, dword [eax]
call fcn.00417e80
mov byte [ebp - 4], 0xf
or eax, 0xffffffff
mov ecx, dword [ebp - 0x90]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43d18a
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d4c8
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d4c8
push 0
push dword [edx + 4]
call ebx
push 0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.0045ea00
mov byte [ebp - 4], 0x10
lea edi, [eax + 4]
mov ecx, dword [0x66559c]
mov edx, 0x62f614
cmp byte [eax], 0
mov dword [ebp - 0x84], ecx
mov ecx, 0x627008
cmove edx, ecx
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x78], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d1c6
sub ecx, dword [ebp - 0x78]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004020e5
push dword [edi]
mov eax, dword [ebp - 0x80]
push dword [ebp - 0x84]
push 0x11780
mov ecx, dword [eax]
call fcn.00417e80
mov byte [ebp - 4], 0x11
or eax, 0xffffffff
mov ecx, dword [ebp - 0x90]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43d23d
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d4d1
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d4d1
push 0
push dword [edx + 4]
call ebx
push 0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.0045ea00
mov byte [ebp - 4], 0x12
lea edi, [eax + 4]
mov ecx, dword [0x66559c]
mov edx, 0x62f614
cmp byte [eax], 0
mov dword [ebp - 0x84], ecx
mov ecx, 0x627008
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 0x43d280
sub ecx, dword [ebp - 0x78]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004020e5
push dword [edi]
mov eax, dword [ebp - 0x80]
push dword [ebp - 0x84]
push 0x1177f
mov ecx, dword [eax]
call fcn.00417e80
mov byte [ebp - 4], 0x13
or eax, 0xffffffff
mov ecx, dword [ebp - 0x90]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43d2f7
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d4da
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d4da
push 0
push dword [edx + 4]
call ebx
push 0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.0045ea00
mov byte [ebp - 4], 0x14
mov edi, 0x627008
cmp byte [eax], 0
mov ecx, 0x62f614
mov ebx, dword [0x66559c]
cmove ecx, edi
lea edi, [eax + 4]
mov edx, ecx
mov dword [ebp - 0x78], ecx
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x43d330
sub edx, ecx
mov ecx, edi
sar edx, 1
push edx
push dword [ebp - 0x78]
call fcn.004020e5
push dword [edi]
mov eax, dword [ebp - 0x80]
push ebx
push 0x1177d
mov ecx, dword [eax]
call fcn.00417e80
mov byte [ebp - 4], 0x15
or edi, 0xffffffff
mov ecx, dword [ebp - 0x90]
mov eax, edi
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43d3b0
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d4e3
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d4e3
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [edx + 4]
call ebx
or edi, 0xffffffff
jmp 0x43d3b6
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 3
inc dword [0x66559c]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x43d3fe
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d4ef
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d4ef
push 0
push dword [ecx + 4]
call ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x43d420
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 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.005a8a56
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004022df
call edx
jmp 0x43c9fd
call edx
jmp 0x43ca77
push 0x80004005
call fcn.004022df
call edx
jmp 0x43cac9
push 0x80070057
call fcn.004022df
mov ecx, edx
call esi
jmp 0x43cbf1
mov ecx, edi
call edx
jmp 0x43cc16
push 0x80070057
call fcn.004022df
mov ecx, edx
call edi
jmp 0x43cdd3
push 0x80004005
call fcn.004022df
call edx
jmp 0x43cdfd
call edx
jmp 0x43cf35
mov ecx, edx
call edi
jmp 0x43d01d
mov ecx, edx
call edi
jmp 0x43d0d7
mov ecx, edx
call edi
jmp 0x43d18a
mov ecx, edx
call edi
jmp 0x43d23d
mov ecx, edx
call edi
jmp 0x43d2f7
mov ecx, edx
call edi
or edi, 0xffffffff
jmp 0x43d3b0
call edx
jmp 0x43d3fe