Function at 0x43c570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8c31
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x659fd4]
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 0x43d016
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d020
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0x78], eax
push 2
push 0x625fe8
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 0x43c647
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d027
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d027
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 0x43d02e
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d038
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 0x43cf90
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 0x43cf90
mov eax, dword [ebp - 0x78]
cmp eax, 1
je 0x43c70d
cmp eax, 2
jne 0x43cf90
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x43c72e
test al, 1
jne 0x43cf90
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x43c734
jmp 0x43cf90
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 0x43c740
sub edi, ecx
sar edi, 1
jne 0x43c7f4
cmp dword [esi - 0xc], 0
lea ecx, [esi - 0x10]
mov edi, dword [ecx]
je 0x43c8a2
cmp dword [ecx + 0xc], 0
lea edx, [ecx + 0xc]
jge 0x43c788
cmp dword [esi - 8], 0
jl 0x43d03f
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x43c8a2
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x43c7c1
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d049
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d049
push 0
push dword [edx + 4]
call ebx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d052
lock inc dword [edi + 0x14]
lea eax, [edi + 8]
lea esi, [eax + 0x10]
mov dword [ebp - 0x8c], esi
jmp 0x43c8a2
lea esi, [eax + 0x10]
mov dword [ebp - 0x8c], esi
jmp 0x43c8a2
mov eax, dword [esi - 0xc]
lea ebx, [ebp - 0x74]
sub ebx, esi
mov dword [ebp - 0x78], eax
sar ebx, 1
test edi, edi
js 0x43d05b
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x43c82c
push edi
lea ecx, [ebp - 0x8c]
call fcn.00401fd8
mov esi, dword [ebp - 0x8c]
cmp ebx, dword [ebp - 0x78]
ja 0x43c879
mov eax, dword [esi - 8]
lea ecx, [edi + edi]
lea edx, [esi + ebx*2]
test ecx, ecx
je 0x43c88a
test edx, edx
jne 0x43c854
call fcn.005af242
mov dword [eax], 0x16
call fcn.005af169
jmp 0x43c88a
add eax, eax
cmp eax, ecx
jae 0x43c86c
call fcn.005af242
mov dword [eax], 0x22
call fcn.005af169
jmp 0x43c88a
push ecx
push edx
push esi
call fcn.005abfe0
add esp, 0xc
jmp 0x43c88a
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 0x43d03f
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 0x43c8d1
push 0x20
push esi
call fcn.005ab98e
add esp, 8
test eax, eax
je 0x43c8d1
sub eax, esi
sar eax, 1
js 0x43c8d1
push 0x64
push eax
lea ecx, [ebp - 0x8c]
call fcn.004320c0
mov esi, dword [ebp - 0x8c]
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0045d980
mov ecx, dword [ebp - 0x80]
push eax
push 0
push 0x1161b
mov byte [ebp - 4], 4
call fcn.0045cfb0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.00438f40
push 1
lea ecx, [ebp - 0x88]
call fcn.0045db10
mov byte [ebp - 4], 5
lea edi, [eax + 4]
cmp byte [eax], 0
mov ecx, 0x625fe8
mov edx, 0x62e4b0
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 0x43c930
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 0x43c9a3
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d065
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d065
push 0
push dword [edx + 4]
call ebx
mov byte [ebp - 4], 3
call fcn.0040cce6
mov ecx, eax
test ecx, ecx
je 0x43d06e
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d078
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 0x43ca01
movzx eax, bx
lea ecx, [ebp - 0x84]
push eax
call fcn.0040d540
mov edi, dword [ebp - 0x84]
jmp 0x43caa2
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 0x43ca30
push 7
lea ecx, [ebp - 0x84]
call fcn.00401fd8
mov edi, dword [ebp - 0x84]
cmp ebx, dword [ebp - 0x78]
ja 0x43ca78
mov eax, dword [edi - 8]
lea ecx, [edi + ebx*2]
test ecx, ecx
jne 0x43ca51
call fcn.005af242
mov dword [eax], 0x16
call fcn.005af169
jmp 0x43ca8b
add eax, eax
cmp eax, 0xe
jae 0x43ca6a
call fcn.005af242
mov dword [eax], 0x22
call fcn.005af169
jmp 0x43ca8b
push 0xe
push ecx
push edi
call fcn.005abfe0
add esp, 0xc
jmp 0x43ca8b
push 7
push str.Firefox
push dword [edi - 8]
push edi
call fcn.004021b4
add esp, 0x10
cmp dword [edi - 8], 7
jl 0x43d03f
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 [0x66459c]
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 0x43cb05
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d07f
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d07f
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call ebx
jmp 0x43cb0b
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0045d980
mov ecx, dword [ebp - 0x80]
push eax
mov byte [ebp - 4], 9
push dword [0x66459c]
push 0x116b8
call fcn.0045cfb0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.00438f40
push 0
lea ecx, [ebp - 0x94]
call fcn.0045db10
mov byte [ebp - 4], 0xa
mov edi, 0x625fe8
cmp byte [eax], 0
mov edx, 0x62e4b0
mov ecx, dword [0x66459c]
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 0x43cb76
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 0x43cbed
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d086
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d086
push 0
push dword [edx + 4]
call ebx
push 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.0045db10
mov byte [ebp - 4], 0xc
lea edi, [eax + 4]
mov ecx, dword [0x66459c]
mov edx, 0x62e4b0
cmp byte [eax], 0
mov dword [ebp - 0x84], ecx
mov ecx, 0x625fe8
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 0x43cc30
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 0x43cca7
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d08f
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d08f
push 0
push dword [edx + 4]
call ebx
push 0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.0045db10
mov byte [ebp - 4], 0xe
lea edi, [eax + 4]
mov ecx, dword [0x66459c]
mov edx, 0x62e4b0
cmp byte [eax], 0
mov dword [ebp - 0x84], ecx
mov ecx, 0x625fe8
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 0x43cce3
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 0x43cd5a
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d098
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d098
push 0
push dword [edx + 4]
call ebx
push 0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.0045db10
mov byte [ebp - 4], 0x10
lea edi, [eax + 4]
mov ecx, dword [0x66459c]
mov edx, 0x62e4b0
cmp byte [eax], 0
mov dword [ebp - 0x84], ecx
mov ecx, 0x625fe8
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 0x43cd96
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 0x43ce0d
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d0a1
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d0a1
push 0
push dword [edx + 4]
call ebx
push 0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.0045db10
mov byte [ebp - 4], 0x12
lea edi, [eax + 4]
mov ecx, dword [0x66459c]
mov edx, 0x62e4b0
cmp byte [eax], 0
mov dword [ebp - 0x84], ecx
mov ecx, 0x625fe8
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 0x43ce50
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 0x43cec7
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d0aa
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d0aa
push 0
push dword [edx + 4]
call ebx
push 0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.0045db10
mov byte [ebp - 4], 0x14
mov edi, 0x625fe8
cmp byte [eax], 0
mov ecx, 0x62e4b0
mov ebx, dword [0x66459c]
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 0x43cf00
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 0x43cf80
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d0b3
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d0b3
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [edx + 4]
call ebx
or edi, 0xffffffff
jmp 0x43cf86
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 3
inc dword [0x66459c]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x43cfce
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d0bf
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d0bf
push 0
push dword [ecx + 4]
call ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x43cff0
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.005a7b5f
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004022df
call edx
jmp 0x43c5cd
call edx
jmp 0x43c647
push 0x80004005
call fcn.004022df
call edx
jmp 0x43c699
push 0x80070057
call fcn.004022df
mov ecx, edx
call esi
jmp 0x43c7c1
mov ecx, edi
call edx
jmp 0x43c7e6
push 0x80070057
call fcn.004022df
mov ecx, edx
call edi
jmp 0x43c9a3
push 0x80004005
call fcn.004022df
call edx
jmp 0x43c9cd
call edx
jmp 0x43cb05
mov ecx, edx
call edi
jmp 0x43cbed
mov ecx, edx
call edi
jmp 0x43cca7
mov ecx, edx
call edi
jmp 0x43cd5a
mov ecx, edx
call edi
jmp 0x43ce0d
mov ecx, edx
call edi
jmp 0x43cec7
mov ecx, edx
call edi
or edi, 0xffffffff
jmp 0x43cf80
call edx
jmp 0x43cfce