Function at 0x461798
Capabilities:
Delete file

Disassembly:
push 0x18
mov eax, 0x472a7b
call fcn.0044f632
mov esi, edx
mov dword [ebp - 0x24], esi
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov edi, 0x48a9dc
lea ecx, [ebp - 0x10]
push edi
call fcn.0040651c
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push edi
call fcn.0040651c
push edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0040651c
push ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004064f3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x1c]
push str._cid_d
push eax
call fcn.00406873
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
add esp, 0xc
push dword [eax - 0xc]
push eax
call fcn.004067c8
mov edi, dword [ebp + 8]
push edi
push ebx
push str.KHelper::DownloadFileAndDecompress_url:_ws_file:_ws
push 0x49db70
call fcn.0046ad90
add esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x46186a
push 0
push edi
call fcn.0043a7bc
pop ecx
pop ecx
test eax, eax
jne 0x46186a
push 0x5c
push edi
call fcn.0042d7fe
lea ecx, [ebp - 0x10]
push ecx
mov ecx, edi
lea edx, [eax + 2]
call fcn.0040b15d
add esp, 0xc
test eax, eax
je 0x46186a
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.004399d2
pop ecx
pop ecx
test eax, eax
jne 0x46186a
xor esi, esi
jmp 0x46198e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
xor ebx, ebx
jmp 0x46187a
mov esi, dword [ebp - 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, esi
cmp ebx, 3
jae 0x4618d3
mov ecx, dword [ebp - 0x14]
push 0
call fcn.00461ed1
pop ecx
test eax, eax
jne 0x461903
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x20]
push eax
push edi
call fcn.0045c3ae
push ecx
mov edx, esi
mov ecx, edi
call fcn.00461a33
pop ecx
test eax, eax
jne 0x461907
push 4
pop esi
push edi
push eax
push str.Decompress_return:_d__path:_ws
push 0x49db70
call fcn.0046ad90
add esp, 0x10
jmp 0x46195f
cmp ebx, 5
jae 0x4618e4
mov ecx, dword [ebp - 0x14]
push 0
call fcn.00461d8c
jmp 0x4618fe
cmp ebx, 6
jae 0x4618f4
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00461a57
jmp 0x4618fe
mov ecx, dword [ebp - 0x18]
push 0
call fcn.00461ed1
pop ecx
test eax, eax
je 0x4618a8
push 7
jmp 0x46195e
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x46196b
push 0x5c
push edi
call fcn.0042d7fe
lea ecx, [ebp - 0x10]
push ecx
mov ecx, edi
lea edx, [eax + 2]
call fcn.0040b15d
add esp, 0xc
test eax, eax
jne 0x461937
push 5
pop esi
push edi
push eax
push str.GetFileMd5_return:_d__path:_ws
jmp 0x4618c1
push esi
push dword [ebp - 0x10]
call fcn.004399d2
pop ecx
pop ecx
test eax, eax
je 0x46196b
push dword [ebp - 0x10]
push esi
push str.Compare_md5_not_matched__expected:_ws__actually:_ws
push 0x49db70
call fcn.0046ad90
add esp, 0x10
push 6
pop esi
inc ebx
cmp ebx, 7
jb 0x461877
jmp 0x46196d
xor esi, esi
push edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x20]
push eax
push esi
push str.DownloadFileAndDecompress_return:_d__cost_time:_d__url:_ws__path:_ws
push 0x49db70
call fcn.0046ad90
add esp, 0x18
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040630c
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040630c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040630c
mov eax, esi
call fcn.0044f60c
ret