Function at 0x4cc130
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59138e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2110
call fcn.00555ae0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x1c], edi
xor esi, esi
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x2120]
push eax
call fcn.004caf50
cmp eax, esi
jl 0x4cc482
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x2120]
push edx
call fcn.004cad30
add esp, 8
test eax, eax
jne 0x4cc1a6
mov eax, 0x80020009
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, edi
call fcn.004caef0
lea eax, [ebp - 0x2120]
push eax
mov ecx, edi
call fcn.004caf50
cmp eax, esi
jl 0x4cc482
movzx eax, word [ebp - 0x14]
cmp eax, 0x13
jg 0x4cc388
je 0x4cc348
cmp eax, 8
je 0x4cc32f
cmp eax, 0x11
jne 0x4cc46d
lea ecx, [ebp - 0x2120]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test bl, 1
jne 0x4cc269
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x120], esi
mov esi, 4
mov dword [ebp - 4], esi
mov byte [ebp - 4], 5
push edi
lea ecx, [ebp - 0x120]
call fcn.004cbd00
mov dword [ebp - 4], esi
jmp 0x4cc23f
mov eax, dword [ebp - 0x120]
test eax, eax
jne 0x4cc281
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x11c]
cmp dword [ebp - 0x120], edx
je 0x4cc269
lea ecx, [ebp - 0x120]
call fcn.004021b0
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push edi
push 0
push eax
call fcn.00555020
add esp, 0xc
xor esi, esi
test ebx, ebx
jle 0x4cc2cb
mov edi, esi
shr edi, 1
add edi, dword [ebp - 0x120]
movzx edx, word [ebp + esi*2 - 0x2120]
push edx
call fcn.004cae20
add esp, 4
mov ecx, esi
and ecx, 1
add ecx, ecx
lea edx, [ecx + ecx]
mov ecx, 4
sub ecx, edx
shl al, cl
or byte [edi], al
inc esi
cmp esi, ebx
jl 0x4cc293
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push edi
mov ecx, dword [ebp - 0x120]
push ecx
push 3
push 0
mov edx, dword [ebp + 0xc]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x11c]
cmp dword [ebp - 0x120], eax
je 0x4cc309
lea ecx, [ebp - 0x120]
call fcn.004021b0
xor esi, esi
cmp edi, esi
je 0x4cc46a
push edi
call fcn.004caa60
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 1
lea ecx, [ebp - 0x2120]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.0045f3a0
mov edi, eax
jmp 0x4cc30b
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 3
lea eax, [ebp - 0x18]
push eax
push esi
push esi
lea ecx, [ebp - 0x2120]
push ecx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.0045f380
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004399a0
jmp 0x4cc30b
cmp eax, 0x4008
jne 0x4cc46d
lea ecx, [ebp - 0x2120]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 2
mov dword [ebp - 0x120], esi
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x120]
call fcn.004cbcb0
mov dword [ebp - 4], esi
jmp 0x4cc3d0
mov edi, dword [ebp - 0x120]
cmp edi, esi
je 0x4cc43c
lea esi, [ebp - 0x2120]
cmp word [ebp - 0x2120], 0
je 0x4cc41f
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
push esi
call ebx
movzx ecx, word [esi]
cmp ecx, 0x5c
jne 0x4cc410
cmp word [eax], 0x30
jne 0x4cc410
xor edx, edx
mov word [edi], dx
add edi, 2
push eax
call ebx
mov esi, eax
jmp 0x4cc419
mov word [edi], cx
add edi, 2
add esi, 2
cmp word [esi], 0
jne 0x4cc3f0
xor eax, eax
mov dword [edi], eax
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004cac00
mov edi, eax
xor esi, esi
jmp 0x4cc441
mov edi, 0xe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
cmp dword [ebp - 0x120], ecx
je 0x4cc30b
lea ecx, [ebp - 0x120]
call fcn.004021b0
jmp 0x4cc30b
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x10]
push edx
mov ecx, edi
call fcn.004caf50
xor ecx, ecx
cmp eax, esi
setge cl
dec ecx
and eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc