Function at 0x1010def3
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
xor edi, edi
inc ebx
push str.advapi32.dll
mov dword [esi + 0xce4], edi
mov dword [esi + 0xce8], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0xce4], eax
test eax, eax
jne 0x1010df25
mov ebx, edi
jmp 0x1010e246
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x101af1f8
push eax
call edi
push 0x101af208
push dword [esi + 0xce4]
mov dword [esi + 4], eax
call edi
push 0x101af218
push dword [esi + 0xce4]
mov dword [esi + 8], eax
call edi
push 0x101af228
push dword [esi + 0xce4]
mov dword [esi + 0xc], eax
call edi
push 0x101af238
push dword [esi + 0xce4]
mov dword [esi + 0x10], eax
call edi
push 0x101af24c
push dword [esi + 0xce4]
mov dword [esi + 0x14], eax
call edi
push 0x101af260
push dword [esi + 0xce4]
mov dword [esi + 0x18], eax
call edi
push 0x101af270
push dword [esi + 0xce4]
mov dword [esi + 0x1c], eax
call edi
push 0x101af280
push dword [esi + 0xce4]
mov dword [esi + 0x20], eax
call edi
push 0x101af290
push dword [esi + 0xce4]
mov dword [esi + 0x24], eax
call edi
push 0x101af2a0
push dword [esi + 0xce4]
mov dword [esi + 0x28], eax
call edi
push 0x101af2b0
push dword [esi + 0xce4]
mov dword [esi + 0x2c], eax
call edi
push 0x101af2c0
push dword [esi + 0xce4]
mov dword [esi + 0x30], eax
call edi
push 0x101af2d0
push dword [esi + 0xce4]
mov dword [esi + 0x34], eax
call edi
push 0x101af2e0
push dword [esi + 0xce4]
mov dword [esi + 0x38], eax
call edi
push 0x101af2f0
push dword [esi + 0xce4]
mov dword [esi + 0x3c], eax
call edi
push 0x101af300
push dword [esi + 0xce4]
mov dword [esi + 0x40], eax
call edi
xor ecx, ecx
mov dword [esi + 0x44], eax
cmp dword [esi + 4], ecx
je 0x1010e244
cmp dword [esi + 8], ecx
je 0x1010e244
cmp dword [esi + 0xc], ecx
je 0x1010e244
cmp dword [esi + 0x10], ecx
je 0x1010e244
cmp dword [esi + 0x14], ecx
je 0x1010e244
cmp dword [esi + 0x18], ecx
je 0x1010e244
cmp dword [esi + 0x1c], ecx
je 0x1010e244
cmp dword [esi + 0x20], ecx
je 0x1010e244
cmp dword [esi + 0x24], ecx
je 0x1010e244
cmp dword [esi + 0x28], ecx
je 0x1010e244
cmp dword [esi + 0x2c], ecx
je 0x1010e244
cmp dword [esi + 0x30], ecx
je 0x1010e244
cmp dword [esi + 0x34], ecx
je 0x1010e244
cmp dword [esi + 0x38], ecx
je 0x1010e244
cmp dword [esi + 0x3c], ecx
je 0x1010e244
cmp dword [esi + 0x40], ecx
je 0x1010e244
test eax, eax
je 0x1010e244
push str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0xce8], eax
test eax, eax
je 0x1010e246
push str.SHEnumValueA
push eax
call edi
push str.SHEnumValueW
push dword [esi + 0xce8]
mov dword [esi + 0x48], eax
call edi
push str.SHEnumKeyExA
push dword [esi + 0xce8]
mov dword [esi + 0x4c], eax
call edi
push str.SHEnumKeyExW
push dword [esi + 0xce8]
mov dword [esi + 0x50], eax
call edi
push str.SHDeleteValueA
push dword [esi + 0xce8]
mov dword [esi + 0x54], eax
call edi
push str.SHDeleteValueW
push dword [esi + 0xce8]
mov dword [esi + 0x58], eax
call edi
push str.SHDeleteKeyA
push dword [esi + 0xce8]
mov dword [esi + 0x5c], eax
call edi
push str.SHDeleteKeyW
push dword [esi + 0xce8]
mov dword [esi + 0x60], eax
call edi
push str.SHSetValueA
push dword [esi + 0xce8]
mov dword [esi + 0x64], eax
call edi
push str.SHSetValueW
push dword [esi + 0xce8]
mov dword [esi + 0x68], eax
call edi
push str.SHQueryValueExA
push dword [esi + 0xce8]
mov dword [esi + 0x6c], eax
call edi
push str.SHQueryValueExW
push dword [esi + 0xce8]
mov dword [esi + 0x70], eax
call edi
push str.SHGetValueA
push dword [esi + 0xce8]
mov dword [esi + 0x74], eax
call edi
push 0x101af3e8
push dword [esi + 0xce8]
mov dword [esi + 0x78], eax
call edi
xor edi, edi
mov dword [esi + 0x7c], eax
cmp dword [esi + 0x48], edi
je 0x1010df1e
cmp dword [esi + 0x4c], edi
je 0x1010df1e
cmp dword [esi + 0x50], edi
je 0x1010df1e
cmp dword [esi + 0x54], edi
je 0x1010df1e
cmp dword [esi + 0x58], edi
je 0x1010df1e
cmp dword [esi + 0x5c], edi
je 0x1010df1e
cmp dword [esi + 0x60], edi
je 0x1010df1e
cmp dword [esi + 0x64], edi
je 0x1010df1e
cmp dword [esi + 0x68], edi
je 0x1010df1e
cmp dword [esi + 0x6c], edi
je 0x1010df1e
cmp dword [esi + 0x70], edi
je 0x1010df1e
cmp dword [esi + 0x74], edi
je 0x1010df1e
cmp dword [esi + 0x78], edi
je 0x1010df1e
test eax, eax
jne 0x1010e246
jmp 0x1010df1e
mov ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
ret 4