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

Disassembly:
mov eax, 0x41d71a
call fcn.004128c4
sub esp, 0x290
mov eax, dword [0x4280c8]
push ebx
push esi
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 0x25c], esi
movzx eax, byte [ebp + 0xc]
push edi
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.004054a0
pop ecx
pop ecx
mov dword [ebp - 4], esi
push dword [0x429018]
lea eax, [ebp + 0xc]
push eax
call fcn.00404e83
push dword [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push esi
push str.ReadyStatus
mov esi, str.Install
push esi
call edi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
push str.CFileList::IsExistInstallFiles_nState_d___s_n
call fcn.0040b1f8
add esp, 0xc
cmp ebx, 1
je 0x404837
xor bl, bl
jmp 0x404a91
push dword [ebp + 0xc]
push 0
push str.FilesNumber
push esi
call edi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
push str.CFileList::IsExistInstallFiles_FileNum_d___s_n
mov dword [ebp - 0x274], ebx
call fcn.0040b1f8
add esp, 0xc
test ebx, ebx
jbe 0x404830
and dword [ebp - 0x264], 0
test ebx, ebx
jbe 0x404a7f
mov ebx, 0x420b70
push dword [ebp - 0x264]
lea eax, [ebp - 0x50]
push str.File_d
push eax
call fcn.00410bc3
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x258]
push 0x104
push eax
push ebx
lea eax, [ebp - 0x50]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [ebp - 0x264]
lea eax, [ebp - 0x50]
push str.File_dCRC
push eax
call fcn.00410bc3
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x50]
push 0xffffffffffffffff
push eax
push esi
call edi
lea ecx, [ebp - 0x258]
push ecx
push eax
push str.CFileList::IsExistInstallFiles_uCRC_d___s_n
mov dword [ebp - 0x260], eax
call fcn.0040b1f8
add esp, 0xc
cmp dword [ebp - 0x260], 0
jne 0x40490d
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.0041077c
test eax, eax
pop ecx
pop ecx
jne 0x404ac4
jmp 0x404931
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x29c]
lea ecx, [ebp - 0x258]
call fcn.004035d3
cmp dword [ebp - 0x260], eax
jne 0x404ab7
lea eax, [ebp - 0x258]
push eax
push str.CFileList::IsExistInstallFiles__s_n
call fcn.0040b1f8
push 0x68
call fcn.0040f0e1
add esp, 0xc
mov dword [ebp - 0x270], eax
test eax, eax
mov byte [ebp - 4], 1
je 0x4049c9
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00404afa
push ebx
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 2
or dword [ebp - 0x25c], 1
push eax
call fcn.00404afa
mov eax, dword [ebp + 8]
add eax, 0x12
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x268]
push eax
mov dword [ebp - 4], 3
push dword [ebp - 0x288]
or dword [ebp - 0x25c], 2
push dword [ebp - 0x260]
push 1
push dword [ebp - 0x270]
call fcn.004036aa
mov dword [ebp - 0x260], eax
jmp 0x4049d0
and dword [ebp - 0x260], 0
test byte [ebp - 0x25c], 2
je 0x4049ee
mov eax, dword [ebp - 0x268]
and dword [ebp - 0x25c], 0xfffffffd
add eax, 0xfffffff0
call fcn.00402528
and dword [ebp - 4], 0
test byte [ebp - 0x25c], 1
je 0x404a10
mov eax, dword [ebp - 0x26c]
and dword [ebp - 0x25c], 0xfffffffe
add eax, 0xfffffff0
call fcn.00402528
push dword [ebp - 0x264]
lea eax, [ebp - 0x50]
push str.File_dUnzipSize
push eax
call fcn.00410bc3
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x50]
push 0
push eax
push esi
call edi
test eax, eax
mov ecx, dword [ebp - 0x260]
mov dword [ecx + 0x50], eax
je 0x404ac4
lea ecx, [ebp - 0x258]
push ecx
push eax
push str.CFileList::IsExistInstallFiles_size_d___s_n
call fcn.0040b1f8
mov eax, dword [ebp - 0x260]
add esp, 0xc
push dword [ebp + 8]
call fcn.00403692
inc dword [ebp - 0x264]
mov eax, dword [ebp - 0x264]
cmp eax, dword [ebp - 0x274]
jb 0x404875
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add eax, 0x12
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov bl, 1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00402528
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov al, bl
pop ebx
call fcn.004120cb
leave
ret 8
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp + 8]
xor eax, eax
push eax
push 0xffffffffffffffff
push eax
push eax
call fcn.004037fb
lea eax, [ebp - 0x258]
push eax
push str.CFileList::IsExistInstallFiles_quit_:__s_n
call fcn.0040b1f8
pop ecx
pop ecx
push dword [ebp + 0xc]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStructW]
jmp 0x404830