Function at 0x10aa2d3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x54
mov eax, 0x10d1c84
call fcn.010987cc
mov esi, ecx
push 0
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0xff
push 0xb
push 0x1fa
push 0x1037b04
mov ebx, 0x103775c
push ebx
mov edi, 0x10376f0
push edi
call fcn.01099386
lea ecx, [ebp - 0x60]
call fcn.0109a83a
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 0x10aa3bd
cmp byte [ebp + 0x10], 0
je 0x10aa3b6
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp + 8]
push dword [esi + 0x10]
push dword [esi + 8]
mov esi, 0xff
push 0x1037a70
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 0x10], esp
push esi
push 0xb
push 0x210
push 0x1037b04
push ebx
push edi
call fcn.01099386
lea eax, [ebp - 0x60]
push eax
call fcn.0109ce5e
add esp, 0x74
push 0x1037a3c
push 0x80042308
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 0x10], esp
push esi
push 0xb
push 0x213
push 0x1037b04
push ebx
push edi
call fcn.01099386
lea eax, [ebp - 0x60]
push eax
call fcn.0109b1b1
push 0
jmp 0x10aa550
xor ecx, ecx
cmp eax, ecx
je 0x10aa416
cmp eax, 0xea
je 0x10aa416
cmp eax, ecx
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp + 8]
push dword [esi + 0x10]
push dword [esi + 8]
push 0x10379d8
jle 0x10aa3ec
and eax, 0xffff
or eax, 0x80070000
push eax
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 0x10], esp
push 0xff
push 0xb
push 0x219
push 0x1037b04
push ebx
push edi
call fcn.01099386
lea eax, [ebp - 0x60]
push eax
call fcn.0109c3bb
push 4
pop eax
cmp dword [ebp - 0x10], eax
je 0x10aa4a2
push dword [ebp + 8]
push dword [esi + 0x10]
push 0x1037918
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0xff
push 0xb
push 0x220
push 0x1037b04
push ebx
push edi
call fcn.01099386
lea eax, [ebp - 0x60]
push eax
call fcn.0109ce5e
add esp, 0x68
cmp byte [ebp + 0x10], 0
je 0x10aa3b6
push dword [ebp + 8]
push dword [esi + 0x10]
push dword [esi + 8]
push dword [ebp - 0x10]
push 0x10378a8
push 0x80042302
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 0x10], esp
push 0xff
push 0xb
push 0x223
push 0x1037b04
push ebx
push edi
call fcn.01099386
lea eax, [ebp - 0x60]
push eax
call fcn.0109b1b1
cmp dword [ebp - 0x14], eax
je 0x10aa4e6
push dword [ebp + 8]
push dword [esi + 0x10]
push dword [esi + 8]
push dword [ebp - 0x14]
push 0x1037838
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 0x10], esp
push 0xff
push 0xb
push 0x22d
push 0x1037b04
push ebx
push edi
call fcn.01099386
lea eax, [ebp - 0x60]
push eax
call fcn.0109c3bb
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push ecx
push dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
push dword [esi + 8]
mov dword [ebp - 0x20], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10aa546
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp + 8]
push dword [esi + 0x10]
push dword [esi + 8]
push 0x10379d8
jle 0x10aa52c
and eax, 0xffff
or eax, 0x80070000
push eax
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 0x10], esp
push 0xff
push 0xb
push 0x23c
jmp 0x10aa401
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x60]
call fcn.01046874
lea ecx, [ebp - 0x60]
mov bl, al
call fcn.0109a8f3
mov al, bl
call fcn.010988b8
ret 0xc