Function at 0x140140440
Capabilities:
Delete file

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x428
mov qword [rsp + 0x410], 0xfffffffffffffffe
cmp dword [rsp + 0x440], 0
je 0x14014047f
mov edx, dword [rsp + 0x438]
mov rcx, qword [rsp + 0x430]
call fcn.14013f0e0
lea rcx, [rsp + 0x40]
call fcn.14000e170
nop
mov dword [rsp + 0x1d8], 1
lea rcx, [rsp + 0x40]
call fcn.1401e4480
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x30]
call fcn.140001430
nop
mov dword [rsp + 0x380], 0
cmp dword [rsp + 0x380], 0
jl 0x14014095b
lea r9, [rsp + 0x380]
lea r8, [0x14024780c]
lea rdx, [rsp + 0x3c0]
lea rcx, [rsp + 0x30]
call fcn.140006620
nop
lea rcx, [rsp + 0x3c0]
call fcn.140006ea0
movzx eax, al
test eax, eax
je 0x140140513
lea rcx, [rsp + 0x3c0]
call fcn.140007060
jmp 0x14014095b
xor edx, edx
lea rcx, [rsp + 0x3c0]
call fcn.140006e50
movzx r8d, ax
lea rdx, [0x14024a1c0]
lea rcx, [rsp + 0x3c0]
call fcn.140002ba0
lea rcx, [rsp + 0x3b8]
call fcn.140002d10
nop
lea rcx, [rsp + 0x388]
call fcn.1400777f0
nop
mov r9, qword [rsp + 0x430]
mov r9, qword [r9 + 0x48]
mov r8, qword [rsp + 0x3c0]
lea rdx, [0x14024a1d0]
lea rcx, [rsp + 0x3b8]
call fcn.140002ba0
lea rcx, [rsp + 0x3b8]
call fcn.140050200
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x388]
call fcn.1400778f4
mov dword [rsp + 0x3c8], eax
cmp dword [rsp + 0x3c8], 0
je 0x14014063d
lea rcx, [rsp + 0x388]
call fcn.1400774fc
mov dword [rsp + 0x3c8], eax
lea rdx, [rsp + 0x3d0]
lea rcx, [rsp + 0x388]
call fcn.140077d48
nop
lea rcx, [rsp + 0x3d0]
call fcn.140050200
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x3cc], eax
mov eax, dword [rsp + 0x3cc]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x3d0]
mov r8, qword [rsp + 0x430]
mov r8, qword [r8 + 0x108]
lea rdx, [0x14024a1f0]
xor ecx, ecx
call fcn.1400de020
nop
lea rcx, [rsp + 0x3d0]
call fcn.140007060
jmp 0x1401405a5
lea rcx, [rsp + 0x388]
call fcn.140077428
mov r9, qword [rsp + 0x430]
mov r9, qword [r9 + 0x48]
mov r8, qword [rsp + 0x3c0]
lea rdx, [0x14024a240]
lea rcx, [rsp + 0x3b8]
call fcn.140002ba0
lea rcx, [rsp + 0x3b8]
call fcn.140050200
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x388]
call fcn.1400778f4
mov dword [rsp + 0x3c8], eax
cmp dword [rsp + 0x3c8], 0
je 0x140140731
lea rcx, [rsp + 0x388]
call fcn.1400774fc
mov dword [rsp + 0x3c8], eax
lea rdx, [rsp + 0x3e0]
lea rcx, [rsp + 0x388]
call fcn.140077d48
nop
lea rcx, [rsp + 0x3e0]
call fcn.140050200
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x3d8], eax
mov eax, dword [rsp + 0x3d8]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x3e0]
mov r8, qword [rsp + 0x430]
mov r8, qword [r8 + 0x108]
lea rdx, [0x14024a270]
xor ecx, ecx
call fcn.1400de020
nop
lea rcx, [rsp + 0x3e0]
call fcn.140007060
jmp 0x140140699
lea rcx, [rsp + 0x388]
call fcn.140077428
mov r9, qword [rsp + 0x430]
mov r9, qword [r9 + 0x108]
mov r8, qword [rsp + 0x3c0]
lea rdx, [0x14024a258]
lea rcx, [rsp + 0x3b8]
call fcn.140002ba0
lea rcx, [rsp + 0x3b8]
call fcn.140050200
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x388]
call fcn.1400778f4
mov dword [rsp + 0x3c8], eax
cmp dword [rsp + 0x3c8], 0
je 0x140140828
lea rcx, [rsp + 0x388]
call fcn.1400774fc
mov dword [rsp + 0x3c8], eax
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0x388]
call fcn.140077d48
nop
lea rcx, [rsp + 0x3f0]
call fcn.140050200
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x3e8], eax
mov eax, dword [rsp + 0x3e8]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x3f0]
mov r8, qword [rsp + 0x430]
mov r8, qword [r8 + 0x108]
lea rdx, [0x14024a2c0]
xor ecx, ecx
call fcn.1400de020
nop
lea rcx, [rsp + 0x3f0]
call fcn.140007060
jmp 0x140140790
lea rcx, [rsp + 0x388]
call fcn.140077428
mov r9, qword [rsp + 0x430]
mov r9, qword [r9 + 0x108]
mov r8, qword [rsp + 0x3c0]
lea rdx, [0x14024a310]
lea rcx, [rsp + 0x3b8]
call fcn.140002ba0
lea rcx, [rsp + 0x3b8]
call fcn.140050200
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x388]
call fcn.1400778f4
mov dword [rsp + 0x3c8], eax
cmp dword [rsp + 0x3c8], 0
je 0x14014091f
lea rcx, [rsp + 0x388]
call fcn.1400774fc
mov dword [rsp + 0x3c8], eax
lea rdx, [rsp + 0x400]
lea rcx, [rsp + 0x388]
call fcn.140077d48
nop
lea rcx, [rsp + 0x400]
call fcn.140050200
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x3f8], eax
mov eax, dword [rsp + 0x3f8]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x400]
mov r8, qword [rsp + 0x430]
mov r8, qword [r8 + 0x108]
lea rdx, str._s_delete_write_back_file__s_return__d
xor ecx, ecx
call fcn.1400de020
nop
lea rcx, [rsp + 0x400]
call fcn.140007060
jmp 0x140140887
lea rcx, [rsp + 0x388]
call fcn.140077428
nop
lea rcx, [rsp + 0x388]
call fcn.14007784c
nop
lea rcx, [rsp + 0x3b8]
call fcn.140007060
nop
lea rcx, [rsp + 0x3c0]
call fcn.140007060
jmp 0x1401404bd
mov dword [rsp + 0x408], 1
lea rcx, [rsp + 0x30]
call fcn.140007060
nop
lea rcx, [rsp + 0x40]
call fcn.140005e30
mov eax, dword [rsp + 0x408]
add rsp, 0x428
ret