Function at 0x422fc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5643
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x4e54fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x444], edi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x448], 0
movq qword [ebp - 0xa8], xmm0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x440], eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
push 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa8]
push eax
mov eax, dword [edi]
push dword [eax]
call fcn.0040f7a0
mov esi, dword [ebp - 0xa8]
test esi, esi
je 0x423306
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], 0x378
push eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x94]
push eax
push 0
push str.PackedCatalogItem
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4232fb
cmp dword [ebp - 0x94], 3
jne 0x4232fb
push str.ProtocolName
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0xc4]
call fcn.00421810
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x9c], xmm0
call fcn.00405980
add esp, 8
mov byte [ebp - 4], 2
xor edx, edx
mov eax, dword [edi + 4]
mov ecx, 2
mov edi, dword [ebp - 0x9c]
cmp byte [eax], dl
cmovne ecx, edx
or ecx, 0x40800
mov dword [edi + 0xd0], ecx
cmp dword [ebp - 0xb4], edx
jne 0x42311f
push dword [ebp - 0x440]
lea ecx, [ebp - 0x478]
call fcn.004026f0
mov esi, eax
mov eax, 1
jmp 0x423138
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x460]
call fcn.0040f130
mov esi, eax
mov eax, 2
mov dword [ebp - 0x94], eax
cmp edi, esi
je 0x42316c
mov ecx, edi
call fcn.00402b30
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, dword [ebp - 0x94]
test al, 2
je 0x423190
and eax, 0xfffffffd
lea ecx, [ebp - 0x460]
mov dword [ebp - 0x94], eax
call fcn.00402b30
mov eax, dword [ebp - 0x94]
mov dword [ebp - 4], 2
test al, 1
je 0x4231a6
lea ecx, [ebp - 0x478]
call fcn.00402b30
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x94]
call fcn.00419690
mov byte [ebp - 4], 4
lea esi, [edi + 0x60]
mov edx, dword [eax]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x440], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4231d0
sub ecx, dword [ebp - 0x440]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00402740
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x94]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42320e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [edi + 0x48]
cmp eax, esi
je 0x423229
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x423220
mov esi, dword [esi]
push ecx
push esi
mov ecx, eax
call fcn.00402740
push 0x40
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x324]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423250
sub ecx, edx
lea eax, [ebp - 0x90]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0xb4]
call fcn.00402740
lea eax, [edi + 0x48]
push eax
call fcn.00421440
mov eax, dword [ebp - 0x98]
xor dl, dl
push ecx
mov esi, esp
mov dword [esi], 0
mov dword [esi + 4], 0
test eax, eax
je 0x42329b
lock inc dword [eax + 4]
xor ecx, ecx
mov dword [esi], edi
mov dword [esi + 4], eax
call fcn.0041bea0
mov ecx, dword [ebp - 0x444]
lea eax, [ebp - 0x9c]
add esp, 8
mov ecx, dword [ecx + 8]
push eax
call fcn.00404d60
mov esi, dword [ebp - 0x98]
test esi, esi
je 0x4232ea
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4232ea
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4232ea
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0xc4]
call fcn.00402b30
mov esi, dword [ebp - 0xa8]
test esi, esi
je 0x423306
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret 8