Function at 0x10aa56b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x54
mov eax, 0x10d1a9b
call fcn.010989c0
mov esi, ecx
push 0
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0xff
push 0xb
push 0x1fa
push 0x1037c2c
mov ebx, 0x1037884
push ebx
mov edi, 0x1037818
push edi
call fcn.0109958e
lea ecx, [ebp - 0x60]
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 0x10aa655
cmp byte [ebp + 0x10], 0
je 0x10aa64e
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp + 8]
push dword [esi + 0x10]
push dword [esi + 8]
mov esi, 0xff
push 0x1037b98
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 0x10], esp
push esi
push 0xb
push 0x210
push 0x1037c2c
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x60]
push eax
call fcn.0109d083
add esp, 0x74
push 0x1037b64
push 0x80042308
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 0x10], esp
push esi
push 0xb
push 0x213
push 0x1037c2c
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x60]
push eax
call fcn.0109b3d6
push 0
jmp 0x10aa7e8
xor ecx, ecx
cmp eax, ecx
je 0x10aa6ae
cmp eax, 0xea
je 0x10aa6ae
cmp eax, ecx
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp + 8]
push dword [esi + 0x10]
push dword [esi + 8]
push 0x1037b00
jle 0x10aa684
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 0x1037c2c
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x60]
push eax
call fcn.0109c5e0
push 4
pop eax
cmp dword [ebp - 0x10], eax
je 0x10aa73a
push dword [ebp + 8]
push dword [esi + 0x10]
push 0x1037a40
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0xff
push 0xb
push 0x220
push 0x1037c2c
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x60]
push eax
call fcn.0109d083
add esp, 0x68
cmp byte [ebp + 0x10], 0
je 0x10aa64e
push dword [ebp + 8]
push dword [esi + 0x10]
push dword [esi + 8]
push dword [ebp - 0x10]
push 0x10379d0
push 0x80042302
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 0x10], esp
push 0xff
push 0xb
push 0x223
push 0x1037c2c
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x60]
push eax
call fcn.0109b3d6
cmp dword [ebp - 0x14], eax
je 0x10aa77e
push dword [ebp + 8]
push dword [esi + 0x10]
push dword [esi + 8]
push dword [ebp - 0x14]
push 0x1037960
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 0x10], esp
push 0xff
push 0xb
push 0x22d
push 0x1037c2c
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x60]
push eax
call fcn.0109c5e0
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 0x10aa7de
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp + 8]
push dword [esi + 0x10]
push dword [esi + 8]
push 0x1037b00
jle 0x10aa7c4
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 0x10aa699
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x60]
call fcn.0104693b
lea ecx, [ebp - 0x60]
mov bl, al
call fcn.0109ab18
mov al, bl
call fcn.01098aac
ret 0xc