Function at 0x1000e580
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x42c
mov eax, dword [0x100533e8]
mov dword [esp + 0x428], eax
mov eax, dword [esp + 0x434]
test eax, eax
je 0x1000e6d2
mov edx, dword [esp + 0x430]
lea ecx, [esp + 4]
push ecx
push 0x2000000
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000e7a1
push ebx
mov ebx, dword [esp + 0x440]
push ebp
push esi
mov ebp, 0x104
push edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
xor edi, edi
mov edi, edi
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x238]
push ecx
mov ecx, dword [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
jne 0x1000e676
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x450]
push esi
push 0x2000000
push esi
lea ecx, [esp + 0x244]
push ecx
push esi
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x1000e676
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push ebx
push ecx
lea edx, [esp + 0x30]
push edx
push eax
call fcn.1000e580
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
test esi, esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
je 0x1000e5e0
cmp esi, 0x103
jne 0x1000e785
mov eax, dword [esp + 0x14]
push 0
push 0
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, eax
test esi, esi
jne 0x1000e77b
mov eax, dword [esp + 0x10]
inc eax
push eax
push 0x40
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x1000e6fe
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
jmp 0x1000e703
mov eax, dword [esp + 0x430]
test eax, eax
je 0x1000e6e6
mov dword [esp + 4], eax
jmp 0x1000e5c4
mov eax, 0x57
mov ecx, dword [esp + 0x428]
call fcn.10036133
add esp, 0x42c
ret
mov esi, 0xe
xor ebx, ebx
test esi, esi
mov dword [esp + 0x18], ebp
jne 0x1000e770
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea edx, [esp + 0x10]
push edx
push edi
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x3c]
push edx
push ebx
push eax
call ebp
mov esi, eax
test esi, esi
jne 0x1000e770
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x44c]
push edi
push edx
push eax
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x1000e770
mov edx, dword [esp + 0x20]
inc ebx
mov dword [esp + 0x18], 0x104
mov dword [esp + 0x10], edx
jmp 0x1000e713
test edi, edi
je 0x1000e77b
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, 0x103
jne 0x1000e785
xor esi, esi
mov eax, dword [esp + 0x444]
test eax, eax
je 0x1000e79b
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x428]
call fcn.10036133
add esp, 0x42c
ret