Function at 0x401ae0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x418420
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x30], ecx
push ecx
xor ebp, ebp
mov ecx, esp
mov dword [esp + 0x14], esp
push str.http:__api.icream.kr_GetAppVersion.api
mov dword [esp + 0x244], 1
mov dword [esp + 0x2c], ebp
call fcn.004048f8
push 1
lea ecx, [esp + 0x88]
call fcn.0040a440
mov eax, dword [esp + 0x244]
lea ecx, [esp + 0x80]
push eax
push 0x422344
mov byte [esp + 0x244], 2
call fcn.0040a7e0
mov ecx, dword [esp + 0x248]
push ecx
push 0x422340
lea ecx, [esp + 0x88]
call fcn.0040a7e0
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x4242bc]
mov byte [esp + 0x23c], 3
cmp eax, ebp
jne 0x401bc6
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0x23c], 4
je 0x401baa
mov ecx, eax
call fcn.004041b0
jmp 0x401bac
xor eax, eax
push 0x402c90
mov byte [esp + 0x240], 3
mov dword [0x4242bc], eax
call fcn.00404a08
add esp, 4
mov ecx, dword [0x4242bc]
lea edx, [esp + 0x28]
lea eax, [esp + 0x80]
push edx
push eax
call fcn.0040a9c0
test eax, eax
je 0x402179
mov esi, dword [esp + 0x28]
push ebp
push 1
lea ecx, [esp + 0xc4]
call fcn.00408c50
push ecx
mov byte [esp + 0x240], 5
mov ecx, esp
mov dword [esp + 0x14], esp
push esi
mov dword [esp + 0xc4], 0x41b6b4
call fcn.004048f8
lea ecx, [esp + 0xc0]
call fcn.0040b430
mov dword [esp + 0x230], eax
cmp eax, ebp
mov byte [esp + 0x23c], 6
je 0x402165
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.TXML.AppVersion
call fcn.004048f8
lea ecx, [esp + 0xc0]
call fcn.0040b490
mov ebx, eax
cmp ebx, ebp
je 0x402165
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Version
call fcn.004048f8
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call fcn.0040b6f0
mov eax, dword [esp + 0x20]
mov byte [esp + 0x23c], 7
cmp dword [eax - 8], ebp
jle 0x402154
mov esi, dword [esp + 0x248]
push eax
lea ecx, [esp + 0x1c]
call fcn.004048f8
mov edx, dword [esp + 0x18]
push esi
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x23c], 7
test eax, eax
lea ecx, [esp + 0x18]
je 0x40214f
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x248]
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x1c]
push str.New_App_Version__s__DETECTED._strAppVersion__s_
push edx
call fcn.00402d40
add esp, 0x10
mov esi, dword [eax]
mov eax, dword [0x4242c4]
cmp eax, ebp
mov byte [esp + 0x23c], 9
jne 0x401d40
push 0x2c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0x23c], 0xa
je 0x401d24
mov ecx, eax
call fcn.00404bf0
jmp 0x401d26
xor eax, eax
push 0x402b00
mov byte [esp + 0x240], 9
mov dword [0x4242c4], eax
call fcn.00404a08
add esp, 4
mov ecx, dword [0x4242c4]
push esi
push 0xc9
push str.D:T_PlatformICreamServiceiCreamHelperiCreamHelper.cpp
call fcn.00405000
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 7
call sub.MFC42.DLL_CString::CString
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.HashCode
call fcn.004048f8
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.0040b6f0
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.FileSize
mov byte [esp + 0x248], 0xb
call fcn.004048f8
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebx
call fcn.0040b6f0
mov ecx, eax
mov byte [esp + 0x23c], 0xc
call fcn.00402a80
mov edi, eax
lea ecx, [esp + 0x14]
push edi
call fcn.004048f8
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
cmp eax, ebp
jg 0x401de6
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 0xc
call sub.MFC42.DLL_CString::CString
xor edi, edi
jmp 0x401e2d
xor esi, esi
test eax, eax
jle 0x401e0e
mov ebp, dword [sym.imp.MSVCRT.dll_isdigit]
movsx edx, byte [esi + ecx]
push edx
call ebp
add esp, 4
test eax, eax
je 0x401f90
mov ecx, dword [esp + 0x14]
inc esi
cmp esi, dword [ecx - 8]
jl 0x401df2
push edi
call dword [sym.imp.MSVCRT.dll__atoi64]
add esp, 4
lea ecx, [esp + 0x14]
mov edi, eax
mov ebp, edx
mov byte [esp + 0x23c], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x23c], 0xb
call sub.MFC42.DLL_CString::CString
xor esi, esi
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.PackageName
call fcn.004048f8
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
call fcn.0040b6f0
lea ecx, [esp + 0x38]
push str.update
push ecx
mov byte [esp + 0x244], 0xe
call fcn.00403770
add esp, 8
mov edx, dword [esp + 0x2c]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x24]
push 0x4222c0
push ecx
mov byte [esp + 0x24c], 0xf
call fcn.00402d40
add esp, 0x10
lea ecx, [esp + 0x38]
mov byte [esp + 0x23c], 0x11
call sub.MFC42.DLL_CString::CString
push ecx
mov dword [esp + 0x40], esi
mov ecx, esp
mov dword [esp + 0x14], esp
push str.http:__api.icream.kr_GetUpdateFile.api
mov dword [esp + 0x48], esi
call fcn.004048f8
push 1
lea ecx, [esp + 0x4c]
call fcn.0040a440
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x44]
push edx
push str.PNAME
mov byte [esp + 0x244], 0x12
call fcn.0040a7e0
lea eax, [esp + 0x3c]
push 0x84000002
push eax
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x50]
mov byte [esp + 0x248], 0x12
push eax
call fcn.00402c20
mov ecx, eax
call fcn.0040adb0
cmp eax, esi
je 0x4021e8
mov ecx, dword [esp + 0x3c]
cmp ecx, edi
jne 0x4021e8
mov edx, dword [esp + 0x40]
cmp edx, ebp
jne 0x4021e8
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00403bc0
add esp, 8
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 0x18
call fcn.004048f8
mov eax, dword [esp + 0x14]
push edi
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x23c], 0x18
test eax, eax
lea ecx, [esp + 0x14]
jne 0x401faa
call sub.MFC42.DLL_CString::CString
jmp 0x40200d
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 0xc
call sub.MFC42.DLL_CString::CString
xor edi, edi
xor ebp, ebp
jmp 0x401e2d
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
push ecx
push edx
lea eax, [esp + 0x38]
push str.PkgFile_HashCode_Invalid._pkg__s___hashcode__s_
push eax
call fcn.00402d40
add esp, 0x10
mov edi, dword [eax]
mov eax, dword [0x4242c4]
mov bl, 0x1d
cmp eax, esi
mov byte [esp + 0x23c], bl
jne 0x4020cd
push 0x2c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
mov byte [esp + 0x23c], 0x1e
je 0x4020b2
mov ecx, eax
call fcn.00404bf0
jmp 0x4020b4
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.temp
push ecx
call fcn.00403770
add esp, 4
mov byte [esp + 0x248], 0x1a
mov edx, esp
mov dword [esp + 0x30], esp
push esi
push edx
call fcn.00403770
add esp, 4
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x250], 0x1b
call sub.MFC42.DLL_CString::CString_2
mov edi, dword [esp + 0x40]
mov byte [esp + 0x24c], 0x18
mov ecx, edi
call fcn.00402550
cmp eax, esi
mov dword [esp + 0x24], eax
je 0x4020f4
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
call fcn.004023a0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x240], 0x18
call fcn.00402c20
mov ecx, eax
call fcn.00404780
jmp 0x4020f4
xor eax, eax
push 0x402b00
mov byte [esp + 0x240], bl
mov dword [0x4242c4], eax
call fcn.00404a08
add esp, 4
mov ecx, dword [0x4242c4]
push edi
push 0xec
push str.D:T_PlatformICreamServiceiCreamHelperiCreamHelper.cpp
call fcn.004053d0
lea ecx, [esp + 0x30]
mov byte [esp + 0x23c], 0x18
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x34]
mov byte [esp + 0x23c], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x23c], 0x11
call fcn.0040a4e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x23c], 0xb
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x23c], 7
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x23c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xbc]
mov byte [esp + 0x23c], 3
call fcn.00408da0
lea ecx, [esp + 0x28]
mov byte [esp + 0x23c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x80]
mov byte [esp + 0x23c], 1
call fcn.0040a4e0
lea ecx, [esp + 0x244]
mov byte [esp + 0x23c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x248]
mov dword [esp + 0x23c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x230
ret 8
lea edx, [esp + 0x10]
lea ecx, [esp + 0x44]
push edx
call fcn.00403390
mov esi, eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x44]
push eax
mov byte [esp + 0x240], 0x14
call fcn.00403370
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax]
push ebp
push edi
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esi]
push ecx
push edx
push eax
lea ecx, [esp + 0x40]
mov bl, 0x15
push str.Download_PKG_File_Failed._Url__s__s___Local__s___i64DownSize__I64d___i64FileSize__I64d_
push ecx
mov byte [esp + 0x260], bl
call fcn.00402d40
add esp, 0x24
mov esi, dword [eax]
mov eax, dword [0x4242c4]
test eax, eax
mov byte [esp + 0x23c], 0x16
jne 0x402292
push 0x2c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov byte [esp + 0x23c], 0x17
je 0x402276
mov ecx, eax
call fcn.00404bf0
jmp 0x402278
xor eax, eax
push 0x402b00
mov byte [esp + 0x240], 0x16
mov dword [0x4242c4], eax
call fcn.00404a08
add esp, 4
mov ecx, dword [0x4242c4]
push esi
push 0xd8
push str.D:T_PlatformICreamServiceiCreamHelperiCreamHelper.cpp
call fcn.004053d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x23c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x23c], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x23c], 0x11
call fcn.0040a4e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x23c], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x23c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x23c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xbc]
mov byte [esp + 0x23c], 3
call fcn.00408da0
lea ecx, [esp + 0x28]
mov byte [esp + 0x23c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x80]
mov byte [esp + 0x23c], 1
call fcn.0040a4e0
lea ecx, [esp + 0x244]
mov byte [esp + 0x23c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x248]
mov dword [esp + 0x23c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4021cd