Function at 0x40e7e6
Capabilities:
Delete file

Disassembly:
push 0x20
mov eax, 0x47cea8
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::DownloadFileAndDecompressCrc_url:_ws_file:_ws
call fcn.00415020
add esp, 0xc
cmp dword [ebp + 0x14], edi
je 0x40e8a9
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.00409107
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], edi
je 0x40e8fa
push edi
push dword [ebp + 0x10]
call fcn.00446273
test eax, eax
pop ecx
pop ecx
jne 0x40e8fa
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x10]
call fcn.0040dbe4
test eax, eax
pop ecx
pop ecx
je 0x40e8fa
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push 0x48afd8
push eax
call fcn.00407d26
add esp, 0xc
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
call fcn.004079c5
test eax, eax
je 0x40e9f7
call ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], edi
jmp 0x40e906
xor edi, edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x10], 3
jge 0x40e94d
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040dffa
cmp eax, edi
pop ecx
pop ecx
jne 0x40e984
call ebx
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov edi, eax
sub edi, dword [ebp - 0x28]
call fcn.00409861
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.0040e49c
test eax, eax
pop ecx
pop ecx
jne 0x40e988
push 4
jmp 0x40e9cb
cmp dword [ebp - 0x10], 5
jge 0x40e960
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040e0b2
jmp 0x40e97e
cmp dword [ebp - 0x10], 6
jge 0x40e973
push dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.0040e17f
jmp 0x40e97f
push dword [ebp + 0xc]
push dword [ebp - 0x20]
call fcn.0040dffa
pop ecx
cmp eax, edi
pop ecx
je 0x40e938
push 7
jmp 0x40e9cb
mov edi, dword [ebp - 0x14]
cmp dword [edi - 0xc], 0
je 0x40e9db
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x10]
call fcn.0040dbe4
test eax, eax
pop ecx
pop ecx
jne 0x40e9a7
push 8
jmp 0x40e9cb
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push 0x48afd8
push eax
call fcn.00407d26
add esp, 0xc
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.004079c5
test eax, eax
je 0x40e9db
push 9
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 7
pop edi
jl 0x40e904
jmp 0x40e9dd
xor edi, edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call ebx
sub eax, dword [ebp - 0x28]
push eax
push edi
push str.DownloadFileAndDecompressCrc_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