Function at 0x4a4ebb
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x3c]
sub esp, 0x3c
push 0xffffffffffffffff
push 0x51a99f
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x57c080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x20]
call fcn.004997ce
and dword [edi + 0x38], 0
lea ecx, [edi + 0x40]
call fcn.004571e0
mov esi, dword [ebp + 0x44]
test esi, esi
je 0x4a4f08
mov dword [edi + 0x38], esi
mov eax, dword [edi + 0x10]
xor ebx, ebx
mov dword [edi + 0x70], esi
mov eax, dword [eax + 8]
mov dword [ebp + 0x1c], eax
test eax, eax
jle 0x4a4fe1
mov ecx, dword [edi + 0x10]
push ebx
add ecx, 4
call fcn.00488af7
mov al, byte [eax + 0x69]
test al, al
je 0x4a4f90
mov ecx, dword [edi + 0x10]
push ebx
add ecx, 4
call fcn.00488af7
push ebx
mov eax, dword [eax + 0x60]
test eax, eax
je 0x4a4f50
mov ecx, edi
call fcn.004a4bc5
mov ecx, eax
jmp 0x4a4f93
mov ecx, dword [edi + 0x10]
add ecx, 4
call fcn.00488af7
mov edx, dword [eax + 0x10]
cmp edx, 1
jne 0x4a4f82
lea ecx, [eax + 0x2c]
push ecx
push dword [eax + 0x28]
add eax, 0xc
mov ecx, edi
push eax
call fcn.004a4dde
push 2
pop ecx
test al, al
push 5
pop eax
cmovne ecx, eax
jmp 0x4a4f93
xor ecx, ecx
inc ecx
cmp edx, 2
push 3
pop eax
cmove ecx, eax
jmp 0x4a4f93
push 7
pop ecx
cmp ecx, 2
jne 0x4a4fd4
mov ecx, dword [edi + 0x10]
push ebx
add ecx, 4
call fcn.00488af7
lea ecx, [ebp + 0x30]
mov esi, eax
call fcn.0040ce82
and dword [ebp - 4], 0
lea ecx, [esi + 0x2c]
push ecx
push ecx
push ebx
push eax
push dword [esi + 0x28]
lea eax, [esi + 0xc]
push eax
lea ecx, [edi + 0x1c]
call fcn.004992bb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
call fcn.0040d148
inc ebx
cmp ebx, dword [ebp + 0x1c]
jl 0x4a4f1e
mov esi, dword [ebp + 0x44]
lea ecx, [ebp + 0x34]
call fcn.0040ce82
xor eax, eax
inc eax
mov dword [ebp - 4], eax
test esi, esi
je 0x4a5050
mov ecx, dword [edi + 0x10]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.004889dd
mov byte [ebp - 4], 2
mov edx, dword [eax]
mov ebx, dword [ebp + 0x34]
add ebx, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x4a5044
cmp dword [ebx + 0xc], 0
jl 0x4a5038
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4a5038
call fcn.004070e1
mov ecx, ebx
mov esi, eax
call fcn.0040d645
lea eax, [esi + 0x10]
mov esi, dword [ebp + 0x44]
mov dword [ebp + 0x34], eax
jmp 0x4a5044
push dword [edx - 0xc]
lea ecx, [ebp + 0x34]
push edx
call fcn.0040d8ae
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 1
call fcn.0040d148
lea eax, [edi + 0x20]
mov ecx, dword [eax + 4]
mov dword [ebp + 0x30], ecx
test esi, esi
je 0x4a506d
mov eax, dword [esi]
push 0
push ecx
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x30]
lea eax, [edi + 0x20]
xor ebx, ebx
mov dword [ebp + 0x28], ebx
test ecx, ecx
jle 0x4a54f7
push ebx
mov ecx, eax
call fcn.00488c58
mov ebx, eax
mov dword [ebp + 0x1c], ebx
test esi, esi
je 0x4a511e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
test al, al
jne 0x4a54ac
lea ecx, [ebp + 0x2c]
call fcn.0040ce82
push 5
pop eax
mov byte [ebp - 4], al
mov ecx, dword [edi + 0x10]
push dword [ebx + 0x14]
add ecx, 4
call fcn.00488af7
mov ebx, dword [ebp + 0x34]
mov dword [ebp + 0xc], eax
cmp dword [ebx - 4], 1
jle 0x4a50d7
push dword [ebx - 0xc]
lea ecx, [ebp + 0x34]
call fcn.0040d65d
mov ebx, dword [ebp + 0x34]
mov eax, dword [ebp + 0xc]
mov ecx, eax
call fcn.0041170d
push eax
lea eax, [ebp + 0x2c]
push ebx
push eax
call fcn.00411724
mov eax, dword [ebp + 0x2c]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x4a5103
push dword [eax - 0xc]
lea ecx, [ebp + 0x2c]
call fcn.0040d65d
mov eax, dword [ebp + 0x2c]
mov edx, dword [esi]
mov ecx, esi
push 0
push 9
push eax
call dword [edx + 0x28]
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 1
call fcn.0040d148
mov ebx, dword [ebp + 0x1c]
cmp byte [0x57f574], 0
je 0x4a518f
lea ecx, [ebp + 0x24]
call fcn.0040ce82
mov byte [ebp - 4], 6
mov ecx, dword [edi + 0x10]
push dword [ebx + 0x14]
add ecx, 4
call fcn.00488af7
push str.Starting_download_of:
mov ebx, dword [eax]
call fcn.004e09b6
pop ecx
push eax
push str.Starting_download_of:
lea ecx, [ebp + 0x24]
call fcn.00410f3f
test ebx, ebx
je 0x4a5171
push ebx
call fcn.004e09b6
pop ecx
push eax
push ebx
lea ecx, [ebp + 0x24]
call fcn.00410f3f
lea eax, [ebp + 0x24]
mov ecx, 0x57f540
push eax
call fcn.004a1cdb
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 7
call fcn.0040d148
mov byte [ebp - 4], 1
mov ebx, dword [ebp + 0x28]
lea ecx, [edi + 0x1c]
push ebx
call fcn.00499415
push ebx
lea ecx, [edi + 0x20]
call fcn.00488c58
cmp dword [eax + 0x10], 0
jne 0x4a53c1
cmp byte [0x57f574], 0
je 0x4a51f7
lea ecx, [ebp + 0x18]
call fcn.0040ce82
mov ebx, str.Download_completed_succesfully.
mov byte [ebp - 4], 8
push ebx
call fcn.004e09b6
pop ecx
push eax
push ebx
lea ecx, [ebp + 0x18]
call fcn.00410f3f
lea eax, [ebp + 0x18]
mov ecx, 0x57f540
push eax
call fcn.004a1cdb
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 9
call fcn.0040d148
mov byte [ebp - 4], 1
mov ebx, dword [ebp + 0x1c]
lea edx, [edi + 0x1c]
lea ecx, [ebp + 0x38]
lea eax, [ebx + 0x18]
push eax
push ebx
call fcn.004995a5
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
mov eax, dword [edi + 0x10]
cmp dword [eax + 0x38], 2
je 0x4a522b
cmp dword [eax + 0x38], 5
je 0x4a522b
lea eax, [ebp + 0x38]
push eax
lea ecx, [edi + 0x40]
call fcn.00470330
cmp dword [ebx + 4], 0
je 0x4a523e
lea ecx, [ebp + 0x38]
call fcn.0049c0f2
cmp dword [ebx + 4], eax
jne 0x4a526c
mov ecx, dword [edi + 0x10]
push dword [ebx + 0x14]
add ecx, 4
call fcn.00488af7
mov edx, dword [eax + 0x24]
cmp dword [edx - 0xc], 0
je 0x4a5357
mov ecx, dword [ebp + 0x38]
push 0
call fcn.004a430d
pop ecx
test al, al
jne 0x4a5357
mov eax, dword [ebp + 0x38]
cmp dword [eax - 4], 1
jle 0x4a5283
push dword [eax - 0xc]
lea ecx, [ebp + 0x38]
call fcn.0040d65d
mov eax, dword [ebp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x5c
push dword [ebp + 0x38]
call fcn.004debb7
pop ecx
pop ecx
test eax, eax
jne 0x4a529f
or eax, 0xffffffff
jmp 0x4a52a4
sub eax, dword [ebp + 0x38]
sar eax, 1
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp + 0x38]
call fcn.00406d83
lea edx, [edi + 0x1c]
mov byte [ebp - 4], 0xd
mov ecx, eax
call fcn.00479c70
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.0040d148
cmp byte [0x57f574], 0
je 0x4a5314
lea ecx, [ebp + 0x14]
call fcn.0040ce82
mov ebx, str.Downloaded_file_was_rejected._Invalid_size_or_MD5_.
mov byte [ebp - 4], 0xe
push ebx
call fcn.004e09b6
pop ecx
push eax
push ebx
lea ecx, [ebp + 0x14]
call fcn.00410f3f
lea eax, [ebp + 0x14]
mov ecx, 0x57f540
push eax
call fcn.004a1cdb
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0xf
call fcn.0040d148
mov byte [ebp - 4], 0xa
test esi, esi
je 0x4a5343
lea edx, [ebp + 0x38]
lea ecx, [ebp + 4]
call fcn.00478be0
push 0
mov byte [ebp - 4], 0x10
mov ecx, esi
mov edx, dword [esi]
push 0xe0000022
push dword [eax]
call dword [edx + 0x24]
lea ecx, [ebp + 4]
mov byte [ebp - 4], 0xa
call fcn.0040d148
mov ebx, dword [ebp + 0x28]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 1
call fcn.0040d148
jmp 0x4a549b
cmp byte [0x57f574], 0
je 0x4a53a0
lea ecx, [ebp + 0x10]
call fcn.0040ce82
mov ebx, str.Downloaded_file_was_accepted.
mov byte [ebp - 4], 0xb
push ebx
call fcn.004e09b6
pop ecx
push eax
push ebx
lea ecx, [ebp + 0x10]
call fcn.00410f3f
lea eax, [ebp + 0x10]
mov ecx, 0x57f540
push eax
call fcn.004a1cdb
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xc
call fcn.0040d148
mov byte [ebp - 4], 0xa
mov ebx, dword [ebp + 0x28]
lea ecx, [edi + 0x20]
push ebx
call fcn.00488c58
mov ecx, dword [edi + 0x10]
add ecx, 4
mov eax, dword [eax + 0x14]
push eax
call fcn.00488af7
mov byte [eax + 0x68], 1
jmp 0x4a5346
cmp byte [0x57f574], 0
je 0x4a543f
mov edx, dword [edi + 0x3c]
push ecx
lea ecx, [ebp]
call fcn.00476780
pop ecx
mov esi, eax
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x11
call fcn.0040ce82
mov byte [ebp - 4], 0x12
mov esi, dword [esi]
push 0x544c84
call fcn.004e09b6
pop ecx
push eax
push 0x544c84
lea ecx, [ebp + 0x20]
call fcn.00410f3f
test esi, esi
je 0x4a5419
push esi
call fcn.004e09b6
pop ecx
push eax
push esi
lea ecx, [ebp + 0x20]
call fcn.00410f3f
lea eax, [ebp + 0x20]
mov ecx, 0x57f540
push eax
call fcn.004a1cdb
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x13
call fcn.0040d148
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0040d148
mov esi, dword [edi + 0x10]
lea ecx, [edi + 0x20]
push ebx
call fcn.00488c58
lea ecx, [esi + 4]
mov eax, dword [eax + 0x14]
push eax
call fcn.00488af7
push eax
lea ecx, [ebp - 0x60]
call fcn.00488d89
push 0
push 0x539598
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x14
call fcn.00438ebe
mov esi, dword [ebp + 0x44]
test eax, eax
js 0x4a548f
test esi, esi
je 0x4a548f
mov eax, dword [esi]
mov ecx, esi
push 0
push 0xe0000024
push dword [ebp - 0x60]
call dword [eax + 0x24]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00456da3
inc ebx
mov dword [ebp + 0x28], ebx
cmp ebx, dword [ebp + 0x30]
jge 0x4a54f7
lea eax, [edi + 0x20]
jmp 0x4a507a
cmp byte [0x57f574], 0
je 0x4a54f7
lea ecx, [ebp + 0x44]
call fcn.0040ce82
push 3
pop eax
mov esi, str.Download_was_canceled.
mov byte [ebp - 4], al
push esi
call fcn.004e09b6
pop ecx
push eax
push esi
lea ecx, [ebp + 0x44]
call fcn.00410f3f
lea eax, [ebp + 0x44]
mov ecx, 0x57f540
push eax
call fcn.004a1cdb
lea ecx, [ebp + 0x44]
mov byte [ebp - 4], 4
call fcn.0040d148
mov byte [ebp - 4], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x34]
call fcn.0040d148
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x3c
leave
ret 4