Function at 0x40e5ba
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x47cedb
call fcn.0044ce07
mov eax, dword [0x49ead4]
mov esi, 0x49ead4
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
mov eax, dword [0x49ead4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov eax, dword [0x49ead4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call fcn.00409107
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
push eax
lea eax, [ebp - 0x1c]
push str._cid_d
push eax
call fcn.00407d26
mov eax, dword [ebp - 0x1c]
add esp, 0xc
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x18]
call fcn.00408f7b
mov edi, dword [ebp + 0x10]
push edi
push dword [ebp + 8]
mov esi, 0x49f920
push str.KHelper::DownloadFileAndDecompress_url:_ws_file:_ws
call fcn.00415020
add esp, 0xc
cmp dword [ebp + 0x14], 0
je 0x40e69e
push 0
push edi
call fcn.00446273
test eax, eax
pop ecx
pop ecx
jne 0x40e69e
push 0x5c
push edi
call fcn.0044805d
inc eax
lea ecx, [ebp - 0x14]
push ecx
inc eax
push edi
mov ecx, eax
call fcn.0040d980
add esp, 0x10
test eax, eax
je 0x40e69e
push dword [ebp + 0x14]
push dword [ebp - 0x14]
call fcn.004483bc
test eax, eax
pop ecx
pop ecx
jne 0x40e69e
xor edi, edi
jmp 0x40e7bd
call ebx
and dword [ebp - 0x10], 0
mov dword [ebp - 0x20], eax
mov edi, dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x10], 3
jge 0x40e704
push edi
push dword [ebp + 8]
call fcn.0040dffa
test eax, eax
pop ecx
pop ecx
jne 0x40e736
call ebx
push dword [ebp + 0x10]
mov edi, eax
sub edi, dword [ebp - 0x20]
xor ecx, ecx
call fcn.00409861
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.0040e49c
xor edi, edi
cmp eax, edi
pop ecx
pop ecx
jne 0x40e73a
push 4
pop edi
push dword [ebp + 0x10]
push 0
push str.Decompress_return:_d__path:_ws
call fcn.00415020
add esp, 0xc
jmp 0x40e796
cmp dword [ebp - 0x10], 5
jge 0x40e715
push edi
push dword [ebp + 8]
call fcn.0040e0b2
jmp 0x40e730
cmp dword [ebp - 0x10], 6
jge 0x40e727
push dword [ebp + 8]
mov ecx, edi
call fcn.0040e17f
jmp 0x40e731
push edi
push dword [ebp - 0x18]
call fcn.0040dffa
pop ecx
test eax, eax
pop ecx
je 0x40e6d7
push 7
jmp 0x40e795
cmp dword [ebp + 0x14], edi
je 0x40e7a3
push 0x5c
push dword [ebp + 0x10]
call fcn.0044805d
lea ecx, [ebp - 0x14]
inc eax
push ecx
push dword [ebp + 0x10]
inc eax
mov ecx, eax
call fcn.0040d980
add esp, 0x10
cmp eax, edi
jne 0x40e76f
push 5
pop edi
push dword [ebp + 0x10]
push 0
push str.GetFileMd5_return:_d__path:_ws
jmp 0x40e6f7
push dword [ebp + 0x14]
push dword [ebp - 0x14]
call fcn.004483bc
test eax, eax
pop ecx
pop ecx
je 0x40e7a3
push dword [ebp - 0x14]
push dword [ebp + 0x14]
push str.Compare_md5_not_matched__expected:_ws__actually:_ws
call fcn.00415020
add esp, 0xc
push 6
pop edi
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 7
jl 0x40e6a7
push dword [ebp + 0x10]
push dword [ebp + 8]
call ebx
sub eax, dword [ebp - 0x20]
push eax
push edi
push str.DownloadFileAndDecompress_return:_d__cost_time:_d__url:_ws__path:_ws
call fcn.00415020
add esp, 0x14
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, edi
call fcn.0044cea6
ret