Function at 0x48bb4a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0048ea43
xor edi, edi
test al, al
je 0x48bb77
push edi
push edi
push edi
push 7
push dword [esi + 0xa0]
mov ecx, esi
push 0xffffffffffffffff
call fcn.0048ef1b
push 6
mov ecx, esi
call fcn.0048bad7
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, edi
cmp dword [0x5912bc], 0
je 0x48bbaa
push ebx
call ebp
push eax
push str._INFO___d___start_download__retry__d_
push 3
push dword [0x5912bc]
call fcn.0047e2a3
add esp, 0x14
push edi
push edi
push ebx
push 9
push dword [esi + 0xa0]
mov ecx, esi
push 0xffffffffffffffff
call fcn.0048ef1b
mov ecx, esi
call fcn.0048d186
cmp dword [0x5912bc], 0
mov edi, eax
mov dword [esp + 0x10], edi
je 0x48bbee
push edi
push ebx
call ebp
push eax
push str._INFO___d___start_download__retry__d__result__d_
push 3
push dword [0x5912bc]
call fcn.0047e2a3
add esp, 0x18
test edi, edi
je 0x48bc25
mov ecx, esi
cmp edi, 1
je 0x48bd88
lea eax, [esp + 0x10]
push eax
call fcn.0048dcf3
mov edi, dword [esp + 0x10]
cmp edi, 0xd
je 0x48bddc
cmp edi, 0xa
je 0x48bddc
test edi, edi
jne 0x48bcbb
cmp dword [0x5912bc], 0
je 0x48bc46
call ebp
push eax
push str._INFO___d___wait_for_download_finished.
push 3
push dword [0x5912bc]
call fcn.0047e2a3
add esp, 0x10
mov ecx, esi
call fcn.0048ea97
mov dword [esp + 0x10], eax
test eax, eax
jne 0x48bca2
xor ecx, ecx
cmp dword [esi + 0x50], ecx
jle 0x48bc78
mov eax, dword [esi + 0x58]
add eax, 0xfb
cmp byte [eax], 0
je 0x48bd5a
inc ecx
add eax, 0x100
cmp ecx, dword [esi + 0x50]
jl 0x48bc64
cmp dword [0x5912bc], 0
je 0x48bc99
call ebp
push eax
push str._INFO___d___download_finished.
push 3
push dword [0x5912bc]
call fcn.0047e2a3
add esp, 0x10
push 1
mov ecx, esi
call fcn.0048ea70
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.0048dcf3
mov edi, dword [esp + 0x10]
cmp edi, 0xd
je 0x48bddc
cmp edi, 0xc
je 0x48bcc5
cmp edi, 0xb
jne 0x48bcf7
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x44]
cmp dword [eax - 0xc], 0
je 0x48bcf7
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.0048d715
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00450b32
mov ecx, esi
call fcn.0048c813
cmp ebx, 9
je 0x48bdb9
test edi, edi
je 0x48bdb9
push 0x64
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x48bd93
mov ecx, esi
call fcn.0048ea43
test al, al
je 0x48bd3e
push edi
push ebx
push 0
push 0xa
push dword [esi + 0xa0]
mov ecx, esi
push 0xffffffffffffffff
call fcn.0048ef1b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jge 0x48bddc
xor edi, edi
jmp 0x48bb88
cmp dword [0x5912bc], 0
je 0x48bd7b
call ebp
push eax
push str._ERROR___d___download_failed_
push 1
push dword [0x5912bc]
call fcn.0047e2a3
add esp, 0x10
mov dword [esp + 0x10], 0xe
jmp 0x48bca2
push 1
call fcn.0048ea70
xor edi, edi
jmp 0x48bddc
cmp dword [0x5912bc], 0
je 0x48bdb4
call ebp
push eax
push str._WARN___d___download_delay_retry__cancel.
push 2
push dword [0x5912bc]
call fcn.0047e2a3
add esp, 0x10
push 0xd
pop edi
jmp 0x48bddc
cmp dword [0x5912bc], 0
je 0x48bddc
push edi
push ebx
call ebp
push eax
push str._INFO___d___download_finished__retry__d___result__d_.
push 3
push dword [0x5912bc]
call fcn.0047e2a3
add esp, 0x18
mov ecx, esi
call fcn.0048ea43
test al, al
je 0x48be12
push edi
push ebx
push 0
push 0xa
push dword [esi + 0xa0]
mov ecx, esi
push 0xffffffffffffffff
call fcn.0048ef1b
push 0
push 0
push edi
push 2
push dword [esi + 0xa0]
mov ecx, esi
push 0xffffffffffffffff
call fcn.0048ef1b
xor eax, eax
test edi, edi
pop edi
sete al
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret