Function at 0x5bb32437
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
mov eax, dword [esi + 8]
xor ecx, ecx
push edi
xor edi, edi
inc ecx
test ecx, eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
jne 0x5bb3246d
mov dword [ebp - 4], 0x8000ffff
jmp 0x5bb32634
test al, 0x40
je 0x5bb32479
mov dword [ebp - 4], ecx
jmp 0x5bb32634
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x5ba4a3cc
push 0x5ba4a3a8
push reloc.OLEAUT32.dll_SysReAllocString
call sub.SHLWAPI.dll_SHGetValueA
test eax, eax
je 0x5bb324a3
mov dword [ebp - 4], 0x80004005
jmp 0x5bb325cf
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
push dword [esi + 0x20]
call edi
push dword [esi + 0x24]
mov ebx, eax
call edi
cmp ebx, eax
jle 0x5bb324bf
push dword [esi + 0x20]
jmp 0x5bb324c2
push dword [esi + 0x24]
call edi
mov ecx, dword [ebp - 0xc]
lea eax, [ecx + eax + 2]
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
call fcn.5baaee23
test eax, eax
mov dword [ebp - 4], eax
jl 0x5bb325cc
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 0
push 0x5ba4a3cc
push 0x5ba4a3a8
push reloc.OLEAUT32.dll_SysReAllocString
call sub.SHLWAPI.dll_SHGetValueA
test eax, eax
jne 0x5bb32552
push dword [ebp - 0xc]
push 0x5ba4cc98
push dword [ebp - 8]
call sub.SHLWAPI.dll_StrCatBuffA
push dword [ebp - 8]
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov edi, eax
mov eax, dword [ebp - 0xc]
sub eax, edi
push eax
mov eax, dword [ebp - 8]
push dword [esi + 0x20]
add eax, edi
push eax
call ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0xc], eax
je 0x5bb32552
push 0x5ba4f2a0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x5bb3255b
mov dword [ebp - 4], 0x80004005
jmp 0x5bb325cc
lea ecx, [ebp - 0x10]
push ecx
push 0
call eax
test eax, eax
mov dword [ebp - 4], eax
jl 0x5bb325cc
mov eax, dword [ebp - 0xc]
sub eax, edi
push eax
mov eax, dword [ebp - 8]
push dword [esi + 0x24]
add edi, eax
push edi
call ebx
mov eax, dword [ebp - 0x10]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
mov dword [ebp - 4], eax
jl 0x5bb325cc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
call fcn.5bb1d81f
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x18]
mov ecx, dword [eax]
push dword [ebp - 0x1c]
push eax
call dword [ecx + 0xc]
test eax, eax
mov dword [ebp - 4], eax
jl 0x5bb325cc
mov eax, dword [ebp - 0x10]
and dword [ebp - 0x10], 0
or dword [esi + 8], 0x40
and dword [ebp - 4], 0
mov dword [esi + 0x10], eax
xor edi, edi
pop ebx
cmp dword [ebp - 0x14], edi
je 0x5bb325e5
mov eax, dword [0x5bb73714]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x18], edi
je 0x5bb325fb
mov eax, dword [0x5bb73714]
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x1c], edi
je 0x5bb32611
mov eax, dword [0x5bb73714]
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x5bb32621
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], edi
cmp dword [ebp - 8], edi
je 0x5bb32634
mov eax, dword [0x5bb73714]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret