Function at 0x100784d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x23c
mov eax, dword [0x10206870]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
mov edi, dword [eax + 0x1c]
mov dword [esp + 0x1c], esi
test edi, edi
jne 0x10078514
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.1003dc89
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x1007876f
cmp dword [edi + 0x90], 0
je 0x1007876f
cmp dword [edi + 0x94], 0
je 0x1007876f
cmp dword [edi + 0x8c], 0
je 0x1007876f
cmp dword [edi + 0xa0], 0
je 0x1007876f
cmp dword [edi + 0xa4], 0
je 0x1007876f
cmp dword [edi + 0x98], 0
je 0x1007876f
push 2
push 0
push 0
push 0x102092d8
call eax
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1007876f
xor eax, eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], eax
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], 0x1c
mov edx, dword [edi + 0xa4]
push ebx
mov dword [esp + 0x2c], eax
call edx
test eax, eax
je 0x10078762
mov edx, dword [edi + 0x98]
lea eax, [esp + 0x18]
push eax
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
push ebx
mov dword [esp + 0x2c], 0
call edx
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x14], eax
call fcn.1003e892
mov ecx, dword [esp + 0x14]
add esp, 4
mov esi, eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [edi + 0x98]
push ecx
push esi
lea edx, [esp + 0x30]
push edx
push ebx
call eax
push esi
call fcn.1003e7b5
mov eax, dword [edi + 0xa0]
add esp, 4
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0
push 0xe
lea edx, [esp + 0x38]
push edx
push ebx
call eax
test eax, eax
jne 0x10078679
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10078679
mov ecx, dword [esp + 0xc]
push ecx
call fcn.1003de3e
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 0xa0]
add esp, 4
push 0
push edx
mov esi, eax
push esi
push 0
push 0xe
lea eax, [esp + 0x38]
push eax
push ebx
call ecx
push esi
call fcn.1003e211
add esp, 4
mov ecx, dword [edi + 0xa0]
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0
push 0
lea eax, [esp + 0x38]
push eax
push ebx
call ecx
test eax, eax
jne 0x100786d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100786d5
mov edx, dword [esp + 0xc]
push edx
call fcn.1003de3e
mov edx, dword [edi + 0xa0]
add esp, 4
push 0
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
push esi
push 0
push 0
lea ecx, [esp + 0x38]
push ecx
push ebx
call edx
push esi
call fcn.1003e211
add esp, 4
mov ecx, dword [edi + 0xa8]
push 0xf003f
push 2
push 0
push 1
lea eax, [esp + 0x34]
push eax
push ebx
call ecx
cmp eax, 0xffffffff
je 0x10078742
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x44]
push ecx
push 0
push 2
push 0x1019aa40
push 0
push eax
mov dword [esp + 0x2c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x10078742
push 0x200
call fcn.1003de3e
mov edx, dword [esp + 0x20]
add esp, 4
lea ecx, [esp + 0x40]
push ecx
push 0x200
push eax
mov dword [edx + 0x28], eax
call fcn.1003dc98
add esp, 0xc
mov eax, dword [esp + 0x20]
inc eax
lea edx, [esp + 0x24]
push edx
push eax
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xa4]
push ebx
call eax
test eax, eax
jne 0x100785c9
mov ecx, dword [edi + 0x90]
push ebx
call ecx
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
call fcn.10077710
push esi
call fcn.100767a0
call fcn.100783e0
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1003dc89
mov esp, ebp
pop ebp
ret