Function at 0x45a840
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48b44a
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x4a4100]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
push edi
mov eax, dword [0x4a4100]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
lea ebx, [esi + 4]
mov ecx, ebx
lea edi, [esp + 0x10]
mov dword [esp + 0x108], eax
mov dword [esp + 0x28], ebx
call fcn.0044b4d0
test eax, eax
je 0x45a900
mov edi, 0xf
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
lea eax, [esp + 0x48]
push eax
mov ecx, ebx
mov byte [esp + 0x10c], 1
call fcn.0044ab20
add esp, 4
cmp eax, 2
je 0x45a918
cmp dword [esp + 0x60], 0x10
jb 0x45a8ef
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0046f011
add esp, 4
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45ac2a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45ac2a
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
cmp eax, ecx
je 0x45ab48
cmp eax, 0xa00000
ja 0x45ab48
mov dword [esp + 0x1c], 1
cmp dword [esi + 0x34], ecx
jne 0x45aa8a
lea edx, [esp + 0x48]
push edx
call fcn.0045ad50
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
je 0x45aa8e
push eax
xor ecx, ecx
lea esi, [esp + 0x84]
lea edx, [esp + 0x4c]
call fcn.0045ad70
lea eax, [esp + 0x64]
push eax
mov ecx, esi
mov byte [esp + 0x10c], 2
call fcn.00456480
xor edi, edi
lea eax, [esp + 0x64]
mov byte [esp + 0x108], 3
call fcn.00452ff0
cmp byte [eax], 0x68
jne 0x45aa5f
mov edi, 1
lea eax, [esp + 0x64]
call fcn.00452ff0
cmp byte [eax], 0x74
jne 0x45aa5f
mov edi, 2
lea eax, [esp + 0x64]
call fcn.00452ff0
cmp byte [eax], 0x74
jne 0x45aa5f
mov edi, 3
lea eax, [esp + 0x64]
call fcn.00452ff0
cmp byte [eax], 0x70
jne 0x45aa5f
lea ecx, [esp + 0x64]
push 0xfde9
push ecx
lea ebx, [esp + 0x34]
call fcn.0044a770
add esp, 8
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push 0
push eax
add ecx, 0x20
mov byte [esp + 0x114], 4
call fcn.00405c00
mov ecx, ebx
mov byte [esp + 0x108], 3
call fcn.00406360
push str.1E385666583E1
lea ecx, [esp + 0x30]
call fcn.00404cf0
mov edx, dword [esp + 0x24]
mov byte [esp + 0x108], 5
mov eax, dword [eax + 0x14]
lea eax, [eax + edx + 1]
push eax
push 0
lea ecx, [esp + 0x50]
call fcn.00404da0
lea ecx, [esp + 0x2c]
call fcn.00405220
mov ebx, dword [esp + 0x28]
jmp 0x45aa67
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x64]
call fcn.00405220
lea ecx, [esp + 0x80]
mov byte [esp + 0x108], 1
call fcn.00405220
mov esi, dword [esp + 0x14]
jmp 0x45aa8e
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x34], 0
je 0x45ab40
lea eax, [esp + 0x9c]
call fcn.00459990
lea edi, [esi + 0x20]
push edi
lea ecx, [esp + 0x4c]
lea edx, [esp + 0xa0]
mov byte [esp + 0x10c], 6
call fcn.00463e90
test eax, eax
je 0x45ab24
cmp eax, 1
je 0x45ab24
cmp dword [0x4aab38], 0
je 0x45aafd
cmp dword [ebx + 0x18], 8
jb 0x45aadd
mov eax, dword [ebx + 4]
jmp 0x45aae0
lea eax, [ebx + 4]
push eax
push str.statistics::UploadFileTask::RunThreadTask
push str._s__post_fail___s
push ecx
call fcn.0044a1f0
add esp, 4
push eax
call fcn.00449cc0
add esp, 0x10
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x20], 1
je 0x45ab18
push 0x492994
mov ecx, edi
call fcn.004060d0
mov ecx, dword [esi + 0x40]
push esi
push ecx
call fcn.004482f0
jmp 0x45ab2c
mov dword [esp + 0x18], 1
lea esi, [esp + 0x9c]
mov byte [esp + 0x108], 1
call fcn.004599c0
xor ecx, ecx
cmp dword [esp + 0x18], ecx
je 0x45ab99
cmp dword [0x4aab38], ecx
je 0x45ab7b
cmp dword [ebx + 0x18], 8
jb 0x45ab5b
mov eax, dword [ebx + 4]
jmp 0x45ab5e
lea eax, [ebx + 4]
push eax
push str.statistics::UploadFileTask::RunThreadTask
push str._s__can_del__s
push ecx
call fcn.0044a1f0
add esp, 4
push eax
call fcn.00449cc0
add esp, 0x10
cmp dword [ebx + 0x18], 8
jb 0x45ab8d
mov ebx, dword [ebx + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x45abcc
add ebx, 4
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x45abcc
cmp dword [0x4aab38], ecx
je 0x45abcc
cmp dword [ebx + 0x18], 8
jb 0x45abac
mov ebx, dword [ebx + 4]
jmp 0x45abaf
add ebx, 4
push ebx
push str.statistics::UploadFileTask::RunThreadTask
push str._s__not_can_del__s
push ecx
call fcn.0044a1f0
add esp, 4
push eax
call fcn.00449cc0
add esp, 0x10
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x45abe3
push esi
call edi
xor esi, esi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x20], 0
jne 0x45abfa
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x45abfa
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp dword [esp + 0x60], 0x10
jb 0x45ac0e
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0046f011
add esp, 4
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
test esi, esi
je 0x45ac2a
push esi
call edi
mov al, 1
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.0046f01c
mov esp, ebp
pop ebp
ret