Function at 0x439e70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526de3
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x58e5a4]
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 - 0x440], ebx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x444], 0
movq qword [ebp - 0xa8], xmm0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa8]
mov eax, dword [ebx]
push 1
push edi
push dword [eax]
call fcn.0041d0c0
mov esi, dword [ebp - 0xa8]
test esi, esi
je 0x43a15d
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 0x43a152
cmp dword [ebp - 0x94], 3
jne 0x43a152
push str.ProtocolName
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0xc4]
call fcn.00436d80
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x9c], xmm0
call fcn.0040d800
add esp, 8
mov byte [ebp - 4], 2
xor edx, edx
mov eax, dword [ebx + 4]
mov ecx, 2
mov esi, dword [ebp - 0x9c]
cmp byte [eax], dl
cmovne ecx, edx
or ecx, 0x40800
mov dword [esi + 0xd0], ecx
cmp dword [ebp - 0xb4], edx
jne 0x439fc3
push edi
lea ecx, [ebp - 0x474]
call fcn.004082e0
mov ebx, 1
jmp 0x439fda
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x45c]
call fcn.0041b5a0
mov ebx, 2
push eax
mov ecx, esi
call fcn.0040bfb0
test bl, 2
je 0x439ff5
lea ecx, [ebp - 0x45c]
and ebx, 0xfffffffd
call fcn.00409020
mov dword [ebp - 4], 2
test bl, 1
je 0x43a00c
lea ecx, [ebp - 0x474]
call fcn.00409020
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x94]
call fcn.0042a570
mov byte [ebp - 4], 4
mov edx, dword [eax]
mov ecx, edx
mov ebx, dword [ebp - 0x9c]
lea edi, [ecx + 2]
lea esi, [ebx + 0x60]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a032
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00408af0
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov edx, dword [ebp - 0x94]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a06e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebx + 0x48]
cmp eax, esi
je 0x43a089
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x43a080
mov esi, dword [esi]
push ecx
push esi
mov ecx, eax
call fcn.00408af0
push 0x40
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x324]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea edx, [ebp - 0x90]
lea ecx, [ebx + 0xb4]
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x43a0b0
sub edx, esi
lea eax, [ebp - 0x90]
sar edx, 1
push edx
push eax
call fcn.00408af0
lea eax, [ebx + 0x48]
push eax
call fcn.00436910
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 0x43a0f5
lock inc dword [eax + 4]
xor ecx, ecx
mov dword [esi], ebx
mov dword [esi + 4], eax
call fcn.0042e240
mov ecx, dword [ebp - 0x440]
lea eax, [ebp - 0x9c]
add esp, 8
mov ecx, dword [ecx + 8]
push eax
call fcn.0040bbe0
mov esi, dword [ebp - 0x98]
test esi, esi
je 0x43a141
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x43a141
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x43a141
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0xc4]
call fcn.00409020
mov esi, dword [ebp - 0xa8]
test esi, esi
je 0x43a15d
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
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret 8