Function at 0x115cd03
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1285348
call fcn.01160118
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
cmp esi, edi
jne 0x115cd25
mov eax, 0x80004003
jmp 0x115cf35
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 0x115cf35
mov ecx, 0x12d2398
call fcn.0107c3e1
push eax
lea ecx, [ebp - 0x14]
call fcn.01039819
mov dword [ebp - 4], edi
push dword [0x12cf8a4]
lea ecx, [ebp - 0x14]
call fcn.010524eb
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.010524eb
mov dword [ebp + 8], edi
mov byte [ebp - 4], 1
push 0xf003f
push dword [ebp - 0x14]
lea ecx, [ebp + 8]
push SysReAllocString
call fcn.01044a77
test eax, eax
je 0x115cd98
mov esi, 0x80004005
jmp 0x115cf1b
push ebx
lea ebx, [esi + 0x30]
push 0x104
mov ecx, ebx
call fcn.01032987
cmp eax, edi
je 0x115cf15
lea ecx, [ebp + 0xc]
push ecx
push dword [0x12cf8c0]
lea ecx, [ebp + 8]
push eax
mov dword [ebp + 0xc], 0x208
call fcn.01044ae6
test eax, eax
jne 0x115cf15
push 0xffffffffffffffff
mov ecx, ebx
call fcn.010329f4
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 0x115cf15
cmp dword [ebp - 0x10], ebx
jne 0x115cf15
cmp dword [ebp + 0xc], ebx
jne 0x115cf15
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 0x115cf15
cmp dword [ebp - 0x10], ebx
jne 0x115cf15
cmp dword [ebp + 0xc], ebx
jne 0x115cf15
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 0x115cf15
cmp dword [ebp - 0x10], 3
jne 0x115cf15
cmp dword [ebp + 0xc], ebx
jne 0x115cf15
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 0x115cf15
cmp dword [ebp - 0x10], 3
jne 0x115cf15
cmp dword [ebp + 0xc], ebx
jne 0x115cf15
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 0x115cf15
cmp dword [ebp - 0x10], 3
jne 0x115cf15
cmp dword [ebp + 0xc], ebx
jne 0x115cf15
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x2c], eax
xor esi, esi
jmp 0x115cf1a
mov esi, 0x80004005
pop ebx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.01044a59
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0103290a
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8