Function at 0x105a750
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x10b5894]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
dec eax
push edi
mov dword [ebp - 0x818], esi
mov dword [ebp - 0x810], esi
je 0x105a783
push 0x88e
jmp 0x105a788
push 0x88d
call fcn.0107a681
push eax
call fcn.0108880b
mov ebx, 0x1003d24
push ebx
call fcn.0108880b
pop ecx
pop ecx
lea eax, [ebp - 0x818]
push eax
mov eax, dword [ebp + 8]
and al, 1
neg al
push 9
push esi
mov edi, 0x1010990
push edi
sbb eax, eax
neg eax
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
mov dword [ebp - 0x80c], eax
je 0x105a81f
push edi
push eax
push esi
push 0x1010938
call fcn.0107a70e
push 0x88f
call fcn.0107a681
push eax
call fcn.0108880b
push ebx
call fcn.0108880b
pop ecx
pop ecx
push dword [ebp - 0x80c]
push 0x5c3013a
push edi
call fcn.0107ae7f
cmp dword [ebp - 0x80c], 2
jne 0x105aa18
mov dword [ebp - 0x80c], esi
jmp 0x105aa18
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x828]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x404]
push eax
mov dword [ebp - 0x820], esi
mov ebx, 0x200
push esi
jmp 0x105a959
lea eax, [ebp - 0x810]
push eax
push 9
push esi
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
mov dword [ebp - 0x808], eax
jne 0x105a9ac
lea eax, [ebp - 0x828]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x804]
push eax
mov dword [ebp - 0x81c], esi
push esi
jmp 0x105a900
push dword [ebp - 0x810]
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.0105a16e
cmp eax, esi
mov dword [ebp - 0x808], eax
je 0x105a8c8
push eax
push 0x60e013a
call fcn.0107ae44
cmp dword [ebp - 0x80c], esi
jne 0x105a8dc
mov eax, dword [ebp - 0x808]
mov dword [ebp - 0x80c], eax
inc dword [ebp - 0x81c]
lea eax, [ebp - 0x828]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x81c]
push dword [ebp - 0x810]
mov dword [ebp - 0x814], ebx
call edi
cmp eax, esi
mov dword [ebp - 0x808], eax
je 0x105a89a
cmp eax, 0x103
jne 0x105a9e4
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x820]
lea eax, [ebp - 0x828]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x820]
mov dword [ebp - 0x810], esi
push dword [ebp - 0x818]
mov dword [ebp - 0x814], ebx
call edi
cmp eax, esi
mov dword [ebp - 0x808], eax
je 0x105a84e
cmp eax, 0x103
je 0x105aa18
push eax
push 0x1010970
call fcn.0107a7e2
cmp dword [ebp - 0x80c], esi
jne 0x105a99f
mov eax, dword [ebp - 0x808]
mov dword [ebp - 0x80c], eax
push dword [ebp - 0x808]
push 0x5e3013a
jmp 0x105aa13
push eax
push 0x1010938
call fcn.0107a7e2
cmp dword [ebp - 0x80c], esi
jne 0x105a9cb
mov eax, dword [ebp - 0x808]
mov dword [ebp - 0x80c], eax
push dword [ebp - 0x808]
lea eax, [ebp - 0x404]
push 0x5f2013a
push eax
call fcn.0107ae7f
jmp 0x105aa18
push dword [ebp - 0x808]
push 0x1010970
call fcn.0107a7e2
cmp dword [ebp - 0x80c], esi
jne 0x105aa08
mov eax, dword [ebp - 0x808]
mov dword [ebp - 0x80c], eax
push dword [ebp - 0x808]
push 0x60b013a
call fcn.0107ae44
cmp dword [ebp - 0x810], esi
je 0x105aa2c
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x818], esi
pop edi
pop esi
pop ebx
je 0x105aa43
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x80c]
xor ecx, ebp
call fcn.01068363
leave
ret 4