Function at 0x737d38
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5bc
mov esi, edx
mov edi, dword [esp + 0x5d4]
mov ebp, dword [esp + 0x5d0]
test edi, edi
je 0x737d76
inc ebp
sub esp, 8
mov edx, esi
push dword [edi + 0x298]
push ebp
call fcn.00737d38
add esp, 0x10
mov dword [edi + 0x298], eax
jmp 0x7380b2
sub esp, 0xc
lea eax, [esp + 0x24]
push eax
push 0x20019
push 0
push esi
push ecx
call sub.ADVAPI32.DLL_RegOpenKeyExA
add esp, 0xc
xor edi, edi
test eax, eax
jne 0x7380b2
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x100
sub esp, 8
lea ecx, [esp + 0x18]
lea ebx, [esp + 0xc4]
lea eax, [esp + 0x1c]
push ecx
push ebx
push eax
push 0
push str.clsid
push dword [esp + 0x34]
call sub.ADVAPI32.DLL_RegQueryValueExA
add esp, 8
xor edi, edi
test eax, eax
jne 0x7380a3
sub esp, 0xc
push ebx
call fcn.008078f0
add esp, 0x10
sub esp, 8
push eax
push ebx
call fcn.0081d2aa
add esp, 8
sub esp, 4
lea eax, [esp + 0x20]
push eax
push str.clsid
push 0x80000000
call sub.ADVAPI32.DLL_RegOpenKeyA
add esp, 4
mov ecx, 0xffffffff
test eax, eax
jne 0x737fb9
mov dword [esp + 8], esi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x1c]
lea esi, [esp + 0x1bc]
xor ebx, ebx
nop word cs:[eax + eax]
push pe_nt_image_headers32
push esi
push ebx
push eax
call sub.ADVAPI32.DLL_RegEnumKeyA
mov edi, eax
test edi, edi
jne 0x737f88
sub esp, 0xc
push esi
call fcn.008078f0
add esp, 0x10
sub esp, 8
push eax
push esi
call fcn.0081d2aa
add esp, 8
sub esp, 8
lea eax, [esp + 0xc4]
push eax
push esi
call fcn.00807854
add esp, 0x10
xor edi, edi
test eax, eax
jne 0x737f88
sub esp, 0xc
lea eax, [esp + 0x34]
push eax
push 0x20019
push 0
push esi
push dword [esp + 0x38]
call sub.ADVAPI32.DLL_RegOpenKeyExA
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x737f7d
sub esp, 0xc
lea eax, [esp + 0x30]
push eax
push 0x20019
push 0
push str.InprocServer32
push dword [esp + 0x44]
call sub.ADVAPI32.DLL_RegOpenKeyExA
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x737f6e
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], pe_nt_image_headers32
sub esp, 8
lea eax, [esp + 0x34]
push eax
lea esi, [esp + 0x3c8]
push esi
lea eax, [esp + 0x40]
push eax
push 0
push 0
push dword [esp + 0x40]
call sub.ADVAPI32.DLL_RegQueryValueExA
add esp, 8
mov edi, eax
test edi, edi
jne 0x737f5f
sub esp, 4
push 0x88
push 0
lea eax, [esp + 0x40]
push eax
call fcn.0080778b
add esp, 0x10
mov byte [esp + 0x34], 0x88
sub esp, 4
push 0x4000
lea eax, [esp + 0x3c]
push eax
push esi
call sub.KERNEL32.DLL_OpenFile
add esp, 4
test eax, eax
je 0x737f5f
mov dword [esp + 0x20], 0
sub esp, 0xc
push dword [esp + 0x30]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0xc
sub esp, 0xc
push dword [esp + 0x34]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0xc
mov dword [esp + 0xc], 1
nop dword [eax]
inc ebx
or edi, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
lea esi, [esp + 0x1bc]
je 0x737e48
sub esp, 0xc
push eax
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0xc
mov esi, dword [esp + 8]
lea ebx, [esp + 0xbc]
mov ecx, dword [esp + 0x20]
xor edi, edi
test ecx, ecx
jne 0x7380a3
sub esp, 0xc
push 0x29c
call fcn.007fadc4
add esp, 0x10
mov edi, eax
test edi, edi
je 0x7380a3
mov dword [esp + 8], esi
mov esi, edi
lea eax, [edi + 4]
sub esp, 4
push 0x298
push 0
push eax
call fcn.0080778b
add esp, 0x10
mov dword [esi], ebp
sub esp, 8
mov ebp, ebx
lea ebx, [esp + 0x1c4]
push 0x64
push ebx
push 0xffffffffffffffff
push ebp
push 0
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
add esp, 8
sub esp, 8
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.0081d90c
add esp, 8
test eax, eax
jne 0x73804a
mov eax, dword [esp + 0x40]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x100
sub esp, 8
lea eax, [esp + 0x18]
push eax
push ebp
lea eax, [esp + 0x24]
push eax
push 0
push str.description
push dword [esp + 0x34]
call sub.ADVAPI32.DLL_RegQueryValueExA
add esp, 8
add edi, 0x214
sub esp, 8
test eax, eax
je 0x738097
push dword [esp + 0x10]
push edi
call fcn.008078a4
add esp, 0x10
jmp 0x7380a1
push ebp
push edi
call fcn.008078a4
add esp, 0x10
mov edi, esi
sub esp, 0xc
push dword [esp + 0x24]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0xc
mov eax, edi
add esp, 0x5bc
pop esi
pop edi
pop ebx
pop ebp
ret