Function at 0x115cd5c
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x128515a
call fcn.01160168
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
cmp esi, edi
jne 0x115cd7e
mov eax, 0x80004003
jmp 0x115cf8e
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 0x115cf8e
mov ecx, 0x12d2398
call fcn.0107c455
push eax
lea ecx, [ebp - 0x14]
call fcn.0103966b
mov dword [ebp - 4], edi
push dword [0x12cf8a4]
lea ecx, [ebp - 0x14]
call fcn.010524f5
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.010524f5
mov dword [ebp + 8], edi
mov byte [ebp - 4], 1
push 0xf003f
push dword [ebp - 0x14]
lea ecx, [ebp + 8]
push 0x80000001
call fcn.010449e2
test eax, eax
je 0x115cdf1
mov esi, 0x80004005
jmp 0x115cf74
push ebx
lea ebx, [esi + 0x30]
push 0x104
mov ecx, ebx
call fcn.0103299e
cmp eax, edi
je 0x115cf6e
lea ecx, [ebp + 0xc]
push ecx
push dword [0x12cf8c0]
lea ecx, [ebp + 8]
push eax
mov dword [ebp + 0xc], 0x208
call fcn.01044a51
test eax, eax
jne 0x115cf6e
push 0xffffffffffffffff
mov ecx, ebx
call fcn.01032a0b
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 0x115cf6e
cmp dword [ebp - 0x10], ebx
jne 0x115cf6e
cmp dword [ebp + 0xc], ebx
jne 0x115cf6e
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 0x115cf6e
cmp dword [ebp - 0x10], ebx
jne 0x115cf6e
cmp dword [ebp + 0xc], ebx
jne 0x115cf6e
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 0x115cf6e
cmp dword [ebp - 0x10], 3
jne 0x115cf6e
cmp dword [ebp + 0xc], ebx
jne 0x115cf6e
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 0x115cf6e
cmp dword [ebp - 0x10], 3
jne 0x115cf6e
cmp dword [ebp + 0xc], ebx
jne 0x115cf6e
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 0x115cf6e
cmp dword [ebp - 0x10], 3
jne 0x115cf6e
cmp dword [ebp + 0xc], ebx
jne 0x115cf6e
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x2c], eax
xor esi, esi
jmp 0x115cf73
mov esi, 0x80004005
pop ebx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.010449c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.010328fa
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8