Function at 0x10076390
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009f41c
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov word [esp + 0x34], cx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
call fcn.10008c80
mov dword [esp + 0x2b0], 0
xor eax, eax
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], eax
mov word [esp + 0x5c], ax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], eax
mov word [esp + 0x44], ax
push 1
push eax
push 0x100a21f4
lea ecx, [esp + 0x38]
mov byte [esp + 0x2bc], 3
call fcn.10008750
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov edi, eax
cmp edi, 0xffffffff
je 0x1007652f
push edi
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.10011440
mov ebx, eax
lea eax, [esp + 0x74]
cmp eax, ebx
je 0x100764c0
cmp dword [esp + 0x88], 8
jb 0x10076499
push dword [esp + 0x74]
call esi
add esp, 4
xor eax, eax
push ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], 0
mov word [esp + 0x78], ax
call fcn.1000d5d0
cmp dword [esp + 0x24], 8
jb 0x100764d0
push dword [esp + 0x10]
call esi
add esp, 4
push 0xffffffffffffffff
lea eax, [edi + 1]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.10011440
mov edi, eax
lea eax, [esp + 0x2c]
cmp eax, edi
je 0x1007651f
cmp dword [esp + 0x40], 8
jb 0x100764fe
push dword [esp + 0x2c]
call esi
add esp, 4
xor eax, eax
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
call fcn.1000d5d0
cmp dword [esp + 0x24], 8
jb 0x1007652f
push dword [esp + 0x10]
call esi
add esp, 4
push 1
push 0xffffffffffffffff
push 0x100a21f4
lea ecx, [esp + 0x38]
call fcn.10016c40
mov edi, eax
cmp edi, 0xffffffff
je 0x10076607
push 0xffffffffffffffff
lea ecx, [edi + 1]
push ecx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.10011440
mov ebx, eax
lea eax, [esp + 0x44]
cmp eax, ebx
je 0x1007659b
cmp dword [esp + 0x58], 8
jb 0x1007657a
push dword [esp + 0x44]
call esi
add esp, 4
xor eax, eax
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
call fcn.1000d5d0
cmp dword [esp + 0x24], 8
jb 0x100765ab
push dword [esp + 0x10]
call esi
add esp, 4
push edi
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.10011440
mov edi, eax
lea eax, [esp + 0x5c]
cmp eax, edi
je 0x100765f7
cmp dword [esp + 0x70], 8
jb 0x100765d6
push dword [esp + 0x5c]
call esi
add esp, 4
xor eax, eax
push edi
lea ecx, [esp + 0x60]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 0
mov word [esp + 0x60], ax
call fcn.1000d5d0
cmp dword [esp + 0x24], 8
jb 0x10076607
push dword [esp + 0x10]
call esi
add esp, 4
lea edx, [esp + 0x74]
lea ecx, [esp + 0x28]
call fcn.10075d30
lea ecx, [esp + 0x28]
push ecx
push 0x20019
xor bl, bl
cmp dword [esp + 0x78], 8
lea eax, [esp + 0x64]
cmovae eax, dword [esp + 0x64]
push 0
push eax
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100766b3
push 0x206
push eax
mov word [esp + 0x9c], ax
lea eax, [esp + 0x9e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [esp + 0x58], 8
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x98]
push ecx
lea eax, [esp + 0x50]
cmovae eax, dword [esp + 0x50]
push 0
push eax
push dword [esp + 0x3c]
mov dword [esp + 0xa8], 1
mov dword [esp + 0xa4], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, bl
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100766c2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x58], 8
jb 0x100766d2
push dword [esp + 0x44]
call esi
add esp, 4
xor eax, eax
cmp dword [esp + 0x70], 8
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
jb 0x100766f9
push dword [esp + 0x5c]
call esi
add esp, 4
xor eax, eax
cmp dword [esp + 0x88], 8
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
jb 0x10076723
push dword [esp + 0x74]
call esi
add esp, 4
xor eax, eax
cmp dword [esp + 0x40], 8
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
jb 0x10076750
push dword [esp + 0x2c]
call esi
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret