Function at 0x40ea2b
Capabilities:
Delete file

Disassembly:
push 0x1c
mov eax, 0x47ce6d
call fcn.0044ce07
mov eax, dword [0x49ead4]
mov esi, 0x49ead4
xor edi, edi
mov ecx, esi
mov dword [ebp - 0x1c], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], edi
mov eax, dword [0x49ead4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [0x49ead4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
mov eax, dword [0x49ead4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.00409107
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
push eax
lea eax, [ebp - 0x24]
push str._cid_d
push eax
call fcn.00407d26
mov eax, dword [ebp - 0x24]
add esp, 0xc
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x20]
call fcn.00408f7b
push dword [ebp + 0x10]
mov esi, 0x49f920
push dword [ebp + 8]
push str.KHelper::DownloadFileAndDecompressCrcDat_url:_ws_file:_ws
call fcn.00415020
add esp, 0xc
cmp dword [ebp + 0x14], edi
je 0x40eaee
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.00409107
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], edi
je 0x40eb51
push edi
push dword [ebp + 0xc]
call fcn.00446273
test eax, eax
pop ecx
pop ecx
jne 0x40eb51
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
call fcn.0040dbe4
test eax, eax
pop ecx
pop ecx
je 0x40eb51
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push 0x48b064
push eax
call fcn.00407d26
add esp, 0xc
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004483bc
test eax, eax
pop ecx
pop ecx
jne 0x40eb51
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.0040e49c
test eax, eax
pop ecx
pop ecx
jne 0x40ec62
call ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], edi
jmp 0x40eb5d
xor edi, edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x10], 3
jge 0x40eba3
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040dffa
cmp eax, edi
pop ecx
pop ecx
jne 0x40ebda
call ebx
push dword [ebp + 0x10]
mov edi, eax
sub edi, dword [ebp - 0x28]
xor ecx, ecx
call fcn.00409861
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.0040e49c
test eax, eax
pop ecx
pop ecx
jne 0x40ebdf
push 4
jmp 0x40ebdc
cmp dword [ebp - 0x10], 5
jge 0x40ebb6
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040e0b2
jmp 0x40ebd4
cmp dword [ebp - 0x10], 6
jge 0x40ebc9
push dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.0040e17f
jmp 0x40ebd5
push dword [ebp + 0xc]
push dword [ebp - 0x20]
call fcn.0040dffa
pop ecx
cmp eax, edi
pop ecx
je 0x40eb8e
push 7
pop edi
jmp 0x40ec37
mov edi, dword [ebp - 0x14]
cmp dword [edi - 0xc], 0
je 0x40ec46
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
call fcn.0040dbe4
test eax, eax
pop ecx
pop ecx
jne 0x40ebfe
push 8
jmp 0x40ebdc
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push str._08x
push eax
call fcn.00407d26
add esp, 0xc
push edi
push dword [ebp - 0x18]
call fcn.004483bc
test eax, eax
pop ecx
pop ecx
je 0x40ec46
push 9
pop edi
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push str.DownloadFileAndDecompressCrcDat_Crc_is_not_correct__expect_crc:_ws__crc:_ws
call fcn.00415020
add esp, 0xc
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 7
jl 0x40eb5b
jmp 0x40ec48
xor edi, edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call ebx
sub eax, dword [ebp - 0x28]
push eax
push edi
push str.DownloadFileAndDecompressCrcDat_return:_d__cost_time:_d__url:_ws__path:_ws
call fcn.00415020
add esp, 0x14
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, edi
call fcn.0044cea6
ret