Function at 0x110ae22
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x127f14c
call fcn.01160458
sub esp, 0x28
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 2
mov esi, 0xf003f
push esi
mov ecx, 0x12d2398
call fcn.0107cca6
push eax
push SysReAllocString
lea ecx, [ebp - 0x2c]
call fcn.01044c82
test eax, eax
jne 0x110b026
push esi
push 0x1002320
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.01044c82
test eax, eax
jne 0x110b026
mov eax, dword [edi + 0xf1c]
push esi
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1c]
call fcn.01044c82
test eax, eax
jne 0x110b026
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 3
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
mov edi, 0x1002018
push edi
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
call esi
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x30], eax
je 0x110b014
xor eax, eax
cmp dword [ebp - 0x20], 3
sete al
cmp eax, ebx
je 0x110b014
push dword [ebp - 0x18]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
cmp eax, ebx
jne 0x110af1e
mov byte [ebp - 4], 2
cmp dword [ebp - 0x10], ebx
je 0x110af14
push dword [ebp - 0x10]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov esi, 0x8007000e
jmp 0x110b02b
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push edi
push dword [ebp - 0x1c]
call esi
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x34], eax
jne 0x110af44
mov byte [ebp - 4], 3
push dword [ebp - 0x30]
jmp 0x110b00e
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x30]
call fcn.0117a650
test eax, eax
jl 0x110af61
cmp dword [ebp - 0x10], ebx
je 0x110af61
push dword [ebp - 0x10]
jmp 0x110af66
push 0x100355c
mov ecx, dword [ebp - 0x24]
add ecx, 0xf34
call fcn.01045196
lea ecx, [ebp - 0x14]
call fcn.0110791a
push ebx
lea ecx, [ebp - 0x14]
call fcn.01107938
lea ecx, [ebp - 0x10]
call fcn.0110791a
push ebx
lea ecx, [ebp - 0x10]
call fcn.01107938
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
mov edi, 0x1002004
push edi
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
call esi
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x34], eax
jne 0x110afc3
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], ebx
je 0x110b014
jmp 0x110b00b
xor eax, eax
cmp dword [ebp - 0x20], 3
sete al
cmp eax, ebx
je 0x110afb8
push dword [ebp - 0x18]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.01107938
cmp dword [ebp - 0x14], ebx
je 0x110af02
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push ebx
push edi
push dword [ebp - 0x1c]
call esi
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x34], eax
jne 0x110b05f
mov byte [ebp - 4], 3
push dword [ebp - 0x14]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x10], ebx
je 0x110b026
push dword [ebp - 0x10]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov esi, 0x80004005
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.01044c64
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.01044c64
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.01044c64
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.0117a650
test eax, eax
jl 0x110b07c
cmp dword [ebp - 0x10], ebx
je 0x110b07c
push dword [ebp - 0x10]
jmp 0x110b081
push 0x100355c
mov esi, dword [ebp - 0x24]
add esi, 0xf38
mov ecx, esi
call fcn.01045196
lea ecx, [ebp - 0x14]
call fcn.0110791a
push ebx
lea ecx, [ebp - 0x14]
call fcn.01107938
lea ecx, [ebp - 0x10]
call fcn.0110791a
push ebx
lea ecx, [ebp - 0x10]
call fcn.01107938
mov eax, dword [esi]
mov eax, dword [eax - 8]
xor ecx, ecx
cmp eax, ebx
mov eax, dword [ebp - 0x24]
setg cl
mov dword [eax + 0xdb8], ecx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], ebx
je 0x110b0da
push dword [ebp - 0x14]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x10], ebx
je 0x110b0ec
push dword [ebp - 0x10]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
xor esi, esi
jmp 0x110b02b