Function at 0x100054c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x118
push ebx
push esi
mov esi, dword [ebp + 0x78]
test esi, esi
push edi
mov dword [ebp + 0x68], 0
je 0x10005847
mov edi, dword [ebp + 0x74]
mov eax, dword [edi]
cmp eax, dword [0x10033e20]
jne 0x1000554a
mov ecx, dword [edi + 4]
cmp ecx, dword [0x10033e24]
jne 0x1000554a
mov edx, dword [edi + 8]
cmp edx, dword [0x10033e28]
jne 0x1000554a
mov eax, dword [edi + 0xc]
cmp eax, dword [0x10033e2c]
jne 0x1000554a
push 0x1714
push str.D:mvstudio.netVC7_atlmfcinclude_atlbase.h
push 0x10030778
call fcn.10003b80
add esp, 0xc
mov eax, dword [ebp + 0x68]
test eax, eax
je 0x10005847
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
lea esp, [ebp - 0xb8]
pop edi
pop esi
pop ebx
add ebp, 0x6c
mov esp, ebp
pop ebp
ret 0xc
lea edx, [ebp + 0x68]
push edx
push 0x10030768
push 1
push 0
push 0x10033e30
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10005525
cmp dword [esi], 0
mov ebx, esi
je 0x100056cf
mov edx, dword [ebx + 4]
mov eax, dword [edx]
mov dword [ebp + 0x58], eax
mov ecx, dword [edx + 4]
mov dword [ebp + 0x5c], ecx
mov eax, dword [edx + 8]
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x7c]
mov ecx, dword [edx + 0xc]
test eax, eax
mov eax, dword [ebx]
mov dword [ebp + 0x64], ecx
je 0x10005642
cmp eax, 1
jne 0x100055cd
mov eax, dword [ebp + 0x68]
test eax, eax
jne 0x100055be
push 0x8e
push str.D:mvstudio.netVC7_atlmfcinclude_atlcomcli.h
push 0x1002f6d8
call fcn.10003b80
mov eax, dword [ebp + 0x68]
add esp, 0xc
mov edx, dword [eax]
lea ecx, [ebp + 0x58]
push ecx
push 1
push edi
push eax
call dword [edx + 0x14]
jmp 0x10005617
cmp eax, 2
je 0x100055e9
push 0x1733
push str.D:mvstudio.netVC7_atlmfcinclude_atlbase.h
push str.pEntry__iType__2
call fcn.10003b80
add esp, 0xc
mov eax, dword [ebp + 0x68]
test eax, eax
jne 0x1000560a
push 0x8e
push str.D:mvstudio.netVC7_atlmfcinclude_atlcomcli.h
push 0x1002f6d8
call fcn.10003b80
mov eax, dword [ebp + 0x68]
add esp, 0xc
mov edx, dword [eax]
lea ecx, [ebp + 0x58]
push ecx
push 1
push edi
push eax
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
jge 0x100056c1
mov eax, dword [ebp + 0x68]
test eax, eax
je 0x1000562e
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, esi
lea esp, [ebp - 0xb8]
pop edi
pop esi
pop ebx
add ebp, 0x6c
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 1
jne 0x10005677
mov eax, dword [ebp + 0x68]
test eax, eax
jne 0x10005668
push 0x8e
push str.D:mvstudio.netVC7_atlmfcinclude_atlcomcli.h
push 0x1002f6d8
call fcn.10003b80
mov eax, dword [ebp + 0x68]
add esp, 0xc
mov edx, dword [eax]
lea ecx, [ebp + 0x58]
push ecx
push 1
push edi
push eax
call dword [edx + 0x18]
jmp 0x100056c1
cmp eax, 2
je 0x10005693
push 0x1744
push str.D:mvstudio.netVC7_atlmfcinclude_atlbase.h
push str.pEntry__iType__2
call fcn.10003b80
add esp, 0xc
mov eax, dword [ebp + 0x68]
test eax, eax
jne 0x100056b4
push 0x8e
push str.D:mvstudio.netVC7_atlmfcinclude_atlcomcli.h
push 0x1002f6d8
call fcn.10003b80
mov eax, dword [ebp + 0x68]
add esp, 0xc
mov edx, dword [eax]
lea ecx, [ebp + 0x58]
push ecx
push 1
push edi
push eax
call dword [edx + 0x20]
mov eax, dword [ebx + 8]
add ebx, 8
test eax, eax
jne 0x10005571
mov eax, dword [ebp + 0x7c]
test eax, eax
jne 0x1000583a
push 0x40
lea eax, [ebp - 0xac]
push eax
push edi
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [0x10037130]
lea ecx, [ebp - 0xac]
push ecx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.1001f4b0
mov eax, esp
push edi
push esi
lea edx, [ebp - 0xac]
push edx
push eax
call fcn.10004080
mov edi, eax
test edi, edi
je 0x1000583a
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.CLSID_
lea eax, [ebp - 0x2c]
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
lea ecx, [ebp - 0x2c]
push ecx
call esi
push str.Required_Categories
lea edx, [ebp - 0x2c]
push edx
call esi
xor eax, eax
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x78], eax
push 0x20019
lea eax, [ebp - 0x2c]
push eax
push SysReAllocStringLen
lea ecx, [ebp + 0x7c]
mov dword [ebp + 0x74], SysReAllocStringLen
call fcn.100043c0
test eax, eax
jne 0x100057ba
mov edx, dword [ebp + 0x7c]
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea ecx, [ebp + 0x78]
push ecx
push eax
push eax
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp + 0x7c]
mov dword [ebp + 0x54], eax
call fcn.10004310
mov eax, dword [ebp + 0x54]
test eax, eax
jne 0x100057ba
mov eax, dword [ebp + 0x78]
test eax, eax
jne 0x100057ba
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x74]
call fcn.100042d0
push str.CLSID_
lea ecx, [ebp - 0x2c]
push ecx
call ebx
push edi
lea edx, [ebp - 0x2c]
push edx
call esi
push str.Implemented_Categories
lea eax, [ebp - 0x2c]
push eax
call esi
push 0x20019
lea ecx, [ebp - 0x2c]
push ecx
push SysReAllocStringLen
lea ecx, [ebp + 0x7c]
call fcn.100043c0
test eax, eax
jne 0x1000582a
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea edx, [ebp + 0x78]
push edx
push eax
push eax
push eax
mov eax, dword [ebp + 0x7c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp + 0x7c]
mov esi, eax
call fcn.10004310
test esi, esi
jne 0x1000582a
mov eax, dword [ebp + 0x78]
test eax, eax
jne 0x1000582a
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 0x74]
call fcn.100042d0
lea ecx, [ebp + 0x7c]
call fcn.10004fd0
lea ecx, [ebp + 0x74]
call fcn.10004fd0
mov eax, dword [ebp + 0x68]
test eax, eax
je 0x10005847
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
lea esp, [ebp - 0xb8]
pop edi
pop esi
pop ebx
add ebp, 0x6c
mov esp, ebp
pop ebp
ret 0xc