Function at 0x4cf180
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov esi, 0x555704
mov edi, str.DisplayName
mov ebp, esp
cmp dword [0x532a54], 0
je 0x4cf1c2
lea eax, [edi + 0xd]
push eax
push edi
call fcn.004f1c48
push 0x52feac
lea edx, [edi + 0x13]
push edx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push esi
lea ecx, [edi + 0x2e]
push ecx
call fcn.004f1c48
push ebp
lea eax, [edi + 0x3f]
push eax
push 0x80000000
call sub.ADVAPI32.dll_RegCreateKeyA
mov ebx, eax
test ebx, ebx
je 0x4cf1de
xor eax, eax
jmp 0x4cf5a6
push esi
push edi
lea eax, [edi + 0x45]
mov edi, esi
mov esi, eax
mov eax, edi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
push esi
call fcn.005183dc
pop ecx
inc eax
push eax
push esi
push 1
lea edx, [edi + 0x4f]
push edx
push dword [ebp]
call sub.ADVAPI32.dll_RegSetValueA
mov ebx, eax
push dword [ebp]
call sub.ADVAPI32.dll_RegCloseKey
test ebx, ebx
je 0x4cf21b
xor eax, eax
jmp 0x4cf5a6
push ebp
lea edx, [edi + 0x51]
push edx
push 0x80000000
call sub.ADVAPI32.dll_RegCreateKeyA
mov ebx, eax
test ebx, ebx
je 0x4cf237
xor eax, eax
jmp 0x4cf5a6
push esi
push edi
lea eax, [edi + 0x58]
mov edi, esi
mov esi, eax
mov eax, edi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
push esi
call fcn.005183dc
pop ecx
inc eax
push eax
push esi
push 1
lea edx, [edi + 0x62]
push edx
push dword [ebp]
call sub.ADVAPI32.dll_RegSetValueA
mov ebx, eax
push dword [ebp]
call sub.ADVAPI32.dll_RegCloseKey
test ebx, ebx
je 0x4cf274
xor eax, eax
jmp 0x4cf5a6
push esi
push edi
lea eax, [edi + 0x64]
mov edi, esi
mov esi, eax
mov eax, edi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
push ebp
push esi
push 0x80000000
call sub.ADVAPI32.dll_RegCreateKeyA
mov ebx, eax
test ebx, ebx
je 0x4cf29d
xor eax, eax
jmp 0x4cf5a6
push esi
push edi
lea eax, [edi + 0x6e]
mov edi, esi
mov esi, eax
mov eax, edi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
push esi
call fcn.005183dc
pop ecx
inc eax
push eax
push esi
push 1
lea edx, [edi + 0x79]
push edx
push dword [ebp]
call sub.ADVAPI32.dll_RegSetValueA
mov ebx, eax
push dword [ebp]
call sub.ADVAPI32.dll_RegCloseKey
test ebx, ebx
je 0x4cf2db
xor eax, eax
jmp 0x4cf5a6
push esi
push edi
lea eax, [edi + 0x7b]
mov edi, esi
mov esi, eax
mov eax, edi
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
push ebp
push esi
push 0x80000000
call sub.ADVAPI32.dll_RegCreateKeyA
mov ebx, eax
test ebx, ebx
je 0x4cf309
xor eax, eax
jmp 0x4cf5a6
push 0x52feac
lea edx, [edi + 0x91]
push edx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push esi
call fcn.005183dc
pop ecx
inc eax
push eax
push esi
push 1
lea ecx, [edi + 0xa1]
push ecx
push dword [ebp]
call sub.ADVAPI32.dll_RegSetValueA
mov ebx, eax
push dword [ebp]
call sub.ADVAPI32.dll_RegCloseKey
test ebx, ebx
je 0x4cf34e
xor eax, eax
jmp 0x4cf5a6
push esi
push edi
lea eax, [edi + 0xa3]
mov edi, esi
mov esi, eax
mov eax, edi
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push ebp
push esi
push 0x80000000
call sub.ADVAPI32.dll_RegCreateKeyA
mov ebx, eax
test ebx, ebx
je 0x4cf37e
xor eax, eax
jmp 0x4cf5a6
push 0x52feac
lea edx, [edi + 0xc0]
push edx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push esi
call fcn.005183dc
pop ecx
inc eax
push eax
push esi
push 1
lea ecx, [edi + 0xd4]
push ecx
push dword [ebp]
call sub.ADVAPI32.dll_RegSetValueA
mov ebx, eax
push dword [ebp]
call sub.ADVAPI32.dll_RegCloseKey
test ebx, ebx
je 0x4cf3c3
xor eax, eax
jmp 0x4cf5a6
cmp dword [0x532a54], 0
je 0x4cf5a1
lea edx, [esp + 4]
push edx
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x20006
push 0
lea eax, [edi + 0xec]
push eax
push 0
lea edx, [edi + 0xd6]
push edx
push 0x80000002
call sub.ADVAPI32.dll_RegCreateKeyExA
test eax, eax
je 0x4cf408
xor eax, eax
jmp 0x4cf5a6
lea edx, [edi + 0xee]
push edx
push esi
call sub.USER32.dll_wsprintfA
add esp, 8
push esi
call fcn.005183dc
pop ecx
inc eax
push eax
push esi
push 1
push 0
push 0
push dword [esp + 0x1c]
call sub.ADVAPI32.dll_RegSetValueExA
test eax, eax
je 0x4cf43c
xor eax, eax
jmp 0x4cf5a6
mov dword [esp + 4], 2
push 4
lea edx, [esp + 8]
push edx
push 3
push 0
lea ecx, [edi + 0xff]
push ecx
push dword [esp + 0x1c]
call sub.ADVAPI32.dll_RegSetValueExA
test eax, eax
je 0x4cf46a
xor eax, eax
jmp 0x4cf5a6
lea edx, [edi + 0x109]
push edx
push esi
call sub.USER32.dll_wsprintfA
add esp, 8
push esi
call fcn.005183dc
pop ecx
inc eax
push eax
push esi
push 1
push 0
lea ecx, [edi + 0x10b]
push ecx
push dword [esp + 0x1c]
call sub.ADVAPI32.dll_RegSetValueExA
test eax, eax
je 0x4cf4a3
xor eax, eax
jmp 0x4cf5a6
push dword [esp + 8]
call sub.ADVAPI32.dll_RegCloseKey
lea edx, [esp + 4]
push edx
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x20006
push 0
lea eax, [edi + 0x13a]
push eax
push 0
lea edx, [edi + 0x118]
push edx
push 0x80000002
call sub.ADVAPI32.dll_RegCreateKeyExA
test eax, eax
je 0x4cf4e4
xor eax, eax
jmp 0x4cf5a6
push 0x52feac
lea edx, [edi + 0x13c]
push edx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push esi
call fcn.005183dc
pop ecx
inc eax
push eax
push esi
push 1
push 0
push 0
push dword [esp + 0x1c]
call sub.ADVAPI32.dll_RegSetValueExA
test eax, eax
je 0x4cf51d
xor eax, eax
jmp 0x4cf5a6
push dword [esp + 8]
call sub.ADVAPI32.dll_RegCloseKey
lea edx, [esp + 4]
push edx
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x20006
push 0
lea eax, [edi + 0x175]
push eax
push 0
lea edx, [edi + 0x14c]
push edx
push 0x80000002
call sub.ADVAPI32.dll_RegCreateKeyExA
test eax, eax
je 0x4cf55b
xor eax, eax
jmp 0x4cf5a6
push 0x52feac
lea edx, [edi + 0x177]
push edx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push esi
call fcn.005183dc
pop ecx
inc eax
push eax
push esi
push 1
push 0
push 0
push dword [esp + 0x1c]
call sub.ADVAPI32.dll_RegSetValueExA
test eax, eax
je 0x4cf591
xor eax, eax
jmp 0x4cf5a6
push dword [esp + 8]
call sub.ADVAPI32.dll_RegCloseKey
mov eax, 1
jmp 0x4cf5a6
mov eax, 1
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret