Function at 0x4cab70
Capabilities:
Set registry value

Disassembly:
sub esp, 0x5bc
mov eax, dword [0x5b7b5c]
xor eax, esp
mov dword [esp + 0x5b8], eax
push ebx
mov ebx, dword [esp + 0x5c4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x5d4]
mov dword [esp + 0x10], ebx
lea ecx, [ebx + 1]
lea ecx, [ecx]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x4caba0
mov eax, edi
sub ebx, ecx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4cabb0
sub eax, esi
lea esi, [eax + ebx + 2]
push esi
mov dword [esp + 0x24], eax
call fcn.004ff95f
mov ebp, eax
mov eax, dword [esp + 0x14]
push ebx
push eax
lea ecx, [esi - 1]
push ecx
lea edx, [ebp + 1]
push edx
mov byte [ebp], bl
call fcn.0053f74e
mov ecx, dword [esp + 0x34]
push ecx
mov byte [ebx + ebp + 1], cl
lea eax, [ebx + 1]
inc eax
mov ecx, esi
sub ecx, eax
push edi
push ecx
add eax, ebp
push eax
call fcn.0053f74e
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + esi + 0xc]
push eax
mov dword [esp + 0x3c], eax
call fcn.004ff95f
push esi
push ebp
lea ecx, [esp + 0x44]
mov edi, eax
push ecx
push edi
mov dword [esp + 0x48], edi
call fcn.004f9b30
add esp, 0x38
test eax, eax
je 0x4cac49
push ebp
call fcn.004ff96a
push edi
call fcn.004ff96a
add esp, 8
xor eax, eax
jmp 0x4cadf5
mov edi, dword [esp + 0x14]
add edi, 8
push edi
call fcn.004ff95f
push 4
push 0x5b4c84
mov ebx, eax
push edi
push ebx
call fcn.0053f74e
mov edx, dword [0x5b4c84]
push edx
call fcn.0053ff4c
call fcn.0053ff5e
add eax, esi
movzx eax, ax
push 2
lea ecx, [esp + 0x34]
push ecx
lea edx, [edi - 4]
mov dword [esp + 0x38], eax
push edx
lea eax, [ebx + 4]
push eax
call fcn.0053f74e
mov ecx, dword [0x5b4c84]
inc ecx
push ecx
call fcn.0053ff4c
call fcn.0053ff5e
add eax, dword [esp + 0x40]
push 2
movzx edx, ax
lea eax, [esp + 0x48]
push eax
lea ecx, [edi - 6]
mov dword [esp + 0x4c], edx
push ecx
lea edx, [ebx + 6]
push edx
call fcn.0053f74e
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
lea edx, [edi - 8]
push edx
lea eax, [ebx + 8]
push eax
call fcn.0053f74e
mov ecx, dword [0x5ba378]
add esp, 0x4c
push edi
push ebx
push str.License
push str.Install
call fcn.0051565d
mov ecx, dword [str.SoftwareES_ComputingEditPlus_3_s]
push str.Install
push ecx
lea edx, [esp + 0x30]
push edx
mov esi, eax
call fcn.00403660
add esp, 0xc
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
lea edx, [esp + 0x44]
push edx
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4cad5c
push edi
push ebx
push 3
push eax
mov eax, dword [esp + 0x2c]
push str.License
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x5ba378]
mov eax, dword [edx + 0xe0]
push eax
lea ecx, [esp + 0x1bc]
push 0x208
push ecx
call fcn.0053fe1c
mov edx, dword [str.reg_u.ini]
push edx
lea eax, [esp + 0x1c8]
push 0x208
push eax
call fcn.0053fd9f
lea ecx, [esp + 0x1d0]
push ecx
push edi
push ebx
push str.License
push str.Install
call fcn.0044fc20
lea edx, [esp + 0x1e4]
push edx
call fcn.004caa60
push 0
movzx eax, ax
lea ecx, [esp + 0x1ec]
push ecx
push eax
push 0x57c0d0
push str.Install
call fcn.0044fb90
add esp, 0x44
push ebp
call fcn.004ff96a
mov edx, dword [esp + 0x14]
push edx
call fcn.004ff96a
push ebx
call fcn.004ff96a
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x5c8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0053f73f
add esp, 0x5bc
ret