Function at 0x140072530
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, rcx
xor r15d, r15d
mov qword [rsp + 0x28], r15
lea rbx, [rcx + 8]
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140051f10
test eax, eax
jne 0x1400725a1
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14007259a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140072a48
mov qword [rsp + 0xa8], 0xf
mov qword [rsp + 0xa0], r15
mov byte [rsp + 0x90], 0
lea rdx, [rsp + 0x88]
mov rcx, rbx
call fcn.14004f380
cmp eax, 2
je 0x14007261d
cmp qword [rsp + 0xa8], 0x10
jb 0x1400725ea
mov rcx, qword [rsp + 0x90]
call fcn.1400ad0b8
mov qword [rsp + 0xa8], 0xf
mov qword [rsp + 0xa0], r15
mov byte [rsp + 0x90], 0
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140072616
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140072a48
mov r12d, r15d
mov r14d, r15d
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x140072983
cmp rax, 0xa00000
ja 0x140072983
mov r13d, 1
cmp qword [rdi + 0x48], r12
jne 0x140072833
lea r9d, [r13 + 0xd]
xor r8d, r8d
lea rdx, str.1E385666583E1
lea rcx, [rsp + 0x88]
call fcn.140072ed0
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140072836
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x88]
call fcn.140031780
nop
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140069c70
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rax, qword [rsp + 0x68]
cmp byte [rax], 0x68
jne 0x1400727e8
mov rcx, qword [rsp + 0x78]
cmp rcx, 1
jae 0x1400726de
call fcn.1400aedac
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rax, qword [rsp + 0x68]
cmp byte [rax + 1], 0x74
jne 0x1400727e8
cmp rcx, 2
jae 0x14007270c
call fcn.1400aedac
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rax, qword [rsp + 0x68]
cmp byte [rax + 2], 0x74
jne 0x1400727e8
cmp rcx, 3
jae 0x140072735
call fcn.1400aedac
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rax, qword [rsp + 0x68]
cmp byte [rax + 3], 0x70
jne 0x1400727e8
mov r8d, 0xfde9
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14004ec70
nop
lea rcx, [rdi + 0x30]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
call fcn.140025740
nop
cmp qword [rsp + 0x50], 8
jb 0x14007278f
mov rcx, qword [rsp + 0x38]
call fcn.1400ad0b8
mov qword [rsp + 0x50], 0xf
mov qword [rsp + 0x48], r15
mov byte [rsp + 0x38], 0
mov r8d, 0xe
lea rdx, str.1E385666583E1
lea rcx, [rsp + 0x30]
call fcn.140004cb0
nop
mov rax, qword [rsp + 0x48]
lea r8, [rax + rsi + 1]
xor edx, edx
lea rcx, [rsp + 0x88]
call fcn.140003ef0
nop
cmp qword [rsp + 0x50], 0x10
jb 0x1400727ee
mov rcx, qword [rsp + 0x38]
call fcn.1400ad0b8
jmp 0x1400727ee
mov r12d, 1
cmp qword [rsp + 0x80], 0x10
jb 0x140072803
mov rcx, qword [rsp + 0x68]
call fcn.1400ad0b8
mov qword [rsp + 0x80], 0xf
mov qword [rsp + 0x78], r15
mov byte [rsp + 0x68], 0
cmp qword [rsp + 0xd0], 0x10
jb 0x140072836
mov rcx, qword [rsp + 0xb8]
call fcn.1400ad0b8
jmp 0x140072836
mov r13d, r15d
cmp qword [rdi + 0x48], 0
je 0x140072940
mov qword [rsp + 0x100], 7
mov qword [rsp + 0xf8], r15
mov word [rsp + 0xe8], r15w
mov qword [rsp + 0x128], 7
mov qword [rsp + 0x120], r15
mov word [rsp + 0x110], r15w
mov qword [rsp + 0x150], 7
mov qword [rsp + 0x148], r15
mov word [rsp + 0x138], r15w
mov word [rsp + 0x158], r15w
lea r8, [rdi + 0x30]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0xe0]
call fcn.1400746c0
test eax, eax
je 0x14007292d
cmp eax, 1
je 0x14007292d
cmp dword [0x140131218], 0
je 0x1400728fb
cmp qword [rbx + 0x20], 8
jb 0x1400728d9
mov rsi, qword [rbx + 8]
jmp 0x1400728dd
lea rsi, [rbx + 8]
call fcn.14004e530
mov rcx, rax
mov r9, rsi
lea r8, str.statistics::UploadFileTask::RunThreadTask
lea rdx, str._s__post_fail___s
call fcn.14004de70
mov r14d, 1
test r13d, r13d
je 0x140072919
xor r8d, r8d
lea rdx, [0x1400f9500]
lea rcx, [rdi + 0x30]
call fcn.140025a70
mov r8d, 0x1b7740
mov rdx, rdi
mov rcx, qword [rdi + 0x60]
call fcn.140049da0
jmp 0x140072933
mov r12d, 1
lea rcx, [rsp + 0xe0]
call fcn.140071040
test r12d, r12d
jne 0x140072983
cmp dword [0x140131218], r12d
je 0x1400729d2
cmp qword [rbx + 0x20], 8
jb 0x14007295f
mov rbx, qword [rbx + 8]
jmp 0x140072963
add rbx, 8
call fcn.14004e530
mov rcx, rax
mov r9, rbx
lea r8, str.statistics::UploadFileTask::RunThreadTask
lea rdx, str._s__not_can_del__s
call fcn.14004de70
jmp 0x1400729d2
cmp dword [0x140131218], 0
je 0x1400729bb
cmp qword [rbx + 0x20], 8
jb 0x140072999
mov rsi, qword [rbx + 8]
jmp 0x14007299d
lea rsi, [rbx + 8]
call fcn.14004e530
mov rcx, rax
mov r9, rsi
lea r8, str.statistics::UploadFileTask::RunThreadTask
lea rdx, str._s__can_del__s
call fcn.14004de70
cmp qword [rbx + 0x20], 8
jb 0x1400729c8
mov rcx, qword [rbx + 8]
jmp 0x1400729cc
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x1400729ed
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, r15
mov qword [rsp + 0x28], rbx
test r14d, r14d
jne 0x140072a04
test rdi, rdi
je 0x140072a04
mov rax, qword [rdi]
lea edx, [r14 + 1]
mov rcx, rdi
call qword [rax]
nop
cmp qword [rsp + 0xa8], 0x10
jb 0x140072a1c
mov rcx, qword [rsp + 0x90]
call fcn.1400ad0b8
mov qword [rsp + 0xa8], 0xf
mov qword [rsp + 0xa0], r15
mov byte [rsp + 0x90], 0
test rbx, rbx
je 0x140072a46
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400ad2c0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret