Function at 0x115d123
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x12852a6
call fcn.01160458
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
cmp esi, edi
jne 0x115d145
mov eax, 0x80004003
jmp 0x115d355
push esi
push dword [ebp + 8]
mov byte [esi + 0x34], 0
mov byte [esi + 0x35], 0
call dword [sym.imp.ole32.dll_CLSIDFromString]
cmp eax, edi
jl 0x115d355
mov ecx, 0x12d2398
call fcn.0107cca6
push eax
lea ecx, [ebp - 0x14]
call fcn.01039a07
mov dword [ebp - 4], edi
push dword [0x12cf8a4]
lea ecx, [ebp - 0x14]
call fcn.01052ada
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.01052ada
mov dword [ebp + 8], edi
mov byte [ebp - 4], 1
push 0xf003f
push dword [ebp - 0x14]
lea ecx, [ebp + 8]
push SysReAllocString
call fcn.01044c82
test eax, eax
je 0x115d1b8
mov esi, 0x80004005
jmp 0x115d33b
push ebx
lea ebx, [esi + 0x30]
push 0x104
mov ecx, ebx
call fcn.0103297b
cmp eax, edi
je 0x115d335
lea ecx, [ebp + 0xc]
push ecx
push dword [0x12cf8c0]
lea ecx, [ebp + 8]
push eax
mov dword [ebp + 0xc], 0x208
call fcn.01044cf1
test eax, eax
jne 0x115d335
push 0xffffffffffffffff
mov ecx, ebx
call fcn.010329e8
push 4
pop ebx
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push dword [0x12cf8a8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
mov dword [ebp + 0xc], ebx
call edi
test eax, eax
jne 0x115d335
cmp dword [ebp - 0x10], ebx
jne 0x115d335
cmp dword [ebp + 0xc], ebx
jne 0x115d335
cmp dword [ebp - 0x18], eax
mov dword [ebp + 0xc], ebx
setne al
mov byte [esi + 0x10], al
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [0x12cf8ac]
push dword [ebp + 8]
call edi
test eax, eax
jne 0x115d335
cmp dword [ebp - 0x10], ebx
jne 0x115d335
cmp dword [ebp + 0xc], ebx
jne 0x115d335
cmp dword [ebp - 0x18], eax
push 8
pop ebx
setne al
mov byte [esi + 0x11], al
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [0x12cf8b0]
mov dword [ebp + 0xc], ebx
push dword [ebp + 8]
call edi
test eax, eax
jne 0x115d335
cmp dword [ebp - 0x10], 3
jne 0x115d335
cmp dword [ebp + 0xc], ebx
jne 0x115d335
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [0x12cf8b4]
mov dword [ebp + 0xc], ebx
push dword [ebp + 8]
call edi
test eax, eax
jne 0x115d335
cmp dword [ebp - 0x10], 3
jne 0x115d335
cmp dword [ebp + 0xc], ebx
jne 0x115d335
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x24], eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [0x12cf8b8]
mov dword [ebp + 0xc], ebx
push dword [ebp + 8]
call edi
test eax, eax
jne 0x115d335
cmp dword [ebp - 0x10], 3
jne 0x115d335
cmp dword [ebp + 0xc], ebx
jne 0x115d335
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x2c], eax
xor esi, esi
jmp 0x115d33a
mov esi, 0x80004005
pop ebx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.01044c64
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.010328fe
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8