Function at 0x10ac02b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x10d3b28
call fcn.010989c0
mov esi, ecx
push 0
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0xff
push 0xb
push 0x18c
push 0x1037c2c
mov ebx, 0x1037884
push ebx
mov edi, 0x1037818
push edi
call fcn.0109958e
lea ecx, [ebp - 0x64]
call fcn.0109aa5f
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx], eax
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push dword [esi + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x10ac123
cmp byte [ebp + 0x10], 0
je 0x10ac112
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp + 8]
push dword [esi + 0x10]
push dword [esi + 8]
mov esi, 0x1037c2c
push 0x1037b98
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 0x10], esp
push 0xff
push 0xb
push 0x1a3
push esi
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x64]
push eax
call fcn.0109d083
add esp, 0x74
push 0x1037b64
push 0x80042308
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 0x10], esp
push 0xff
push 0xb
push 0x1a6
push esi
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x64]
push eax
call fcn.0109b3d6
push 0
lea ecx, [ebp - 0x64]
call fcn.0104693b
mov bl, al
jmp 0x10ac273
test eax, eax
je 0x10ac17a
cmp eax, 0xea
je 0x10ac17a
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp + 8]
push dword [esi + 0x10]
push dword [esi + 8]
push 0x1037b00
test eax, eax
jle 0x10ac150
and eax, 0xffff
or eax, 0x80070000
push eax
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 0x10], esp
push 0xff
push 0xb
push 0x1ac
push 0x1037c2c
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x64]
push eax
call fcn.0109c5e0
cmp dword [ebp - 0x10], 1
je 0x10ac1c5
cmp dword [ebp - 0x10], 2
je 0x10ac1c5
push dword [ebp + 8]
push dword [esi + 0x10]
push dword [esi + 8]
push dword [ebp - 0x10]
push 0x1039f08
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 0x10], esp
push 0xff
push 0xb
push 0x1b2
push 0x1037c2c
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x64]
push eax
call fcn.0109c5e0
and dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0x10063bc
mov eax, dword [ebp - 0x14]
shr eax, 1
add eax, eax
mov dword [ebp + 0x10], eax
add eax, 2
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0104a282
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10ac24b
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp + 8]
push dword [esi + 0x10]
push dword [esi + 8]
push 0x1037b00
jle 0x10ac231
and eax, 0xffff
or eax, 0x80070000
push eax
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 0x10], esp
push 0xff
push 0xb
push 0x1c7
jmp 0x10ac165
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 0x10]
xor ecx, ecx
and dword [ebp - 0x20], ecx
mov word [edx + eax], cx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x64]
call fcn.0104693b
lea ecx, [ebp - 0x24]
mov bl, al
call fcn.01091a02
lea ecx, [ebp - 0x64]
call fcn.0109ab18
mov al, bl
call fcn.01098aac
ret 0xc