Function at 0x462732
Capabilities:
Delete file

Disassembly:
push 0x20
mov eax, 0x472d34
call fcn.0044f632
mov dword [ebp - 0x14], edx
mov esi, ecx
mov dword [ebp - 0x28], esi
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x18]
mov edi, 0x48a9dc
push edi
call fcn.0040651c
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push edi
call fcn.0040651c
push edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0040651c
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0040651c
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004064f3
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
push eax
lea eax, [ebp - 0x24]
push str._cid_d
push eax
call fcn.00406873
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
add esp, 0xc
push dword [eax - 0xc]
push eax
call fcn.004067c8
mov edi, dword [ebp + 8]
push edi
push esi
push str.KHelper::DownloadFileAndDecompressCrc_url:_ws_file:_ws
push 0x49db70
call fcn.0046ad90
add esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x4627dd
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.004064f3
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x46282c
push 0
push edi
call fcn.0043a7bc
pop ecx
pop ecx
test eax, eax
jne 0x46282c
lea edx, [ebp - 0x1c]
mov ecx, edi
call fcn.0040b403
test eax, eax
je 0x46282c
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push 0x48b0f0
push eax
call fcn.00406873
add esp, 0xc
lea ecx, [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.00404683
test eax, eax
jne 0x46282c
xor esi, esi
jmp 0x462927
call ebx
mov dword [ebp + 0xc], eax
xor ebx, ebx
jmp 0x462838
mov esi, dword [ebp - 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x14]
cmp ebx, 3
jae 0x462871
push dword [ebp + 0x10]
mov ecx, esi
call fcn.00461ed1
mov esi, eax
pop ecx
test esi, esi
jne 0x4628f8
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0xc]
push eax
push edi
call fcn.0045c3ae
jmp 0x4628a3
cmp ebx, 5
jae 0x462882
push dword [ebp + 0x10]
mov ecx, esi
call fcn.00461d8c
jmp 0x46289c
cmp ebx, 6
jae 0x462891
push ecx
mov ecx, esi
call fcn.00461a57
jmp 0x46289c
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x20]
call fcn.00461ed1
mov esi, eax
pop ecx
test esi, esi
jne 0x4628f8
mov edx, dword [ebp - 0x14]
push ecx
mov ecx, edi
call fcn.00461a33
pop ecx
test eax, eax
jne 0x4628b7
push 4
jmp 0x4628f7
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x462904
lea edx, [ebp - 0x1c]
mov ecx, edi
call fcn.0040b403
test eax, eax
jne 0x4628d2
push 8
jmp 0x4628f7
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push 0x48b0f0
push eax
call fcn.00406873
add esp, 0xc
lea ecx, [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.00404683
test eax, eax
je 0x462904
push 9
pop esi
inc ebx
cmp ebx, 7
jb 0x462835
jmp 0x462906
xor esi, esi
push edi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0xc]
push eax
push esi
push str.DownloadFileAndDecompressCrc_return:_d__cost_time:_d__url:_ws__path:_ws
push 0x49db70
call fcn.0046ad90
add esp, 0x18
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.0040630c
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0040630c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040630c
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040630c
mov eax, esi
call fcn.0044f60c
ret