Function at 0x100ac860
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024ca9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x268]
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x2c], ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x30], 0x104
lea eax, [ebp - 0x60]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x268]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, eax
test esi, esi
je 0x100ac8e9
mov dword [ebx + 0x1c], esi
cmp esi, 5
jne 0x100ac903
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test esi, esi
je 0x100ac91f
mov dword [ebx + 0x1c], esi
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x20]
xor ecx, ecx
inc dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x20], eax
mov edi, 2
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006e70d
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006e70d
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x10], 0
je 0x100aca05
mov ecx, dword [ebp + 8]
call fcn.1001cdd0
push dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
call fcn.10033050
xor edi, edi
cmp dword [ebp - 0x10], edi
jbe 0x100aca05
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x1c]
push edi
push dword [ebx + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
jne 0x100ac9ff
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ac9c2
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x4c]
call fcn.1001a600
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 4], 0
call fcn.100313d0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.1001a5a0
inc edi
cmp edi, dword [ebp - 0x10]
jb 0x100ac987
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100acb07
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 4]
mov esi, dword [eax]
cmp esi, edi
je 0x100aca36
nop dword [eax]
mov ecx, esi
call fcn.1001a5a0
add esi, 0x18
cmp esi, edi
jne 0x100aca20
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x18]
mov esi, dword [eax]
mov dword [eax + 4], esi
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jbe 0x100aca6b
cmp ebx, 0xaaaaaaa
ja 0x100acb3b
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.10033090
mov ebx, dword [ebp - 0x18]
xor edi, edi
xor esi, esi
test ebx, ebx
mov ebx, dword [ebp - 0x24]
je 0x100acb0a
nop word [eax + eax]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
xor eax, eax
push eax
push eax
push eax
push eax
mov word [ebx], ax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push ebx
push edi
push dword [eax + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
test esi, esi
jne 0x100acafb
mov ecx, ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100acac0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x4c]
call fcn.1001a600
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 4], 1
call fcn.100313d0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.1001a5a0
inc edi
cmp edi, dword [ebp - 0x18]
jb 0x100aca80
jmp 0x100acb0a
mov ebx, dword [ebp - 0x24]
push dword [ebp - 0x1c]
call fcn.1006e708
push ebx
call fcn.1006e708
add esp, 8
test esi, esi
je 0x100acb25
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x1c], esi
mov ecx, dword [ebp - 0xc]
sete al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.1001b0a0
int3