Function at 0x434d50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44358e
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x45c4f4]
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 esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x124], edi
mov dword [ebp - 4], 1
cmp ebx, edi
jne 0x434d9c
jmp 0x4350d7
mov eax, dword [esi]
cmp eax, dword [0x448c28]
jne 0x434dcc
mov ecx, dword [esi + 4]
cmp ecx, dword [0x448c2c]
jne 0x434dcc
mov edx, dword [esi + 8]
cmp edx, dword [0x448c30]
jne 0x434dcc
mov eax, dword [esi + 0xc]
cmp eax, dword [0x448c34]
jne 0x434dcc
jmp 0x4350d7
lea eax, [ebp - 0x124]
push eax
push 0x448250
push 1
push edi
push 0x44cc28
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jge 0x434def
jmp 0x4350d7
cmp dword [ebx], edi
je 0x434e64
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x120], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x11c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x118], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x114], edx
mov ecx, dword [eax]
lea edx, [ebp - 0x120]
push edx
push 1
push esi
push eax
cmp dword [ebp + 0x10], edi
je 0x434e4e
cmp dword [ebx], 1
jne 0x434e3b
mov eax, dword [ecx + 0x14]
jmp 0x434e3e
mov eax, dword [ecx + 0x1c]
call eax
mov edi, eax
test edi, edi
js 0x434edb
xor edi, edi
jmp 0x434e5d
cmp dword [ebx], 1
jne 0x434e58
mov eax, dword [ecx + 0x18]
jmp 0x434e5b
mov eax, dword [ecx + 0x20]
call eax
add ebx, 8
cmp dword [ebx], edi
jne 0x434df3
cmp dword [ebp + 0x10], edi
jne 0x4350d7
push 0x40
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov dword [ebp - 0x138], edi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push 2
push eax
lea edx, [ebp - 0x128]
push edx
mov dword [ebp - 0x128], eax
call fcn.00415a80
add esp, 0xc
test eax, eax
js 0x4350c8
mov esi, dword [ebp - 0x128]
cmp esi, 0x400
jg 0x434efb
push esi
call fcn.00416020
add esp, 4
test al, al
je 0x434efb
mov eax, esi
call fcn.0043b560
mov eax, esp
jmp 0x434f07
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x124]
test eax, eax
je 0x434ef4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
jmp 0x4350f2
push esi
lea ecx, [ebp - 0x138]
call fcn.00416430
push edi
push esi
lea ecx, [ebp - 0x110]
push ecx
push eax
call fcn.00417670
mov esi, eax
cmp esi, edi
je 0x4350c8
push str.CLSID_
lea edx, [ebp - 0x90]
push 0x80
push edx
call fcn.004314c0
push esi
lea eax, [ebp - 0x90]
push 0x80
push eax
call fcn.004316f0
push str.Required_Categories
lea ecx, [ebp - 0x90]
push 0x80
push ecx
call fcn.004316f0
add esp, 0x24
mov dword [ebp - 0x144], Ordinal_4
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x13c], edi
mov byte [ebp - 4], 7
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x12c], edi
mov byte [ebp - 4], 8
push 0x20019
lea edx, [ebp - 0x90]
push edx
push Ordinal_4
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x128], edi
call fcn.00431bd0
test eax, eax
jne 0x435000
mov ecx, dword [ebp - 0x134]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x128]
push eax
push edi
push edi
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp - 0x134]
mov ebx, eax
call fcn.00431b00
cmp ebx, edi
jne 0x435000
cmp dword [ebp - 0x128], edi
jne 0x435000
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0x144]
call fcn.00431ab0
push str.CLSID_
lea eax, [ebp - 0x90]
push 0x80
push eax
call fcn.004314c0
push esi
lea ecx, [ebp - 0x90]
push 0x80
push ecx
call fcn.004316f0
push str.Implemented_Categories
lea edx, [ebp - 0x90]
push 0x80
push edx
call fcn.004316f0
add esp, 0x24
push 0x20019
lea eax, [ebp - 0x90]
push eax
push Ordinal_4
lea ecx, [ebp - 0x134]
call fcn.00431bd0
cmp eax, edi
jne 0x4350aa
mov edx, dword [ebp - 0x134]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x128]
push ecx
push edi
push edi
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp - 0x134]
mov esi, eax
call fcn.00431b00
cmp esi, edi
jne 0x4350aa
cmp dword [ebp - 0x128], edi
jne 0x4350aa
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x144]
call fcn.00431ab0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x134]
call fcn.00433530
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x144]
call fcn.00433530
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
call fcn.00414740
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x124]
cmp eax, edi
je 0x4350f0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
lea esp, [ebp - 0x154]
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.0043b28c
mov esp, ebp
pop ebp
ret 0xc