Function at 0x110ad30
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x127f1ee
call fcn.01160118
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.0107c3e1
push eax
push SysReAllocString
lea ecx, [ebp - 0x2c]
call fcn.01044a77
test eax, eax
jne 0x110af34
push esi
push 0x1002320
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.01044a77
test eax, eax
jne 0x110af34
mov eax, dword [edi + 0xf1c]
push esi
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1c]
call fcn.01044a77
test eax, eax
jne 0x110af34
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 0x110af22
xor eax, eax
cmp dword [ebp - 0x20], 3
sete al
cmp eax, ebx
je 0x110af22
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 0x110ae2c
mov byte [ebp - 4], 2
cmp dword [ebp - 0x10], ebx
je 0x110ae22
push dword [ebp - 0x10]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov esi, 0x8007000e
jmp 0x110af39
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 0x110ae52
mov byte [ebp - 4], 3
push dword [ebp - 0x30]
jmp 0x110af1c
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x30]
call fcn.0117a3a7
test eax, eax
jl 0x110ae6f
cmp dword [ebp - 0x10], ebx
je 0x110ae6f
push dword [ebp - 0x10]
jmp 0x110ae74
push 0x100355c
mov ecx, dword [ebp - 0x24]
add ecx, 0xf34
call fcn.01044f8b
lea ecx, [ebp - 0x14]
call fcn.01107864
push ebx
lea ecx, [ebp - 0x14]
call fcn.01107882
lea ecx, [ebp - 0x10]
call fcn.01107864
push ebx
lea ecx, [ebp - 0x10]
call fcn.01107882
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 0x110aed1
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], ebx
je 0x110af22
jmp 0x110af19
xor eax, eax
cmp dword [ebp - 0x20], 3
sete al
cmp eax, ebx
je 0x110aec6
push dword [ebp - 0x18]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.01107882
cmp dword [ebp - 0x14], ebx
je 0x110ae10
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 0x110af6d
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 0x110af34
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.01044a59
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.01044a59
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.01044a59
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.0117a3a7
test eax, eax
jl 0x110af8a
cmp dword [ebp - 0x10], ebx
je 0x110af8a
push dword [ebp - 0x10]
jmp 0x110af8f
push 0x100355c
mov esi, dword [ebp - 0x24]
add esi, 0xf38
mov ecx, esi
call fcn.01044f8b
lea ecx, [ebp - 0x14]
call fcn.01107864
push ebx
lea ecx, [ebp - 0x14]
call fcn.01107882
lea ecx, [ebp - 0x10]
call fcn.01107864
push ebx
lea ecx, [ebp - 0x10]
call fcn.01107882
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 0x110afe8
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 0x110affa
push dword [ebp - 0x10]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
xor esi, esi
jmp 0x110af39