Function at 0x41a100
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x436fcb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x453358]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.CDownloadTask.0
cmp dword [esi + 0x14], 0xffffffff
mov dword [esp + 0x20], 7
je 0x41a158
call fcn.00419e60
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x41a158
call fcn.0041ba90
mov ecx, dword [esi + 0x68]
call fcn.0041b440
mov ebx, dword [esi + 0x78]
cmp ebx, dword [esi + 0x7c]
jbe 0x41a166
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esi + 0x6c]
mov ebp, ebx
jmp 0x41a170
mov ebx, dword [esi + 0x7c]
cmp dword [esi + 0x78], ebx
jbe 0x41a17e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x6c]
test edi, edi
je 0x41a189
cmp edi, eax
je 0x41a18f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, ebx
je 0x41a1ce
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test edi, edi
jne 0x41a1c6
call ebx
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x41a1a8
call ebx
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
jne 0x41a1ca
call ebx
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x41a1c1
call ebx
add ebp, 4
jmp 0x41a170
mov eax, dword [edi]
jmp 0x41a1a1
mov eax, dword [edi]
jmp 0x41a1ba
mov eax, dword [esi + 0x84]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4444f0]
je 0x41a201
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41a201
mov eax, dword [esi + 0x84]
sub eax, 0xc
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esi + 0x78]
test eax, eax
je 0x41a227
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x7c]
push edx
lea edx, [esi + 0x74]
push edx
push ecx
push eax
call fcn.00411870
mov eax, dword [esi + 0x78]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 0x14
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x6c]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov eax, dword [esi + 0x54]
lea ecx, [eax - 0xc]
add esp, 4
cmp ecx, dword [0x4444f0]
je 0x41a268
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41a268
mov eax, dword [esi + 0x54]
sub eax, 0xc
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esi + 0x50]
lea edx, [eax - 0xc]
cmp edx, dword [0x4444f0]
je 0x41a28f
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41a28f
mov eax, dword [esi + 0x50]
sub eax, 0xc
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [esi + 0x38]
mov byte [esp + 0x20], 2
test ecx, ecx
je 0x41a2a2
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [esi + 0x34]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4444f0]
je 0x41a2c9
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41a2c9
mov edx, dword [esi + 0x34]
sub edx, 0xc
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esi + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4444f0]
je 0x41a2f0
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41a2f0
mov edx, dword [esi + 0x10]
sub edx, 0xc
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esi + 0xc]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4444f0]
je 0x41a317
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41a317
mov edx, dword [esi + 0xc]
sub edx, 0xc
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret