Function at 0x4cc070
Capabilities:
Delete file
Read .ini file

Disassembly:
push 0x170
mov eax, 0x5121a4
call fcn.004f41e2
mov esi, ecx
mov ecx, dword [esi + 0x28]
xor ebx, ebx
call fcn.004ce83f
mov edi, eax
mov dword [ebp - 0x170], edi
cmp dword [0x5a22a0], ebx
je 0x4cc0e0
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push str.Update:_Loading_versions_from_server:
lea ecx, [ebp - 0x16c]
call fcn.004e2531
push 1
push 1
lea ecx, [ebp - 0x16c]
mov dword [ebp - 4], ebx
call fcn.0044612f
mov ecx, dword [0x5a22a0]
push eax
call fcn.00410feb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16c]
call fcn.004e25e0
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x168]
call fcn.004e2ad6
lea edi, [esi + 0x54]
mov ecx, edi
call fcn.004e2932
test al, al
jne 0x4cc111
mov ecx, edi
call fcn.0044612f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, edi
call fcn.004e2830
lea eax, [ebp - 0x170]
mov ecx, esi
push eax
call fcn.004cbef7
test al, al
je 0x4cc12b
mov edi, dword [ebp - 0x170]
jmp 0x4cc1a1
lea eax, [ebp - 0x178]
mov dword [ebp - 0x178], ebx
push eax
mov eax, dword [esi + 0x28]
mov ecx, esi
push str.ConEmuVersion.ini
push dword [eax + 0x34]
call fcn.004cb2ae
mov dword [ebp - 0x174], eax
mov ecx, edi
lea eax, [ebp - 0x174]
push eax
call fcn.004e2618
push dword [ebp - 0x178]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.004e2932
test al, al
jne 0x4cc374
mov ecx, edi
call fcn.0044612f
push ebx
mov edi, eax
mov ecx, esi
push ebx
lea eax, [ebp - 0x174]
push eax
push edi
push dword [ebp - 0x170]
call fcn.004cb6e4
test eax, eax
je 0x4cc374
cmp dword [0x5a22a0], 0
je 0x4cc1f0
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push str.Update:_Checking_version_information:
lea ecx, [ebp - 0x16c]
call fcn.004e2531
xor eax, eax
lea ecx, [ebp - 0x16c]
inc eax
push eax
push eax
mov dword [ebp - 4], eax
call fcn.0044612f
mov ecx, dword [0x5a22a0]
push eax
call fcn.00410feb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16c]
call fcn.004e25e0
mov eax, dword [esi + 0x28]
mov cl, byte [eax + 7]
cmp cl, 1
jne 0x4cc202
mov eax, str.ConEmu_Stable_2
jmp 0x4cc212
cmp cl, 3
mov eax, str.ConEmu_Preview_2
mov edx, str.ConEmu_Devel_2
cmovne eax, edx
push eax
push 0x40
lea eax, [ebp - 0x90]
push eax
call fcn.00401a0b
mov ecx, dword [esi + 0x28]
call fcn.004ce65a
cmp al, 1
mov edx, str.location_arc
mov ecx, str.location_exe
lea eax, [ebp - 0x110]
cmovne ecx, edx
push ecx
push 0x40
push eax
call fcn.00401a0b
push edi
push 0x40
lea eax, [esi + 0x1ce]
push eax
push 0x514870
push str.version
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4cc35a
cmp word [esi + 0x1ce], bx
je 0x4cc35a
mov ecx, dword [esi + 0x28]
call fcn.004ce65a
push ebx
push ebx
push ebx
push ebx
push ebx
cmp al, 1
lea eax, [esi + 0x1ce]
push ebx
jne 0x4cc2b3
push 0x522e88
push eax
push str.ConEmuSetup.
call fcn.004e23a5
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x174]
jmp 0x4cc2cf
push 0x5642bc
push eax
push str.ConEmuPack.
call fcn.004e23a5
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x17c]
add esp, 0x24
lea ecx, [esi + 0xb0]
push eax
call fcn.004e2618
lea ecx, [esi + 0x10c]
call fcn.004e2830
push edi
mov eax, 0x400
lea ecx, [esi + 0x10c]
push eax
push eax
call fcn.004e2851
push eax
push 0x514870
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4cc34a
lea ecx, [esi + 0x10c]
call fcn.004e2932
test al, al
jne 0x4cc34a
lea eax, [esi + 0x4de]
mov ecx, esi
push eax
lea eax, [esi + 0x416]
push eax
lea eax, [esi + 0x34e]
push eax
push edi
call fcn.004cbac9
mov bl, 1
jmp 0x4cc374
push edi
push dword [ebp - 0x170]
lea eax, [ebp - 0x110]
push eax
jmp 0x4cc366
push edi
push dword [ebp - 0x170]
push str.version
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
call fcn.004cd233
mov al, bl
call fcn.004f418c
ret