Function at 0x10078150
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fab53
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.10005710
cmp eax, 0xffffffff
je 0x100781bd
push 0x20019
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, byte [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0xfc]
call fcn.10077f50
mov dword [ebp - 0xc8], eax
jmp 0x1007820c
push 0x20019
lea ecx, [ebp - 0x2c]
call fcn.10005510
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.10077f50
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.100055f0
lea ecx, [ebp - 0xc4]
call fcn.100785f0
mov dword [ebp - 4], 2
cmp dword [ebp - 0xc8], 0
jne 0x1007825c
lea edx, [ebp - 0xc4]
push edx
mov ecx, dword [ebp + 8]
call fcn.10078620
mov eax, dword [ebp - 0xf8]
or eax, 1
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.10074ab0
mov eax, dword [ebp + 8]
jmp 0x10078596
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 0x100782fa
lea edx, [ebp - 0xc4]
push edx
mov ecx, dword [ebp + 8]
call fcn.10078620
mov eax, dword [ebp - 0xf8]
or eax, 1
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.10074ab0
mov eax, dword [ebp + 8]
jmp 0x10078596
mov ecx, dword [ebp - 0xe4]
add ecx, 1
push ecx
lea ecx, [ebp - 0xe0]
call fcn.10073680
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xb4]
push edx
lea ecx, [ebp - 0xac]
call fcn.10077c30
mov byte [ebp - 4], 4
mov dword [ebp - 0xe8], 0
jmp 0x10078344
mov eax, dword [ebp - 0xe8]
add eax, 1
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
cmp ecx, dword [ebp - 0xcc]
jae 0x10078548
mov dword [ebp - 0xec], 0
lea ecx, [ebp - 0xe0]
call fcn.10025660
mov dword [ebp - 0xe4], eax
lea ecx, [ebp - 0xac]
call fcn.1004b9d0
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.10025680
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 0x10078543
lea ecx, [ebp - 0xe0]
call fcn.10025660
mov dword [ebp - 0xe4], eax
lea ecx, [ebp - 0xac]
call fcn.1004b9d0
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0xb4]
push ecx
push 0
lea ecx, [ebp - 0xac]
call fcn.1004e720
push eax
lea edx, [ebp - 0xec]
push edx
push 0
lea eax, [ebp - 0xe4]
push eax
push 0
lea ecx, [ebp - 0xe0]
call fcn.10025680
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 0x10078543
cmp dword [ebp - 0xec], 1
jne 0x10078543
lea ecx, [ebp - 0xac]
call fcn.10035660
movzx eax, al
test eax, eax
jne 0x10078543
push 0
lea ecx, [ebp - 0xac]
call fcn.1004e720
push eax
call fcn.10018040
add esp, 4
push eax
lea ecx, [ebp - 0x48]
call fcn.10005540
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.10025680
push eax
lea ecx, [ebp - 0x64]
call fcn.10005540
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.10078890
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.100788d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x9c]
call fcn.10076b00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x64]
call fcn.100055f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.100055f0
jmp 0x10078335
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp + 8]
call fcn.10078620
mov ecx, dword [ebp - 0xf8]
or ecx, 1
mov dword [ebp - 0xf8], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.100108c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe0]
call fcn.10025610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.10074ab0
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.1007dd84
mov esp, ebp
pop ebp
ret 0xc