Function at 0x10078120
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fabb3
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x1012c610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xf8], 0
push 0
push 0x5c
mov ecx, dword [ebp + 0xc]
call fcn.10005730
cmp eax, 0xffffffff
je 0x1007818d
push 0x20019
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, byte [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0xfc]
call fcn.10077f20
mov dword [ebp - 0xc8], eax
jmp 0x100781dc
push 0x20019
lea ecx, [ebp - 0x2c]
call fcn.10005530
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x104], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x104]
push eax
movzx ecx, byte [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0xfc]
call fcn.10077f20
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10005610
lea ecx, [ebp - 0xc4]
call fcn.100785c0
mov dword [ebp - 4], 2
cmp dword [ebp - 0xc8], 0
jne 0x1007822c
lea edx, [ebp - 0xc4]
push edx
mov ecx, dword [ebp + 8]
call fcn.100785f0
mov eax, dword [ebp - 0xf8]
or eax, 1
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.10074a00
mov eax, dword [ebp + 8]
jmp 0x10078566
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xcc], 0
push 0
push 0
lea ecx, [ebp - 0xb4]
push ecx
lea edx, [ebp - 0xe4]
push edx
lea eax, [ebp - 0xcc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x100782ca
lea edx, [ebp - 0xc4]
push edx
mov ecx, dword [ebp + 8]
call fcn.100785f0
mov eax, dword [ebp - 0xf8]
or eax, 1
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.10074a00
mov eax, dword [ebp + 8]
jmp 0x10078566
mov ecx, dword [ebp - 0xe4]
add ecx, 1
push ecx
lea ecx, [ebp - 0xe0]
call fcn.10073550
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xb4]
push edx
lea ecx, [ebp - 0xac]
call fcn.10077bf0
mov byte [ebp - 4], 4
mov dword [ebp - 0xe8], 0
jmp 0x10078314
mov eax, dword [ebp - 0xe8]
add eax, 1
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
cmp ecx, dword [ebp - 0xcc]
jae 0x10078518
mov dword [ebp - 0xec], 0
lea ecx, [ebp - 0xe0]
call fcn.100255f0
mov dword [ebp - 0xe4], eax
lea ecx, [ebp - 0xac]
call fcn.1004b680
mov dword [ebp - 0xb4], eax
lea edx, [ebp - 0xb4]
push edx
push 0
lea eax, [ebp - 0xec]
push eax
push 0
lea ecx, [ebp - 0xe4]
push ecx
push 0
lea ecx, [ebp - 0xe0]
call fcn.10025610
push eax
mov edx, dword [ebp - 0xd0]
push edx
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x10078513
lea ecx, [ebp - 0xe0]
call fcn.100255f0
mov dword [ebp - 0xe4], eax
lea ecx, [ebp - 0xac]
call fcn.1004b680
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0xb4]
push ecx
push 0
lea ecx, [ebp - 0xac]
call fcn.1004e3d0
push eax
lea edx, [ebp - 0xec]
push edx
push 0
lea eax, [ebp - 0xe4]
push eax
push 0
lea ecx, [ebp - 0xe0]
call fcn.10025610
push eax
mov ecx, dword [ebp - 0xe8]
push ecx
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x10078513
cmp dword [ebp - 0xec], 1
jne 0x10078513
lea ecx, [ebp - 0xac]
call fcn.100355b0
movzx eax, al
test eax, eax
jne 0x10078513
push 0
lea ecx, [ebp - 0xac]
call fcn.1004e3d0
push eax
call fcn.1006d370
add esp, 4
push eax
lea ecx, [ebp - 0x48]
call fcn.10005560
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x10c], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x10c]
push edx
push 0
lea ecx, [ebp - 0xe0]
call fcn.10025610
push eax
lea ecx, [ebp - 0x64]
call fcn.10005560
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x114]
push ecx
lea edx, [ebp - 0x9c]
push edx
call fcn.10078880
add esp, 0xc
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x11c]
push ecx
lea edx, [ebp - 0xf4]
push edx
lea ecx, [ebp - 0xc4]
call fcn.100788c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x9c]
call fcn.10076ae0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x64]
call fcn.10005610
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.10005610
jmp 0x10078305
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp + 8]
call fcn.100785f0
mov ecx, dword [ebp - 0xf8]
or ecx, 1
mov dword [ebp - 0xf8], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.100108f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe0]
call fcn.100255d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.10074a00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007dda4
mov esp, ebp
pop ebp
ret 0xc