Function at 0x1000dac0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1001d959
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10025814]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov esi, 1
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov bl, 4
push eax
mov byte [esp + 0x38], bl
call fcn.10001350
mov edi, dword [esp + 0x40]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax - 0xc]
mov dword [esp + 0x1c], esi
cmp eax, ebp
je 0x1000db76
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x1c]
push 0x1001e44c
push edx
call fcn.1000c950
add esp, 0xc
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x38], 5
call fcn.100028b0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x34], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000db76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
call fcn.1000d950
lea edx, [esp + 0x48]
push edx
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x44], 6
call fcn.1000c880
mov eax, dword [eax]
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebp
push eax
push SysReAllocString
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebp
jne 0x1000dbc9
mov edx, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000dbe9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x34], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000dc0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x24]
cmp esi, ebp
jne 0x1000dce6
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x14]
push ecx
push ebp
lea edx, [esp + 0x28]
push edx
push ebp
push eax
xor esi, esi
push ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebp
jne 0x1000dc57
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x1000dc4d
cmp eax, 2
jne 0x1000dc57
mov esi, dword [esp + 0x14]
shr esi, 1
mov dword [esp + 0x18], esi
mov eax, dword [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
lea edx, [esi + 1]
sub eax, edx
or eax, ecx
jge 0x1000dc78
push edx
mov ecx, edi
call fcn.10001780
mov eax, dword [edi]
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x18]
push ecx
push eax
push edx
lea ecx, [esp + 0x30]
call fcn.1000bdb0
mov esi, eax
mov eax, dword [edi]
mov ecx, dword [eax - 8]
cmp eax, ebp
jne 0x1000dc9d
xor eax, eax
jmp 0x1000dcaf
push ecx
push eax
call fcn.1000f85a
add esp, 8
cmp eax, ebp
jl 0x1000dd76
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x1000dd76
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + eax*2], dx
cmp esi, ebp
je 0x1000dcd5
lea eax, [esp + 0x48]
push eax
mov ecx, edi
call fcn.100028b0
cmp ebx, ebp
je 0x1000dcf1
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], ebp
mov ebx, ebp
cmp ebx, ebp
je 0x1000dcf1
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x34], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000dd16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x34], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000dd3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x34], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000dd60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push 0x80070057
call fcn.10001000
int3