Function at 0x43c810
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da231
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x65bfd4]
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.0040cb60
mov ecx, eax
test ecx, ecx
je 0x43d2b6
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d2c0
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0x78], eax
push 2
push 0x6270f8
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.00417de0
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 0x43c8e7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d2c7
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d2c7
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.0040cb60
mov ecx, eax
test ecx, ecx
je 0x43d2ce
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d2d8
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.0042fb10
test eax, eax
jne 0x43d230
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 0x43d230
mov eax, dword [ebp - 0x78]
cmp eax, 1
je 0x43c9ad
cmp eax, 2
jne 0x43d230
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x43c9ce
test al, 1
jne 0x43d230
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x43c9d4
jmp 0x43d230
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 0x43c9e0
sub edi, ecx
sar edi, 1
jne 0x43ca94
cmp dword [esi - 0xc], 0
lea ecx, [esi - 0x10]
mov edi, dword [ecx]
je 0x43cb42
cmp dword [ecx + 0xc], 0
lea edx, [ecx + 0xc]
jge 0x43ca28
cmp dword [esi - 8], 0
jl 0x43d2df
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x43cb42
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x43ca61
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d2e9
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d2e9
push 0
push dword [edx + 4]
call ebx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d2f2
lock inc dword [edi + 0x14]
lea eax, [edi + 8]
lea esi, [eax + 0x10]
mov dword [ebp - 0x8c], esi
jmp 0x43cb42
lea esi, [eax + 0x10]
mov dword [ebp - 0x8c], esi
jmp 0x43cb42
mov eax, dword [esi - 0xc]
lea ebx, [ebp - 0x74]
sub ebx, esi
mov dword [ebp - 0x78], eax
sar ebx, 1
test edi, edi
js 0x43d2fb
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x43cacc
push edi
lea ecx, [ebp - 0x8c]
call fcn.00401fd8
mov esi, dword [ebp - 0x8c]
cmp ebx, dword [ebp - 0x78]
ja 0x43cb19
mov eax, dword [esi - 8]
lea ecx, [edi + edi]
lea edx, [esi + ebx*2]
test ecx, ecx
je 0x43cb2a
test edx, edx
jne 0x43caf4
call fcn.005b0782
mov dword [eax], 0x16
call fcn.005b06a9
jmp 0x43cb2a
add eax, eax
cmp eax, ecx
jae 0x43cb0c
call fcn.005b0782
mov dword [eax], 0x22
call fcn.005b06a9
jmp 0x43cb2a
push ecx
push edx
push esi
call fcn.005ad520
add esp, 0xc
jmp 0x43cb2a
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 0x43d2df
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 0x43cb71
push 0x20
push esi
call fcn.005acece
add esp, 8
test eax, eax
je 0x43cb71
sub eax, esi
sar eax, 1
js 0x43cb71
push 0x64
push eax
lea ecx, [ebp - 0x8c]
call fcn.00432340
mov esi, dword [ebp - 0x8c]
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0045ed80
mov ecx, dword [ebp - 0x80]
push eax
push 0
push 0x1161b
mov byte [ebp - 4], 4
call fcn.0045e3b0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.004391d0
push 1
lea ecx, [ebp - 0x88]
call fcn.0045ef10
mov byte [ebp - 4], 5
lea edi, [eax + 4]
cmp byte [eax], 0
mov ecx, 0x6270f8
mov edx, 0x62f994
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 0x43cbd0
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.00417de0
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 0x43cc43
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d305
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d305
push 0
push dword [edx + 4]
call ebx
mov byte [ebp - 4], 3
call fcn.0040cb60
mov ecx, eax
test ecx, ecx
je 0x43d30e
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d318
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 0x43cca1
movzx eax, bx
lea ecx, [ebp - 0x84]
push eax
call fcn.0040d3d0
mov edi, dword [ebp - 0x84]
jmp 0x43cd42
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 0x43ccd0
push 7
lea ecx, [ebp - 0x84]
call fcn.00401fd8
mov edi, dword [ebp - 0x84]
cmp ebx, dword [ebp - 0x78]
ja 0x43cd18
mov eax, dword [edi - 8]
lea ecx, [edi + ebx*2]
test ecx, ecx
jne 0x43ccf1
call fcn.005b0782
mov dword [eax], 0x16
call fcn.005b06a9
jmp 0x43cd2b
add eax, eax
cmp eax, 0xe
jae 0x43cd0a
call fcn.005b0782
mov dword [eax], 0x22
call fcn.005b06a9
jmp 0x43cd2b
push 0xe
push ecx
push edi
call fcn.005ad520
add esp, 0xc
jmp 0x43cd2b
push 7
push str.Firefox
push dword [edi - 8]
push edi
call fcn.004021b4
add esp, 0x10
cmp dword [edi - 8], 7
jl 0x43d2df
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 [0x6665b4]
mov ecx, dword [eax]
push 0x116b9
call fcn.00417de0
mov byte [ebp - 4], 3
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43cda5
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d31f
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d31f
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call ebx
jmp 0x43cdab
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0045ed80
mov ecx, dword [ebp - 0x80]
push eax
mov byte [ebp - 4], 9
push dword [0x6665b4]
push 0x116b8
call fcn.0045e3b0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.004391d0
push 0
lea ecx, [ebp - 0x94]
call fcn.0045ef10
mov byte [ebp - 4], 0xa
mov edi, 0x6270f8
cmp byte [eax], 0
mov edx, 0x62f994
mov ecx, dword [0x6665b4]
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 0x43ce16
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.00417de0
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 0x43ce8d
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d326
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d326
push 0
push dword [edx + 4]
call ebx
push 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.0045ef10
mov byte [ebp - 4], 0xc
lea edi, [eax + 4]
mov ecx, dword [0x6665b4]
mov edx, 0x62f994
cmp byte [eax], 0
mov dword [ebp - 0x84], ecx
mov ecx, 0x6270f8
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 0x43ced0
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.00417de0
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 0x43cf47
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d32f
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d32f
push 0
push dword [edx + 4]
call ebx
push 0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.0045ef10
mov byte [ebp - 4], 0xe
lea edi, [eax + 4]
mov ecx, dword [0x6665b4]
mov edx, 0x62f994
cmp byte [eax], 0
mov dword [ebp - 0x84], ecx
mov ecx, 0x6270f8
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 0x43cf83
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.00417de0
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 0x43cffa
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d338
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d338
push 0
push dword [edx + 4]
call ebx
push 0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.0045ef10
mov byte [ebp - 4], 0x10
lea edi, [eax + 4]
mov ecx, dword [0x6665b4]
mov edx, 0x62f994
cmp byte [eax], 0
mov dword [ebp - 0x84], ecx
mov ecx, 0x6270f8
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 0x43d036
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.00417de0
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 0x43d0ad
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d341
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d341
push 0
push dword [edx + 4]
call ebx
push 0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.0045ef10
mov byte [ebp - 4], 0x12
lea edi, [eax + 4]
mov ecx, dword [0x6665b4]
mov edx, 0x62f994
cmp byte [eax], 0
mov dword [ebp - 0x84], ecx
mov ecx, 0x6270f8
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 0x43d0f0
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.00417de0
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 0x43d167
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d34a
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d34a
push 0
push dword [edx + 4]
call ebx
push 0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.0045ef10
mov byte [ebp - 4], 0x14
mov edi, 0x6270f8
cmp byte [eax], 0
mov ecx, 0x62f994
mov ebx, dword [0x6665b4]
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 0x43d1a0
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.00417de0
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 0x43d220
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d353
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d353
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [edx + 4]
call ebx
or edi, 0xffffffff
jmp 0x43d226
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 3
inc dword [0x6665b4]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x43d26e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43d35f
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43d35f
push 0
push dword [ecx + 4]
call ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x43d290
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.005a909b
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004022df
call edx
jmp 0x43c86d
call edx
jmp 0x43c8e7
push 0x80004005
call fcn.004022df
call edx
jmp 0x43c939
push 0x80070057
call fcn.004022df
mov ecx, edx
call esi
jmp 0x43ca61
mov ecx, edi
call edx
jmp 0x43ca86
push 0x80070057
call fcn.004022df
mov ecx, edx
call edi
jmp 0x43cc43
push 0x80004005
call fcn.004022df
call edx
jmp 0x43cc6d
call edx
jmp 0x43cda5
mov ecx, edx
call edi
jmp 0x43ce8d
mov ecx, edx
call edi
jmp 0x43cf47
mov ecx, edx
call edi
jmp 0x43cffa
mov ecx, edx
call edi
jmp 0x43d0ad
mov ecx, edx
call edi
jmp 0x43d167
mov ecx, edx
call edi
or edi, 0xffffffff
jmp 0x43d220
call edx
jmp 0x43d26e