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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb70
push ebx
push esi
push edi
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], eax
mov eax, 0x4ac9d0
call fcn.00484c88
mov esi, 0x4aa3f9
lea edi, [ebp - 0x38c]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4aa4fd
lea edi, [ebp - 0x490]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x65], 1
mov edx, dword [ebp - 0x60]
inc edx
dec edx
je 0x40560e
dec edx
je 0x404e8e
dec edx
je 0x40560e
dec edx
je 0x4054ff
jmp 0x40560e
xor edx, edx
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x314]
call fcn.004774f4
push 0
push 0
lea edx, [ebp - 0x490]
push edx
push str.UPDATE_CHECKING_UPDATE
call fcn.00401d20
add esp, 0x10
mov word [ebp - 0x48], 8
lea edx, [ebp - 0x490]
lea eax, [ebp - 4]
call fcn.004a5548
inc dword [ebp - 0x3c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x330]
call fcn.00465034
dec dword [ebp - 0x3c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a55bc
push 0
push 0
lea ecx, [ebp - 0x490]
push ecx
push 0x4ac06d
call fcn.00401d20
add esp, 0x10
mov word [ebp - 0x48], 0x14
lea edx, [ebp - 0x490]
lea eax, [ebp - 8]
call fcn.004a5548
inc dword [ebp - 0x3c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x310]
call fcn.00465034
dec dword [ebp - 0x3c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a55bc
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x30c]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x404f5b
xor ecx, ecx
mov dword [ebp - 0x64], ecx
push 0x4ac07e
push 0x104
lea eax, [ebp - 0x184]
push eax
push 0x4ac07d
push 0x4ac079
mov word [ebp - 0x48], 0x20
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 0x30c]
add ecx, 0x218
mov dword [ebp - 0x6c], ecx
xor eax, eax
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0xc]
inc dword [ebp - 0x3c]
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov edx, dword [ebp - 0x64]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0xc], 0
je 0x404fb1
mov eax, dword [ebp - 0xc]
jmp 0x404fb6
mov eax, 0x4ac095
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringA
dec dword [ebp - 0x3c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a55bc
push 0x4ac0b0
push 0x104
lea ecx, [ebp - 0x288]
push ecx
push str.check_update.ini
push str.filename
mov word [ebp - 0x48], 0x2c
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x30c]
add edx, 0x218
mov dword [ebp - 0x70], edx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x10]
inc dword [ebp - 0x3c]
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov edx, dword [ebp - 0x64]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x10], 0
je 0x405022
mov eax, dword [ebp - 0x10]
jmp 0x405027
mov eax, 0x4ac0c7
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringA
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a55bc
lea ecx, [ebp - 0x184]
push ecx
call fcn.004848b4
pop ecx
movsx eax, byte [ebp + eax - 0x185]
cmp eax, 0x2f
jne 0x40506c
lea edx, [ebp - 0x184]
push edx
call fcn.004848b4
pop ecx
mov byte [ebp + eax - 0x185], 0
lea ecx, [ebp - 0x184]
push ecx
call fcn.004848b4
pop ecx
test eax, eax
jne 0x405081
mov byte [ebp - 0x65], 0
mov eax, dword [ebp - 0x5c]
add eax, 0x358
push eax
call fcn.00401fb8
pop ecx
lea edx, [ebp - 0x288]
push edx
lea ecx, [ebp - 0x184]
push ecx
push str._s__s
lea eax, [ebp - 0x490]
push eax
call fcn.00487f0c
add esp, 0x10
mov edx, dword [ebp - 0x5c]
add edx, 0x358
push edx
lea ecx, [ebp - 0x490]
push ecx
call fcn.00408b7c
test eax, eax
setne al
and eax, 1
mov byte [ebp - 0x65], al
mov word [ebp - 0x48], 0x38
mov edx, 0x4ac0ce
lea eax, [ebp - 0x14]
call fcn.004a5548
inc dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x330]
call fcn.00465034
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a55bc
cmp byte [ebp - 0x65], 0
jne 0x405163
push 0
push 0
lea ecx, [ebp - 0x490]
push ecx
push str.UPDATE_DOWNLOAD_UPDATE_LIST_FAILED
call fcn.00401d20
add esp, 0x10
mov word [ebp - 0x48], 0x44
lea edx, [ebp - 0x490]
lea eax, [ebp - 0x18]
call fcn.004a5548
inc dword [ebp - 0x3c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x310]
call fcn.00465034
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a55bc
jmp 0x40560e
mov ecx, dword [ebp - 0x5c]
add ecx, 0x358
push ecx
call fcn.004021f8
pop ecx
test eax, eax
jne 0x40522b
xor edx, edx
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x2fc]
mov ecx, dword [eax]
call dword [ecx + 0x64]
xor edx, edx
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x304]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x32c]
add eax, 0x220
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov eax, dword [edx]
mov edx, dword [eax]
call dword [edx + 0x44]
push 0
push 0
lea ecx, [ebp - 0x490]
push ecx
push 0x4ac0f3
call fcn.00401d20
add esp, 0x10
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x32c]
add edx, 0x220
mov dword [ebp - 0x78], edx
mov word [ebp - 0x48], 0x50
lea edx, [ebp - 0x490]
lea eax, [ebp - 0x1c]
call fcn.004a5548
inc dword [ebp - 0x3c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004a55bc
mov edx, 4
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x2f8]
call fcn.0045ef88
jmp 0x40560e
xor edx, edx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x314]
call fcn.004774f4
push 0
push 0
lea edx, [ebp - 0x490]
push edx
push str.UPDATE_DOWNLOADING_UPDATE_LIST
call fcn.00401d20
add esp, 0x10
mov word [ebp - 0x48], 0x5c
lea edx, [ebp - 0x490]
lea eax, [ebp - 0x20]
call fcn.004a5548
inc dword [ebp - 0x3c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x330]
call fcn.00465034
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004a55bc
push 0
push 0
lea ecx, [ebp - 0x490]
push ecx
push str.UPDATE_WAIT
call fcn.00401d20
add esp, 0x10
mov word [ebp - 0x48], 0x68
lea edx, [ebp - 0x490]
lea eax, [ebp - 0x24]
call fcn.004a5548
inc dword [ebp - 0x3c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x310]
call fcn.00465034
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004a55bc
mov ecx, dword [ebp - 0x5c]
add ecx, 0x358
push ecx
push 0x104
lea eax, [ebp - 0x490]
push eax
push 0x4ac154
push str.update_list
push 0x4ac13c
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea edx, [ebp - 0x38c]
push edx
call fcn.00401fb8
pop ecx
mov ecx, dword [ebp - 0x5c]
add ecx, 0x45c
push ecx
call fcn.00401fb8
pop ecx
lea eax, [ebp - 0x38c]
push eax
lea edx, [ebp - 0x490]
push edx
call fcn.00408b7c
test eax, eax
setne cl
and ecx, 1
mov byte [ebp - 0x65], cl
cmp byte [ebp - 0x65], 0
je 0x405367
mov eax, dword [ebp - 0x5c]
add eax, 0x45c
push eax
lea edx, [ebp - 0x38c]
push edx
call fcn.0040a270
add esp, 8
les ecx, [eax]
push 0
push 0
lea edx, [ebp - 0x490]
push edx
push str.UPDATE_DOWNLOADING_UPDATE_FILE
call fcn.00401d20
add esp, 0x10
mov word [ebp - 0x48], 0x98
lea edx, [ebp - 0x490]
lea eax, [ebp - 0x34]
call fcn.004a5548
inc dword [ebp - 0x3c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x340]
call fcn.00465034
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004a55bc
xor edx, edx
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x31c]
call fcn.004774f4
xor edx, edx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x324]
call fcn.004774f4
mov edx, dword [ebp - 0x5c]
xor ecx, ecx
mov dword [edx + 0x560], ecx
mov eax, dword [ebp - 0x5c]
xor edx, edx
mov dword [eax + 0x568], edx
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ecx + 0x564], eax
mov edx, dword [ebp - 0x5c]
add edx, 0x45c
push edx
mov ecx, dword [ebp - 0x5c]
add ecx, 0x358
push ecx
call fcn.0040444c
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x56c], eax
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x56c], 0
jle 0x40560e
xor edx, edx
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x2fc]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov edx, dword [ebp - 0x5c]
add edx, 0x45c
push edx
call fcn.004023f0
pop ecx
test eax, eax
setne al
and eax, 1
mov byte [ebp - 0x65], al
mov dl, 1
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x2fc]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov edx, 4
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x2f8]
call fcn.0045ef88