Function at 0x1401351e0
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 0x14013521f
mov edx, dword [rsp + 0x438]
mov rcx, qword [rsp + 0x430]
call fcn.140133e80
lea rcx, [rsp + 0x40]
call fcn.14000f1c0
nop
mov dword [rsp + 0x1d8], 1
lea rcx, [rsp + 0x40]
call fcn.1401cfc20
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x30]
call fcn.140001430
nop
mov dword [rsp + 0x380], 0
cmp dword [rsp + 0x380], 0
jl 0x1401356fb
lea r9, [rsp + 0x380]
lea r8, [0x14022ff94]
lea rdx, [rsp + 0x3c0]
lea rcx, [rsp + 0x30]
call fcn.1400065a0
nop
lea rcx, [rsp + 0x3c0]
call fcn.140006e20
movzx eax, al
test eax, eax
je 0x1401352b3
lea rcx, [rsp + 0x3c0]
call fcn.140001490
jmp 0x1401356fb
xor edx, edx
lea rcx, [rsp + 0x3c0]
call fcn.140006dd0
movzx r8d, ax
lea rdx, [0x140233090]
lea rcx, [rsp + 0x3c0]
call fcn.140002c40
lea rcx, [rsp + 0x3b8]
call fcn.140002db0
nop
lea rcx, [rsp + 0x388]
call fcn.140076008
nop
mov r9, qword [rsp + 0x430]
mov r9, qword [r9 + 0x48]
mov r8, qword [rsp + 0x3c0]
lea rdx, [0x1402330a0]
lea rcx, [rsp + 0x3b8]
call fcn.140002c40
lea rcx, [rsp + 0x3b8]
call fcn.140023510
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x388]
call fcn.14007610c
mov dword [rsp + 0x3c8], eax
cmp dword [rsp + 0x3c8], 0
je 0x1401353dd
lea rcx, [rsp + 0x388]
call fcn.140075d14
mov dword [rsp + 0x3c8], eax
lea rdx, [rsp + 0x3d0]
lea rcx, [rsp + 0x388]
call fcn.140076560
nop
lea rcx, [rsp + 0x3d0]
call fcn.140023510
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, [0x1402330c0]
xor ecx, ecx
call fcn.1400dc610
nop
lea rcx, [rsp + 0x3d0]
call fcn.140001490
jmp 0x140135345
lea rcx, [rsp + 0x388]
call fcn.140075c40
mov r9, qword [rsp + 0x430]
mov r9, qword [r9 + 0x48]
mov r8, qword [rsp + 0x3c0]
lea rdx, [0x140233110]
lea rcx, [rsp + 0x3b8]
call fcn.140002c40
lea rcx, [rsp + 0x3b8]
call fcn.140023510
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x388]
call fcn.14007610c
mov dword [rsp + 0x3c8], eax
cmp dword [rsp + 0x3c8], 0
je 0x1401354d1
lea rcx, [rsp + 0x388]
call fcn.140075d14
mov dword [rsp + 0x3c8], eax
lea rdx, [rsp + 0x3e0]
lea rcx, [rsp + 0x388]
call fcn.140076560
nop
lea rcx, [rsp + 0x3e0]
call fcn.140023510
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, [0x140233140]
xor ecx, ecx
call fcn.1400dc610
nop
lea rcx, [rsp + 0x3e0]
call fcn.140001490
jmp 0x140135439
lea rcx, [rsp + 0x388]
call fcn.140075c40
mov r9, qword [rsp + 0x430]
mov r9, qword [r9 + 0x108]
mov r8, qword [rsp + 0x3c0]
lea rdx, [0x140233128]
lea rcx, [rsp + 0x3b8]
call fcn.140002c40
lea rcx, [rsp + 0x3b8]
call fcn.140023510
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x388]
call fcn.14007610c
mov dword [rsp + 0x3c8], eax
cmp dword [rsp + 0x3c8], 0
je 0x1401355c8
lea rcx, [rsp + 0x388]
call fcn.140075d14
mov dword [rsp + 0x3c8], eax
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0x388]
call fcn.140076560
nop
lea rcx, [rsp + 0x3f0]
call fcn.140023510
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, [0x140233190]
xor ecx, ecx
call fcn.1400dc610
nop
lea rcx, [rsp + 0x3f0]
call fcn.140001490
jmp 0x140135530
lea rcx, [rsp + 0x388]
call fcn.140075c40
mov r9, qword [rsp + 0x430]
mov r9, qword [r9 + 0x108]
mov r8, qword [rsp + 0x3c0]
lea rdx, [0x1402331e0]
lea rcx, [rsp + 0x3b8]
call fcn.140002c40
lea rcx, [rsp + 0x3b8]
call fcn.140023510
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x388]
call fcn.14007610c
mov dword [rsp + 0x3c8], eax
cmp dword [rsp + 0x3c8], 0
je 0x1401356bf
lea rcx, [rsp + 0x388]
call fcn.140075d14
mov dword [rsp + 0x3c8], eax
lea rdx, [rsp + 0x400]
lea rcx, [rsp + 0x388]
call fcn.140076560
nop
lea rcx, [rsp + 0x400]
call fcn.140023510
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.1400dc610
nop
lea rcx, [rsp + 0x400]
call fcn.140001490
jmp 0x140135627
lea rcx, [rsp + 0x388]
call fcn.140075c40
nop
lea rcx, [rsp + 0x388]
call fcn.140076064
nop
lea rcx, [rsp + 0x3b8]
call fcn.140001490
nop
lea rcx, [rsp + 0x3c0]
call fcn.140001490
jmp 0x14013525d
mov dword [rsp + 0x408], 1
lea rcx, [rsp + 0x30]
call fcn.140001490
nop
lea rcx, [rsp + 0x40]
call fcn.140005db0
mov eax, dword [rsp + 0x408]
add rsp, 0x428
ret