Function at 0x4613ed
Capabilities:
Delete file

Disassembly:
push 0x38
mov eax, 0x472a48
call fcn.0044f632
mov edi, edx
mov dword [ebp - 0x3c], edi
mov ebx, ecx
mov dword [ebp - 0x20], ebx
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
and dword [ebp - 0x1c], 0
push 0x49ccf0
call fcn.00406102
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
and dword [ebp - 0x2c], 0
mov esi, 0x48a9dc
push esi
call fcn.0040651c
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0040651c
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0040651c
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.004064f3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x30]
push str._cid_d
push eax
call fcn.00406873
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x24]
add esp, 0xc
push dword [eax - 0xc]
push eax
call fcn.004067c8
push dword [ebp + 8]
push ebx
push str.KHelper::DownloadFileAndDecompressCrcDat_url:_ws_file:_ws
push 0x49db70
call fcn.0046ad90
add esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x4614a3
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.004064f3
push edi
lea ecx, [ebp - 0x34]
call fcn.0040651c
xor ebx, ebx
mov byte [ebp - 4], 4
inc ebx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], ebx
call fcn.00460745
test eax, eax
jne 0x4614ff
push edi
lea ecx, [ebp - 0x28]
call fcn.0040651c
push 3
pop ebx
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
call fcn.004606f2
test eax, eax
jne 0x4614ff
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x4614ff
push 0
push edi
call fcn.0043a7bc
mov byte [ebp + 0xf], 1
pop ecx
pop ecx
test eax, eax
je 0x461503
mov byte [ebp + 0xf], 0
test bl, 2
je 0x461516
mov ecx, dword [ebp - 0x28]
and ebx, 0xfffffffd
lea ecx, [ecx - 0x10]
call fcn.0040630c
mov dword [ebp - 4], 3
and ebx, 0xfffffffe
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.0040630c
cmp byte [ebp + 0xf], 0
je 0x4615d1
lea edx, [ebp - 0x1c]
mov ecx, edi
call fcn.0040b403
test eax, eax
je 0x4615d1
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push 0x48b1fc
push eax
call fcn.00406873
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
push esi
call fcn.004399d2
add esp, 0x14
test eax, eax
jne 0x4615d4
push ecx
mov ecx, dword [ebp + 8]
mov edx, edi
call fcn.00461a33
pop ecx
test eax, eax
je 0x4615d4
xor edi, edi
push dword [ebp + 8]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2c]
push eax
push edi
push str.DownloadFileAndDecompressCrcDat_return:_d__cost_time:_d__url:_ws__path:_ws
push 0x49db70
call fcn.0046ad90
mov ecx, dword [ebp - 0x30]
add esp, 0x18
lea ecx, [ecx - 0x10]
call fcn.0040630c
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.0040630c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040630c
lea ecx, [esi - 0x10]
call fcn.0040630c
mov eax, edi
call fcn.0044f60c
ret
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], eax
jmp 0x4615e6
mov edi, dword [ebp - 0x3c]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x28]
mov edx, edi
cmp eax, 3
jae 0x46166a
mov ecx, dword [ebp - 0x20]
push 0
call fcn.00461ed1
pop ecx
test eax, eax
jne 0x46169a
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2c]
push eax
push dword [ebp + 8]
call fcn.0045c3ae
push edi
lea ecx, [ebp - 0x38]
call fcn.0040651c
push dword [ebp + 8]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.0040651c
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.00460798
mov ecx, dword [ebp - 0x34]
mov edi, eax
add ecx, 0xfffffff0
call fcn.0040630c
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.0040630c
test edi, edi
jne 0x4616a2
push 3
jmp 0x46169c
cmp eax, 5
jae 0x46167b
mov ecx, dword [ebp - 0x20]
push 0
call fcn.00461d8c
jmp 0x461695
cmp eax, 6
jae 0x46168b
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00461a57
jmp 0x461695
mov ecx, dword [ebp - 0x24]
push 0
call fcn.00461ed1
pop ecx
test eax, eax
je 0x46161f
push 7
pop edi
jmp 0x461783
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x44]
push edi
call fcn.0040651c
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
or ebx, 4
mov dword [ebp - 0x18], ebx
call fcn.00460745
test eax, eax
jne 0x4616ea
push edi
lea ecx, [ebp - 0x40]
call fcn.0040651c
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x40]
or ebx, 8
mov dword [ebp - 0x18], ebx
call fcn.004606f2
mov byte [ebp + 0xf], 0
test eax, eax
je 0x4616ee
mov byte [ebp + 0xf], 1
test bl, 8
je 0x461701
mov ecx, dword [ebp - 0x40]
and ebx, 0xfffffff7
lea ecx, [ecx - 0x10]
call fcn.0040630c
mov dword [ebp - 4], 3
and ebx, 0xfffffffb
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.0040630c
cmp byte [ebp + 0xf], 0
jne 0x46157b
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x46157b
lea edx, [ebp - 0x1c]
mov ecx, edi
call fcn.0040b403
test eax, eax
jne 0x461742
push 8
jmp 0x46169c
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push str._08x
push eax
call fcn.00406873
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
push esi
call fcn.004399d2
add esp, 0x14
test eax, eax
je 0x46157b
push 9
pop edi
push esi
push dword [ebp - 0x10]
push str.DownloadFileAndDecompressCrcDat_Crc_is_not_correct__expect_crc:_ws__crc:_ws
push 0x49db70
call fcn.0046ad90
add esp, 0x10
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, 7
jb 0x4615e3
jmp 0x46157d