Function at 0x5b55ac
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d9204
mov eax, dword fs:[0]
push eax
mov eax, 0x10c0
call fcn.00648c70
mov eax, dword [0x81c5a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10a0], eax
mov dword [ebp - 0x1070], ebx
mov dword [ebp - 0x106c], ebx
mov dword [ebp - 0x1068], ebx
push 0x208
lea eax, [ebp - 0x424]
mov dword [ebp - 4], ebx
push ebx
push eax
call fcn.0066f220
add esp, 0xc
mov dword [ebp - 0x108c], 0x104
mov edi, 0x20019
mov dword [ebp - 0x1038], ebx
lea ecx, [ebp - 0x1070]
mov dword [ebp - 0x1088], ebx
mov dword [ebp - 0x1084], ebx
push edi
push str.SYSTEMCurrentControlSetControlClass_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1080], ebx
mov dword [ebp - 0x107c], ebx
mov dword [ebp - 0x1078], ebx
mov dword [ebp - 0x1074], ebx
call fcn.0051e4ac
lea eax, [ebp - 0x10c0]
push eax
lea eax, [ebp - 0x1074]
push eax
lea eax, [ebp - 0x1078]
push eax
lea eax, [ebp - 0x107c]
push eax
lea eax, [ebp - 0x1080]
push eax
lea eax, [ebp - 0x1084]
push eax
lea eax, [ebp - 0x1088]
push eax
lea eax, [ebp - 0x1038]
push eax
push ebx
lea eax, [ebp - 0x108c]
push eax
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x1070]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x1038]
test eax, eax
je 0x5b593e
mov dword [ebp - 0x104c], ebx
lea eax, [ebp - 0x10c0]
mov dword [ebp - 0x109c], 0x104
push eax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x109c]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push dword [ebp - 0x1070]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x5b592b
call fcn.00515e26
push eax
lea ecx, [ebp - 0x1044]
call fcn.00515c3a
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1044]
push str.SYSTEMCurrentControlSetControlClass_s0000Settings_
push eax
call fcn.0051647b
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x1064], eax
mov dword [ebp - 0x1060], eax
mov dword [ebp - 0x105c], eax
push edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1064]
mov esi, dword [ebp - 0x1044]
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0051e4ac
test eax, eax
jne 0x5b5914
push 0x410
push eax
lea eax, [ebp - 0x834]
push eax
call fcn.0066f220
add esp, 0xc
and dword [ebp - 0x1040], 0
lea eax, [ebp - 0x10c8]
mov dword [ebp - 0x1098], 0x208
push eax
lea eax, [ebp - 0x10a4]
push eax
lea eax, [ebp - 0x10a8]
push eax
lea eax, [ebp - 0x10ac]
push eax
lea eax, [ebp - 0x10b0]
push eax
lea eax, [ebp - 0x10b4]
push eax
lea eax, [ebp - 0x10b8]
push eax
lea eax, [ebp - 0x1040]
push eax
push 0
lea eax, [ebp - 0x1098]
push eax
lea eax, [ebp - 0x834]
push eax
push dword [ebp - 0x1064]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
and dword [ebp - 0x103c], 0
cmp dword [ebp - 0x1040], 0
jbe 0x5b5914
mov ebx, dword [ebp - 0x103c]
lea eax, [ebp - 0x10c8]
mov dword [ebp - 0x1094], 0x400
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x1094]
push eax
lea eax, [ebp - 0x1034]
push eax
push ebx
push dword [ebp - 0x1064]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x5b5901
call fcn.00515e26
push eax
lea ecx, [ebp - 0x1048]
call fcn.00515c3a
lea eax, [ebp - 0x1034]
mov byte [ebp - 4], 3
push eax
push esi
lea eax, [ebp - 0x1048]
push str._s_s_
push eax
call fcn.0051647b
xor eax, eax
add esp, 0x10
mov dword [ebp - 0x1058], eax
mov dword [ebp - 0x1054], eax
mov dword [ebp - 0x1050], eax
push edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1058]
mov edi, dword [ebp - 0x1048]
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0051e4ac
test eax, eax
jne 0x5b58e5
lea eax, [ebp - 0x103c]
mov dword [ebp - 0x103c], 4
push eax
lea eax, [ebp - 0x1090]
push eax
push str.ChannelConfig
lea ecx, [ebp - 0x1058]
call fcn.005567c2
test eax, eax
jne 0x5b58da
push dword [ebp - 0x10a0]
push dword [ebp - 0x1090]
call fcn.005b5967
lea ecx, [ebp - 0x1058]
call fcn.0051e50a
lea ecx, [ebp - 0x1058]
call fcn.0051e50a
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 2
call fcn.00515ed6
mov edi, 0x20019
inc ebx
cmp ebx, dword [ebp - 0x1040]
jb 0x5b57fe
mov ebx, dword [ebp - 0x104c]
lea ecx, [ebp - 0x1064]
call fcn.0051e50a
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00515ed6
inc ebx
mov dword [ebp - 0x104c], ebx
cmp ebx, dword [ebp - 0x1038]
jb 0x5b56c9
lea ecx, [ebp - 0x1070]
call fcn.0051e50a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00647fba
mov esp, ebp
pop ebp
ret 4