Function at 0x4e32c0
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52a056
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ecx
mov eax, 0x195c
call fcn.00517a50
mov eax, dword [0x56617c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18d0], edi
movups xmm0, xmmword [0x52d8e0]
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x884]
push eax
push 0x52f7a4
push 3
push 0
push 0x549f80
mov dword [ebp - 0x18c8], edi
mov dword [ebp - 0x884], 0
mov dword [ebp - 0x880], 0
mov dword [ebp - 0x87c], 0
movups xmmword [ebp - 0x850], xmm0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x840], xmm0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4e3cf6
push 0
push 0
mov eax, dword [ebp - 0x884]
lea edx, [ebp - 0x850]
push edx
push 1
push 0
mov ecx, dword [eax]
lea edx, [ebp - 0x880]
push 0
push 0
push 0
push esi
push dword [ebx + 0xc]
push 1
push 0x200001
push 1
push 0
push edx
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x4e3d0d
mov eax, dword [ebp - 0x880]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x880]
lea edx, [ebp - 0x87c]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push edx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x4e3b63
mov dword [ebp - 0x878], eax
mov dword [ebp - 0x18cc], eax
lea eax, [ebp - 0x8b8]
push eax
call esi
lea eax, [ebp - 0x8a8]
push eax
call esi
mov eax, 8
lea edx, [ebp - 0x878]
push edx
mov word [ebp - 0x8b8], ax
mov word [ebp - 0x8a8], ax
mov eax, dword [ebp - 0x87c]
push 0x52d8f0
push 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x4e3b14
mov eax, dword [ebp - 0x878]
lea edx, [ebp - 0x8b8]
push 0
push edx
push str.FriendlyName
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x4e3b14
mov edi, dword [ebp - 0x884]
lea edx, [ebp - 0x898]
xorps xmm0, xmm0
mov dword [ebp - 0x858], 0
movups xmmword [ebp - 0x898], xmm0
mov eax, 0x2011
mov dword [ebp - 0x890], 0
mov word [ebp - 0x898], ax
mov eax, dword [ebp - 0x878]
push 0
push edx
push str.FilterData
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x874], 0
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
js 0x4e353f
mov eax, dword [ebp - 0x890]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x854], ecx
lea ecx, [ebp - 0x874]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov esi, eax
test esi, esi
js 0x4e353f
mov eax, dword [edi]
lea ecx, [ebp - 0x858]
push ecx
push 0x549ef4
push edi
call dword [eax]
mov esi, eax
test esi, esi
js 0x4e353f
mov eax, dword [ebp - 0x858]
lea edx, [ebp - 0x888]
push edx
push dword [ebp - 0x854]
mov dword [ebp - 0x888], 0
push dword [ebp - 0x874]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
js 0x4e353f
mov eax, dword [ebp - 0x888]
mov ecx, dword [ebp - 0x18cc]
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x18cc], ecx
cmp dword [ebp - 0x874], 0
je 0x4e3561
push dword [ebp - 0x890]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
lea eax, [ebp - 0x898]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x858]
test ecx, ecx
je 0x4e3571
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
js 0x4e3b0e
mov eax, dword [ebp - 0x878]
lea edx, [ebp - 0x8a8]
push 0
push edx
push str.CLSID
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x4e3b0e
push 0xdc
call fcn.004fe2bc
mov esi, eax
add esp, 4
mov dword [ebp - 0x18c4], esi
push 0xdc
push 0
push esi
mov byte [ebp - 4], 1
call fcn.005001b0
add esp, 0xc
mov dword [ebp - 0x854], esi
mov ecx, esi
call fcn.0041ad80
cmp dword [esi + 0x38], 0
mov dword [esi], vtable.CStringUTF8.0
je 0x4e35e5
lea ecx, [esi + 0x34]
call fcn.0041a760
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
lea edi, [esi + 0x44]
mov byte [ebp - 4], 2
mov ecx, edi
mov dword [ebp - 0x854], edi
call fcn.0041ad80
cmp dword [edi + 0x38], 0
mov dword [edi], vtable.CStringUTF8.0
je 0x4e361b
lea ecx, [edi + 0x34]
call fcn.0041a760
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi + 0x40], 0xffffffff
lea edi, [esi + 0x88]
mov byte [ebp - 4], 3
mov ecx, edi
mov dword [ebp - 0x854], edi
call fcn.0041ad80
cmp dword [edi + 0x38], 0
mov dword [edi], vtable.CStringUTF8.0
je 0x4e3654
lea ecx, [edi + 0x34]
call fcn.0041a760
mov byte [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi + 0x40], 0xffffffff
movq qword [ebp - 0x864], xmm0
mov dword [ebp - 0x85c], 0
push 0xbb8
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov byte [esi + 0xd8], 0
mov dword [ebp - 0x18c4], esi
mov dword [ebp - 0x854], 0
mov dword [ebp - 0x864], 0
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x85c], 0
call fcn.0041ab40
mov edi, eax
mov dword [ebp - 0x858], 0
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x864], edi
lea eax, [edi + 0x1770]
mov dword [ebp - 0x874], eax
mov dword [ebp - 0x85c], eax
lea eax, [ebp - 0x854]
mov ax, word [eax]
cmp ax, word [ecx]
jne 0x4e3718
push 0x1770
push 0
push edi
call fcn.005001b0
add esp, 0xc
jmp 0x4e3721
mov ecx, 0x5dc
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x874]
mov dword [ebp - 0x860], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x8b0]
push 0x549e7c
push 0xbb8
push dword [ebp - 0x864]
call fcn.004e3240
mov eax, dword [ebp - 0x860]
sub esp, 8
mov ecx, dword [ebp - 0x864]
mov edx, esp
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
cmp ecx, eax
je 0x4e3782
sub eax, ecx
sar eax, 1
push eax
push ecx
mov ecx, edx
call fcn.0041aba0
lea ecx, [ebp - 0x1928]
call fcn.004e4910
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1928]
mov eax, dword [ebp - 0x1928]
mov eax, dword [eax + 0x78]
call eax
push eax
lea ecx, [ebp - 0x1970]
call fcn.0041a9d0
lea eax, [ebp - 0x1970]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.0041a900
lea ecx, [ebp - 0x1970]
call fcn.0041c2a0
lea ecx, [ebp - 0x1928]
call fcn.0041c2a0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x864]
test ecx, ecx
je 0x4e3837
mov eax, dword [ebp - 0x85c]
sub eax, ecx
sar eax, 1
lea edx, [eax + eax]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e380f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e3d24
push edx
push ecx
call fcn.004fe28b
add esp, 8
mov dword [ebp - 0x864], 0
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x85c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x868], 0
movq qword [ebp - 0x870], xmm0
push 0xbb8
mov dword [ebp - 0x854], 0
mov dword [ebp - 0x870], 0
mov dword [ebp - 0x86c], 0
mov dword [ebp - 0x868], 0
call fcn.0041ab40
mov edi, eax
mov dword [ebp - 0x858], 0
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x870], edi
lea eax, [edi + 0x1770]
mov dword [ebp - 0x874], eax
mov dword [ebp - 0x868], eax
lea eax, [ebp - 0x854]
mov ax, word [eax]
cmp ax, word [ecx]
jne 0x4e38c8
push 0x1770
push 0
push edi
call fcn.005001b0
add esp, 0xc
jmp 0x4e38d1
mov ecx, 0x5dc
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x874]
mov dword [ebp - 0x86c], eax
mov byte [ebp - 4], 7
push dword [ebp - 0x8a0]
push 0x549e7c
push 0xbb8
push dword [ebp - 0x870]
call fcn.004e3240
mov eax, dword [ebp - 0x86c]
sub esp, 8
mov ecx, dword [ebp - 0x870]
mov edx, esp
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
cmp ecx, eax
je 0x4e3932
sub eax, ecx
sar eax, 1
push eax
push ecx
mov ecx, edx
call fcn.0041aba0
lea ecx, [ebp - 0x1928]
call fcn.004e4910
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1928]
mov eax, dword [ebp - 0x1928]
mov eax, dword [eax + 0x78]
call eax
push eax
lea ecx, [ebp - 0x1970]
call fcn.0041a9d0
lea eax, [ebp - 0x1970]
mov byte [ebp - 4], 9
push eax
lea ecx, [esi + 0x88]
call fcn.0041a900
lea ecx, [ebp - 0x1970]
call fcn.0041c2a0
lea ecx, [ebp - 0x1928]
call fcn.0041c2a0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x870]
test ecx, ecx
je 0x4e39eb
mov eax, dword [ebp - 0x868]
sub eax, ecx
sar eax, 1
lea edx, [eax + eax]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e39c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e3d29
push edx
push ecx
call fcn.004fe28b
add esp, 8
mov dword [ebp - 0x870], 0
mov dword [ebp - 0x86c], 0
mov dword [ebp - 0x868], 0
push dword [ebp - 0x8a0]
lea eax, [ebp - 0x420]
push str.SoftwareClassesCLSID_sInprocServer32
push 0x200
push eax
call fcn.004e3240
add esp, 0x10
test eax, eax
js 0x4e3acf
lea eax, [ebp - 0x858]
mov dword [ebp - 0x858], 0
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x854], 0x104
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4e3acf
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x830]
push eax
push 0
push 0
push 0
push dword [ebp - 0x858]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4e3ac3
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x1928]
call fcn.0041f320
mov ecx, eax
mov byte [ebp - 4], 0xa
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
call eax
push eax
lea ecx, [ebp - 0x1970]
call fcn.0041a9d0
lea eax, [ebp - 0x1970]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [esi + 0x44]
call fcn.0041a900
lea ecx, [ebp - 0x1970]
call fcn.0041c2a0
lea ecx, [ebp - 0x1928]
mov byte [ebp - 4], 0
call fcn.0041c2a0
push dword [ebp - 0x858]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x87c]
mov edi, dword [ebp - 0x18d0]
mov dword [esi + 0xcc], eax
mov eax, dword [ebp - 0x18cc]
mov dword [esi + 0xd0], eax
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x4e3afd
mov dword [eax], esi
add dword [edi + 4], 4
jmp 0x4e3b2e
lea ecx, [ebp - 0x18c4]
push ecx
push eax
mov ecx, edi
call fcn.00424160
jmp 0x4e3b2e
mov edi, dword [ebp - 0x18d0]
mov ecx, dword [ebp - 0x87c]
test ecx, ecx
je 0x4e3b2e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x87c], 0
mov ecx, dword [ebp - 0x878]
test ecx, ecx
je 0x4e3b48
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x878], 0
push dword [ebp - 0x8a0]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x8b0]
call esi
jmp 0x4e33c3
mov dword [ebp - 0x888], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x4e3ba7
mov ecx, dword [ebp - 0x880]
test ecx, ecx
je 0x4e3bc1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x880], 0
mov ecx, dword [ebp - 0x884]
test ecx, ecx
je 0x4e3bdb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x884], 0
mov eax, dword [edi]
mov esi, dword [edi + 4]
mov edi, esi
sub edi, eax
mov dword [ebp - 0x18c4], eax
sar edi, 2
mov dword [ebp - 0x18c8], edi
cmp edi, 0x20
jg 0x4e3c0c
push dword [ebp - 0x18c8]
mov edx, esi
mov ecx, eax
call fcn.004e3fb0
jmp 0x4e3cbf
mov eax, edi
cdq
sub eax, edx
sar eax, 1
sub edi, eax
mov eax, Ordinal_1
cmp edi, eax
cmovl eax, edi
cmp edi, 0x400
jbe 0x4e3c71
mov edi, eax
cmp eax, 0x3fffffff
ja 0x4e3c61
test eax, eax
jle 0x4e3c61
nop dword [eax]
nop dword [eax + eax]
lea eax, [edi*4]
push 0x52d978
push eax
call fcn.004feae3
add esp, 8
test eax, eax
jne 0x4e3ce8
shr edi, 1
jne 0x4e3c40
xor eax, eax
push eax
call fcn.004fe278
add esp, 4
mov edi, 0x400
lea eax, [ebp - 0x18b8]
mov dword [ebp - 0x18c0], eax
mov dword [ebp - 0x18bc], edi
push dword [ebp - 0x18c8]
mov dword [ebp - 4], 0xd
mov edx, esi
mov ecx, dword [ebp - 0x18c4]
push edi
push eax
push dword [ebp - 0x18c8]
call fcn.004e4090
add esp, 0x10
cmp dword [ebp - 0x18bc], 0x400
jbe 0x4e3cc2
push dword [ebp - 0x18c0]
call fcn.004fe278
add esp, 4
mov eax, dword [ebp - 0x888]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004fe27d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
cmp edi, 0x400
jbe 0x4e3c63
jmp 0x4e3c77
mov dword [ebp - 0x18d4], eax
lea eax, [ebp - 0x18d4]
push 0x563de0
push eax
call fcn.004ffbbe
mov dword [ebp - 0x18d8], eax
lea eax, [ebp - 0x18d8]
push 0x563de0
push eax
call fcn.004ffbbe
call fcn.00501acf
call fcn.00501acf
int3