Function at 0x408363
Capabilities:
Delete file

Disassembly:
mov eax, 0x43d6b2
call fcn.0042e3c4
sub esp, 0x74
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0xe8]
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x453170]
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.004061e2
xor esi, esi
mov dword [ebp - 0x14], esi
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 3
call fcn.00409084
cmp eax, edi
mov dword [ebp - 0x1c], eax
je 0x408638
lea edi, [ebx + 0xa0]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
lea ecx, [ebx + 0x30]
call fcn.00408f46
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.00408f70
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
mov eax, esi
call fcn.0040618f
lea eax, [ebp - 0x20]
push eax
mov eax, esi
call fcn.004061aa
mov ecx, eax
call fcn.00401ce9
push eax
lea ecx, [ebp - 0x38]
call fcn.00401abf
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x40842e
call fcn.004013ad
lea eax, [ebp - 0x24]
push eax
mov eax, esi
call fcn.00406157
push eax
lea ecx, [ebp - 0x80]
call fcn.00401b73
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x408455
call fcn.004013ad
xor eax, eax
call fcn.004031c5
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x28]
push eax
mov eax, esi
call fcn.00406174
push eax
lea ecx, [ebp - 0x7c]
call fcn.00401b73
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x408486
call fcn.004013ad
cmp dword [esi + 0x2c], 0
jbe 0x4084c3
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x60]
call fcn.004091bb
lea eax, [esi + 0x28]
push eax
lea ecx, [ebp - 0x60]
call fcn.00408d19
push dword [ebp - 0x5c]
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.clear_select_link_info_in_releastask_before_update__after_update_the_urllink_num_is__d
call fcn.00401af2
mov eax, 0x4585b8
call fcn.0040ddbd
pop ecx
pop ecx
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x40859d
cmp eax, 5
je 0x4085e2
cmp eax, 4
jne 0x4085ee
cmp dword [esi + 0x1c], 2
jne 0x4085ee
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.004061aa
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00408c68
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x40851d
call fcn.004013ad
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x30]
push eax
mov eax, esi
call fcn.004061c5
push eax
lea ecx, [ebp - 0x70]
call fcn.00401b73
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x40854d
call fcn.004013ad
mov eax, dword [esi + 0x138]
mov dword [ebp - 0x6c], eax
mov dword [ebx + 0x1c], 1
mov eax, dword [esi]
push esi
call dword [eax + 0x20]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebx + 0x30]
push eax
xor esi, esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
call fcn.00408e59
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x50]
call fcn.00408d5a
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x4085ee
call fcn.004013ad
jmp 0x4085ee
xor ebx, ebx
cmp dword [ebp - 0x5c], ebx
jbe 0x4085df
mov edi, dword [ebp - 0x60]
add edi, 0x24
cmp ebx, dword [ebp - 0x5c]
jae 0x408920
push 0
call fcn.0042ed12
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str._Downloading_Log__get_state_is_error_so_timeout_reset
mov dword [edi], eax
call fcn.00401af2
mov eax, 0x4585b8
call fcn.0040ddbd
inc ebx
add edi, 0x38
cmp ebx, dword [ebp - 0x5c]
pop ecx
jb 0x4085b3
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x50]
call fcn.00408d5a
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x10]
push eax
lea edi, [ebx + 0xa0]
push edi
call fcn.00408fa8
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x408615
call fcn.004013ad
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x40862c
call fcn.004013ad
cmp dword [ebp - 0x1c], 0
jne 0x4083cd
xor edi, edi
cmp dword [ebp - 0x4c], 0
jbe 0x408657
push edi
lea ecx, [ebp - 0x50]
call fcn.00402484
push eax
lea eax, [ebx + 0x30]
push eax
call fcn.00408ea3
inc edi
cmp edi, dword [ebp - 0x4c]
jb 0x40863e
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x50]
call fcn.004023fe
lea eax, [ebx + 0x60]
mov dword [ebp - 0x18], eax
call fcn.00409084
test eax, eax
mov dword [ebp - 0x20], eax
je 0x4088b6
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
call fcn.00408f46
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebx + 0x100]
push eax
call fcn.00408f70
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
mov eax, esi
call fcn.0040618f
lea eax, [ebp - 0x38]
push eax
mov eax, esi
call fcn.004061aa
mov ecx, eax
call fcn.00401ce9
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401abf
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x4086e0
call fcn.004013ad
lea eax, [ebp - 0x34]
push eax
mov eax, esi
call fcn.00406157
push eax
lea ecx, [ebp - 0x80]
call fcn.00401b73
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x408707
call fcn.004013ad
xor eax, eax
call fcn.004031c5
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x30]
push eax
mov eax, esi
call fcn.00406174
push eax
lea ecx, [ebp - 0x7c]
call fcn.00401b73
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x408738
call fcn.004013ad
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x60]
call fcn.004091bb
lea eax, [esi + 0x28]
push eax
lea ecx, [ebp - 0x60]
call fcn.00408d19
mov edi, dword [esi + 0xa4]
test edi, edi
je 0x40882c
cmp edi, 5
je 0x40882c
cmp edi, 4
jne 0x40886e
cmp dword [esi + 0x1c], 2
jne 0x40886e
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.004061aa
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00408c68
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x4087aa
call fcn.004013ad
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x28]
push eax
mov eax, esi
call fcn.004061c5
push eax
lea ecx, [ebp - 0x70]
call fcn.00401b73
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x4087da
call fcn.004013ad
mov eax, dword [esi + 0x138]
mov dword [ebp - 0x6c], eax
mov dword [ebx + 0x94], 1
mov eax, dword [esi]
push esi
call dword [eax + 0x20]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
xor esi, esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
call fcn.00408e59
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x50]
call fcn.00408d5a
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x40886e
call fcn.004013ad
jmp 0x40886e
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x50]
call fcn.00408d5a
test edi, edi
jne 0x40886e
and dword [ebp + 8], edi
cmp dword [ebp - 0x5c], edi
jbe 0x40886e
mov edi, dword [ebp - 0x60]
add edi, 0x24
mov eax, dword [ebp - 0x5c]
cmp dword [ebp + 8], eax
jae 0x408920
push 0
call fcn.0042ed12
inc dword [ebp + 8]
mov dword [edi], eax
mov eax, dword [ebp + 8]
add edi, 0x38
cmp eax, dword [ebp - 0x5c]
pop ecx
jb 0x40884a
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebx + 0x100]
push eax
call fcn.00408fa8
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x408895
call fcn.004013ad
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x4088ac
call fcn.004013ad
cmp dword [ebp - 0x20], 0
jne 0x408679
xor edi, edi
cmp dword [ebp - 0x4c], edi
jbe 0x4088d5
push edi
lea ecx, [ebp - 0x50]
call fcn.00402484
push eax
push dword [ebp - 0x18]
call fcn.00408ea3
inc edi
cmp edi, dword [ebp - 0x4c]
jb 0x4088bd
test esi, esi
mov byte [ebp - 4], 2
je 0x4088e3
mov eax, dword [esi]
push esi
call dword [eax + 0x20]
lea esi, [ebp - 0x80]
call fcn.00406697
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff4
cmp ecx, dword [0x453174]
je 0x4088fe
call fcn.004013ad
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x50]
call fcn.0040249f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
push 0x80070057
call fcn.004010ca
int3