Function at 0x14013a950
Capabilities:
Delete file
Move file

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x4e0
mov qword [rsp + 0x450], 0xfffffffffffffffe
mov rax, qword [rsp + 0x4f0]
cmp dword [rax + 0x220], 0
jne 0x14013a985
xor eax, eax
jmp 0x14013b16b
mov rax, qword [rsp + 0x4f0]
mov rax, qword [rax]
mov edx, dword [rsp + 0x4f8]
mov rcx, qword [rsp + 0x4f0]
call qword [rax + 0x30]
mov qword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x4f0]
add rcx, 0x518
call fcn.140010ae0
mov rcx, qword [rsp + 0x4f0]
add rcx, 0x4e0
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x4f8]
call fcn.14001fb20
test eax, eax
je 0x14013a9f1
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x84], 0
jne 0x14013aa19
mov rcx, qword [rsp + 0x4f0]
add rcx, 0x518
mov rax, qword [rsp + 0x4f0]
mov rax, qword [rax + 0x518]
call qword [rax + 0x28]
xor eax, eax
jmp 0x14013b16b
mov rcx, qword [rsp + 0x4f0]
add rcx, 0x518
mov rax, qword [rsp + 0x4f0]
mov rax, qword [rax + 0x518]
call qword [rax + 0x28]
mov r9, qword [rsp + 0x60]
mov r9, qword [r9 + 0x50]
mov r8, qword [rsp + 0x60]
mov r8, qword [r8 + 0x48]
lea rdx, str._s_save_to_small__s
xor ecx, ecx
call fcn.1400dc5d0
mov rcx, qword [rsp + 0x60]
call fcn.14001e350
mov r8d, 1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x60]
call fcn.140136070
lea rcx, [rsp + 0x30]
call fcn.1400774a0
nop
mov dword [rsp + 0x58], 0
cmp dword [rsp + 0x58], 0xffffffff
je 0x14013b145
mov rcx, qword [rsp + 0x60]
add rcx, 0x50
lea r9, [rsp + 0x58]
lea r8, [0x140233ae4]
lea rdx, [rsp + 0x80]
call fcn.140006540
nop
lea rcx, [rsp + 0x80]
call fcn.140007b70
movzx eax, al
test eax, eax
je 0x14013aae0
lea rcx, [rsp + 0x80]
call fcn.140001470
jmp 0x14013b145
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x3d4], 0
jmp 0x14013ab09
mov eax, dword [rsp + 0x3d4]
add eax, 1
mov dword [rsp + 0x3d4], eax
movsxd rbx, dword [rsp + 0x3d4]
lea rcx, [rsp + 0x30]
call fcn.14000f920
cmp rbx, rax
jge 0x14013ab58
movsxd rdx, dword [rsp + 0x3d4]
lea rcx, [rsp + 0x30]
call fcn.140021970
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.14001e660
movzx eax, al
test eax, eax
je 0x14013ab56
mov dword [rsp + 0x88], 1
jmp 0x14013ab58
jmp 0x14013aaf8
cmp dword [rsp + 0x88], 0
je 0x14013ab74
lea rcx, [rsp + 0x80]
call fcn.140001470
jmp 0x14013aa8c
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.14000f190
lea rax, [rsp + 0x3f8]
mov qword [rsp + 0x400], rax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x400]
call fcn.140001440
mov qword [rsp + 0x458], rax
mov rcx, qword [rsp + 0x458]
call fcn.1401d25c0
cmp eax, 0x44c
jae 0x14013abd9
lea rcx, [rsp + 0x80]
call fcn.140001470
jmp 0x14013aa8c
mov rcx, qword [rsp + 0x60]
add rcx, 0x58
call fcn.140007b70
movzx eax, al
test eax, eax
je 0x14013ac77
mov edx, dword [rsp + 0x4f8]
mov rcx, qword [rsp + 0x4f0]
call fcn.1401347e0
mov dword [rsp + 0x3d8], eax
cmp dword [rsp + 0x3d8], 0
jne 0x14013ac29
lea rcx, [rsp + 0x80]
call fcn.140001470
jmp 0x14013aa8c
lea rcx, [rsp + 0x3e0]
call fcn.140002d50
nop
mov r8d, dword [rsp + 0x3d8]
lea rdx, [0x140234b38]
lea rcx, [rsp + 0x3e0]
call fcn.140002be0
mov rcx, qword [rsp + 0x60]
add rcx, 0x58
lea rdx, [rsp + 0x3e0]
call fcn.140002d20
nop
lea rcx, [rsp + 0x3e0]
call fcn.140001470
lea rcx, [rsp + 0x90]
call fcn.14000fb00
nop
mov dword [rsp + 0x228], 1
lea rcx, [rsp + 0x90]
call fcn.1401d0bc0
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x68]
call fcn.140001440
nop
mov dword [rsp + 0x3d0], 0
cmp dword [rsp + 0x3d0], 0
jl 0x14013af2c
lea r9, [rsp + 0x3d0]
lea r8, [0x140231e34]
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0x68]
call fcn.140006540
nop
lea rcx, [rsp + 0x3f0]
call fcn.140007b70
movzx eax, al
test eax, eax
je 0x14013ad11
lea rcx, [rsp + 0x3f0]
call fcn.140001470
jmp 0x14013af2c
xor edx, edx
lea rcx, [rsp + 0x3f0]
call fcn.140006d70
movzx r8d, ax
lea rdx, [0x140234b48]
lea rcx, [rsp + 0x3f0]
call fcn.140002be0
lea rcx, [rsp + 0x3e8]
call fcn.140002d50
nop
lea rcx, [rsp + 0x80]
call fcn.1400012c0
mov rdx, rax
lea rcx, [rsp + 0x408]
call fcn.140105d90
mov qword [rsp + 0x460], rax
mov rax, qword [rsp + 0x460]
mov qword [rsp + 0x468], rax
lea rcx, [rsp + 0x80]
call fcn.1400012c0
mov rdx, rax
lea rcx, [rsp + 0x410]
call fcn.1400f9840
mov qword [rsp + 0x470], rax
mov rax, qword [rsp + 0x470]
mov qword [rsp + 0x478], rax
mov rax, qword [rsp + 0x468]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x478]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
mov r9, qword [r9 + 0x108]
mov r8, qword [rsp + 0x3f0]
lea rdx, [0x140234b58]
lea rcx, [rsp + 0x3e8]
call fcn.140002be0
nop
lea rcx, [rsp + 0x410]
call fcn.140001470
nop
lea rcx, [rsp + 0x408]
call fcn.140001470
lea rcx, [rsp + 0x3e8]
call fcn.1400012c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0x80]
call fcn.1400012c0
mov rdx, rax
lea rcx, [rsp + 0x418]
call fcn.140105d90
mov qword [rsp + 0x480], rax
mov rax, qword [rsp + 0x480]
mov qword [rsp + 0x488], rax
lea rcx, [rsp + 0x80]
call fcn.1400012c0
mov rdx, rax
lea rcx, [rsp + 0x420]
call fcn.1400f9840
mov qword [rsp + 0x490], rax
mov rax, qword [rsp + 0x490]
mov qword [rsp + 0x498], rax
mov rax, qword [rsp + 0x488]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x498]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
mov r9, qword [r9 + 0x48]
mov r8, qword [rsp + 0x3f0]
lea rdx, [0x140234b78]
lea rcx, [rsp + 0x3e8]
call fcn.140002be0
nop
lea rcx, [rsp + 0x420]
call fcn.140001470
nop
lea rcx, [rsp + 0x418]
call fcn.140001470
lea rcx, [rsp + 0x3e8]
call fcn.1400012c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x3e8]
call fcn.140001470
nop
lea rcx, [rsp + 0x3f0]
call fcn.140001470
jmp 0x14013acbb
lea rcx, [rsp + 0x78]
call fcn.140002d50
nop
lea rcx, [rsp + 0x70]
call fcn.140002d50
nop
lea rcx, [rsp + 0x80]
call fcn.1400012c0
mov rdx, rax
lea rcx, [rsp + 0x428]
call fcn.140105d90
mov qword [rsp + 0x4a0], rax
mov rax, qword [rsp + 0x4a0]
mov qword [rsp + 0x4a8], rax
lea rcx, [rsp + 0x80]
call fcn.1400012c0
mov rdx, rax
lea rcx, [rsp + 0x430]
call fcn.1400f9840
mov qword [rsp + 0x4b0], rax
mov rax, qword [rsp + 0x4b0]
mov qword [rsp + 0x4b8], rax
mov rax, qword [rsp + 0x4a8]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x4b8]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
mov r9, qword [r9 + 0x108]
mov r8, qword [rsp + 0x60]
mov r8, qword [r8 + 0x58]
lea rdx, [0x140234b98]
lea rcx, [rsp + 0x78]
call fcn.140002be0
nop
lea rcx, [rsp + 0x430]
call fcn.140001470
nop
lea rcx, [rsp + 0x428]
call fcn.140001470
lea rcx, [rsp + 0x80]
call fcn.1400012c0
mov rdx, rax
lea rcx, [rsp + 0x438]
call fcn.140105d90
mov qword [rsp + 0x4c0], rax
mov rax, qword [rsp + 0x4c0]
mov qword [rsp + 0x4c8], rax
lea rcx, [rsp + 0x80]
call fcn.1400012c0
mov rdx, rax
lea rcx, [rsp + 0x440]
call fcn.1400f9840
mov qword [rsp + 0x4d0], rax
mov rax, qword [rsp + 0x4d0]
mov qword [rsp + 0x4d8], rax
mov rax, qword [rsp + 0x4c8]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x4d8]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
mov r9, qword [r9 + 0x108]
mov r8, qword [rsp + 0x60]
mov r8, qword [r8 + 0x58]
lea rdx, [0x140234bb0]
lea rcx, [rsp + 0x70]
call fcn.140002be0
nop
lea rcx, [rsp + 0x440]
call fcn.140001470
nop
lea rcx, [rsp + 0x438]
call fcn.140001470
lea rcx, [rsp + 0x70]
call fcn.1400012c0
mov rbx, rax
lea rcx, [rsp + 0x78]
call fcn.1400012c0
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop
lea rcx, [rsp + 0x70]
call fcn.140001470
nop
lea rcx, [rsp + 0x78]
call fcn.140001470
nop
lea rcx, [rsp + 0x68]
call fcn.140001470
nop
lea rcx, [rsp + 0x90]
call fcn.140005d50
nop
lea rcx, [rsp + 0x80]
call fcn.140001470
jmp 0x14013aa8c
mov rcx, qword [rsp + 0x60]
call fcn.14001e380
mov dword [rsp + 0x448], 1
lea rcx, [rsp + 0x30]
call fcn.140077764
mov eax, dword [rsp + 0x448]
add rsp, 0x4e0
pop rbx
ret