Function at 0x56cb79
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea edi, [ebp - 0x13c]
mov esi, 0x80040201
push 0x64
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 0xc]
call sub.ole32.dll_StringFromGUID2
test eax, eax
je 0x56cdb3
push 0
push 0
push 0x64
lea edx, [ebp - 0xd8]
push edx
push 0xffffffffffffffff
lea ecx, [ebp - 0x74]
push ecx
push 0
push 0
call sub.KERNEL32.DLL_WideCharToMultiByte
cmp dword [ebp + 8], 0
je 0x56ccfc
xor eax, eax
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
push edi
call sub.KERNEL32.DLL_lstrcpyA
mov eax, edi
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.0056cdbe
push edi
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
add ebx, edi
push 0x5b58c5
push edi
call sub.KERNEL32.DLL_lstrcatA
lea ecx, [ebp - 0xd8]
mov eax, edi
xor edx, edx
call fcn.0056cdbe
cmp dword [ebp + 0x14], 0
je 0x56cc3a
mov byte [ebx], 0
push 0x5b58cc
push edi
call sub.KERNEL32.DLL_lstrcatA
mov eax, edi
mov ecx, dword [ebp + 0x14]
xor edx, edx
call fcn.0056cdbe
xor esi, esi
jmp 0x56cdb3
push 0x5b58d4
push edi
call sub.KERNEL32.DLL_lstrcpyA
lea eax, [ebp - 0xd8]
push eax
push edi
call sub.KERNEL32.DLL_lstrcatA
mov eax, edi
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.0056cdbe
push edi
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
add ebx, edi
push 0x5b58db
push edi
call sub.KERNEL32.DLL_lstrcatA
mov eax, edi
mov ecx, dword [ebp - 8]
xor edx, edx
call fcn.0056cdbe
mov byte [ebx], 0
push 0x5b58e3
push edi
call sub.KERNEL32.DLL_lstrcatA
mov eax, edi
mov ecx, dword [ebp - 4]
xor edx, edx
call fcn.0056cdbe
lea eax, [ebp - 0x10]
push eax
push 2
push 0
push edi
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA_1
mov esi, eax
test esi, esi
jne 0x56ccd2
push 0xa
push 0x5b5902
push 1
push 0
push 0x5b58f3
push dword [ebp - 0x10]
call sub.advapi32.dll_RegSetValueExA
push dword [ebp - 0x10]
call sub.advapi32.dll_RegCloseKey_1
xor esi, esi
cmp dword [ebp + 0x10], 0
je 0x56ccf4
mov byte [ebx], 0
push 0x5b590c
push edi
call sub.KERNEL32.DLL_lstrcatA
mov eax, edi
mov ecx, dword [ebp + 0x10]
xor edx, edx
call fcn.0056cdbe
mov byte [ebx], 0
jmp 0x56cdb3
cmp dword [ebp + 0x14], 0
jne 0x56cd6d
push 0x5b5926
push edi
call sub.KERNEL32.DLL_lstrcpyA
lea eax, [ebp - 0xd8]
push eax
push edi
call sub.KERNEL32.DLL_lstrcatA
push edi
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
add ebx, edi
mov byte [ebx], 0
push 0x5b592d
push edi
call sub.KERNEL32.DLL_lstrcatA
mov eax, edi
call fcn.0056ce1b
mov byte [ebx], 0
push 0x5b593d
push edi
call sub.KERNEL32.DLL_lstrcatA
mov eax, edi
call fcn.0056ce1b
mov byte [ebx], 0
push 0x5b5945
push edi
call sub.KERNEL32.DLL_lstrcatA
mov eax, edi
call fcn.0056ce1b
mov byte [ebx], 0
mov eax, edi
call fcn.0056ce1b
push dword [ebp - 8]
push edi
call sub.KERNEL32.DLL_lstrcpyA
push edi
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
add ebx, edi
push 0x5b595f
push edi
call sub.KERNEL32.DLL_lstrcatA
mov eax, edi
call fcn.0056ce1b
mov byte [ebx], 0
push 0x5b5966
push edi
call sub.KERNEL32.DLL_lstrcatA
mov eax, edi
call fcn.0056ce1b
mov byte [ebx], 0
mov eax, edi
call fcn.0056ce1b
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10