Function at 0x4cc570
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x810
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x80c], eax
mov eax, dword [esp + 0x814]
push ebx
push esi
mov ebx, ecx
mov ecx, dword [eax]
mov dword [ebx + 0x11c], ecx
mov edx, dword [eax + 4]
lea esi, [ebx + 0x11c]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
push edi
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
push str.Install
mov dword [esi + 0xc], edx
mov ecx, dword [0x5ba2a8]
push 0x57bd68
call fcn.00514e47
mov edi, eax
mov dword [esp + 0xc], edi
cmp edi, 0xffffffff
jne 0x4cc7a5
push ebp
push str.Install
lea eax, [esp + 0x438]
push str.SoftwareES_ComputingEditPlus_3_s
push eax
call fcn.004cbd40
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0x20019
push 0
push 0
push 0
lea eax, [esp + 0x450]
push eax
push reloc.WSOCK32.dll_bind
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4cc668
mov eax, 4
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
push 0
push str.Install
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4cc661
mov dword [esp + 0x10], 0xffffffff
mov edx, dword [esp + 0x14]
push edx
call ebp
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x4cc78a
mov eax, dword [0x5ba2a8]
mov ecx, dword [eax + 0xe0]
push ecx
lea edx, [esp + 0x28]
push 0x208
push edx
call fcn.0054013c
mov eax, dword [str.reg_u.ini]
push eax
lea ecx, [esp + 0x34]
push 0x208
push ecx
call fcn.005400bf
lea edx, [esp + 0x3c]
push edx
push 0xffffffffffffffff
push str.Install
push str.Install
call fcn.004511b0
add esp, 0x28
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x4cc78a
push esi
call fcn.004cbb40
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
lea edx, [esp + 0x450]
push edx
push reloc.WSOCK32.dll_bind
mov dword [ebx + 0x12c], 0
mov dword [ebx + 0x130], 1
call edi
test eax, eax
jne 0x4cc738
mov ecx, dword [esp + 0x14]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.Install
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0x14]
push edx
call ebp
mov eax, dword [0x5ba2a8]
mov ecx, dword [eax + 0xe0]
push ecx
lea edx, [esp + 0x28]
push 0x208
push edx
call fcn.0054013c
mov eax, dword [str.reg_u.ini]
push eax
lea ecx, [esp + 0x34]
push 0x208
push ecx
call fcn.005400bf
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
lea edx, [esp + 0x40]
push edx
push eax
push str.Install
push str.Install
call fcn.004512e0
mov eax, dword [esp + 0x3c]
add esp, 0x2c
mov ecx, dword [0x5ba2a8]
push eax
push str.Install
push 0x57bd68
call fcn.00514eb2
mov edi, dword [esp + 0x10]
pop ebp
mov ecx, 0x7ce
cmp word [esi], cx
jb 0x4cc7e1
push esi
call fcn.004cbb40
add esp, 4
cmp eax, edi
jb 0x4cc7e1
sub eax, edi
cmp eax, 0x1e
mov dword [ebx + 0x130], eax
jg 0x4cc7e1
mov dword [ebx + 0x12c], 0
test eax, eax
jne 0x4cc7e1
mov dword [ebx + 0x130], 1
mov ecx, dword [esp + 0x818]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0053fa67
add esp, 0x810
ret 4