Function at 0x10011a40
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x100144ac
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x1001c048]
xor eax, esp
mov dword [esp + 0x2a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001c048]
xor eax, esp
push eax
lea eax, [esp + 0x2bc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2cc]
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
xor ebx, ebx
mov eax, dword [ebx + 0x1001c678]
lea edx, [esp + 0x18]
push edx
lea ebp, [esp + 0xa8]
mov ecx, ebp
push ecx
lea edx, [esp + 0x30]
push edx
push edi
push eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push ecx
mov dword [esp + 0x30], 0x20a
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x10011b09
mov eax, dword [esp + 0x28]
cmp eax, 1
je 0x10011ad5
cmp eax, 2
jne 0x10011daa
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x10011afa
test al, 1
jne 0x10011daa
shr eax, 1
cmp word [esp + eax*2 + 0xa2], di
je 0x10011ba4
jmp 0x10011daa
xor edx, edx
mov word [esp + 0xa4], dx
jmp 0x10011ba4
cmp eax, 0xea
jne 0x10011b9c
xor ecx, ecx
mov eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100134c1
add esp, 4
mov ebp, eax
mov eax, dword [ebx + 0x1001c678]
lea ecx, [esp + 0x18]
push ecx
push ebp
lea edx, [esp + 0x2c]
push edx
push edi
push eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x10011d95
mov eax, dword [esp + 0x24]
cmp eax, 1
je 0x10011b72
cmp eax, 2
jne 0x10011d95
cmp ebp, edi
je 0x10011ba4
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x10011b94
test al, 1
jne 0x10011d95
shr eax, 1
cmp word [ebp + eax*2 - 2], di
je 0x10011ba4
jmp 0x10011d95
xor edx, edx
mov word [ebp], dx
jmp 0x10011ba4
cmp eax, edi
jne 0x10011d95
xor eax, eax
mov word [esp + 0x88], ax
mov eax, ebp
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10011bc5
sub eax, edx
sar eax, 1
push eax
mov eax, ebp
lea esi, [esp + 0x8c]
call fcn.100020b0
mov dword [esp + 0x2c4], edi
mov eax, dword [ebx + 0x1001c678]
xor ecx, ecx
mov word [esp + 0x34], cx
mov ecx, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
lea esi, [ecx + 2]
jmp 0x10011c10
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x10011c10
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x38]
call fcn.100020b0
xor edx, edx
cmp dword [esp + 0x48], 8
mov esi, 7
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], edi
mov word [esp + 0x50], dx
jae 0x10011c62
mov eax, dword [esp + 0x44]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x10011c6e
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x34], edi
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
xor ecx, ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], edi
mov word [esp + 0x34], cx
push edi
lea eax, [esp + 0x8c]
mov byte [esp + 0x2c8], 2
xor edx, edx
push eax
or eax, 0xffffffff
lea ecx, [esp + 0x74]
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], edi
mov word [esp + 0x74], dx
call fcn.10001c50
mov byte [esp + 0x2c4], 4
cmp dword [esp + 0x48], 8
jb 0x10011cdc
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x50]
xor edx, edx
push eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edi
mov word [esp + 0x38], dx
call fcn.10012e30
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
call fcn.100129e0
cmp dword [esp + 0x80], 8
jb 0x10011d21
mov eax, dword [esp + 0x6c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x64], 8
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], edi
mov word [esp + 0x6c], cx
jb 0x10011d48
mov edx, dword [esp + 0x50]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x2c4], 0xffffffff
cmp dword [esp + 0x9c], 8
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], edi
mov word [esp + 0x50], ax
jb 0x10011d7d
mov ecx, dword [esp + 0x88]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], edi
mov word [esp + 0x88], dx
lea eax, [esp + 0xa4]
cmp ebp, eax
je 0x10011daa
push ebp
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
add ebx, 4
cmp ebx, 0x44
jb 0x10011a8e
mov al, 1
mov ecx, dword [esp + 0x2bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2a0]
xor ecx, esp
call fcn.100134d2
add esp, 0x2b4
ret