Function at 0x140143470
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 0x1401434a5
xor eax, eax
jmp 0x140143c8b
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, 0x508
call fcn.14000e350
mov rcx, qword [rsp + 0x4f0]
add rcx, 0x4d0
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x4f8]
call fcn.14001d030
test eax, eax
je 0x140143511
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x84], 0
jne 0x140143539
mov rcx, qword [rsp + 0x4f0]
add rcx, 0x508
mov rax, qword [rsp + 0x4f0]
mov rax, qword [rax + 0x508]
call qword [rax + 0x28]
xor eax, eax
jmp 0x140143c8b
mov rcx, qword [rsp + 0x4f0]
add rcx, 0x508
mov rax, qword [rsp + 0x4f0]
mov rax, qword [rax + 0x508]
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.1400dcf70
mov rcx, qword [rsp + 0x60]
call fcn.14001b910
mov r8d, 1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x60]
call fcn.14013f160
lea rcx, [rsp + 0x30]
call fcn.140077c20
nop
mov dword [rsp + 0x58], 0
cmp dword [rsp + 0x58], 0xffffffff
je 0x140143c65
mov rcx, qword [rsp + 0x60]
add rcx, 0x50
lea r9, [rsp + 0x58]
lea r8, [0x140239114]
lea rdx, [rsp + 0x80]
call fcn.1400065a0
nop
lea rcx, [rsp + 0x80]
call fcn.140006eb0
movzx eax, al
test eax, eax
je 0x140143600
lea rcx, [rsp + 0x80]
call fcn.140001490
jmp 0x140143c65
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x3d4], 0
jmp 0x140143629
mov eax, dword [rsp + 0x3d4]
add eax, 1
mov dword [rsp + 0x3d4], eax
movsxd rbx, dword [rsp + 0x3d4]
lea rcx, [rsp + 0x30]
call fcn.140012e60
cmp rbx, rax
jge 0x140143678
movsxd rdx, dword [rsp + 0x3d4]
lea rcx, [rsp + 0x30]
call fcn.14001edf0
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.140019a90
movzx eax, al
test eax, eax
je 0x140143676
mov dword [rsp + 0x88], 1
jmp 0x140143678
jmp 0x140143618
cmp dword [rsp + 0x88], 0
je 0x140143694
lea rcx, [rsp + 0x80]
call fcn.140001490
jmp 0x1401435ac
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.14000ca60
lea rax, [rsp + 0x3f8]
mov qword [rsp + 0x400], rax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x400]
call fcn.140001430
mov qword [rsp + 0x458], rax
mov rcx, qword [rsp + 0x458]
call fcn.1401d70b0
cmp eax, 0x44c
jae 0x1401436f9
lea rcx, [rsp + 0x80]
call fcn.140001490
jmp 0x1401435ac
mov rcx, qword [rsp + 0x60]
add rcx, 0x58
call fcn.140006eb0
movzx eax, al
test eax, eax
je 0x140143797
mov edx, dword [rsp + 0x4f8]
mov rcx, qword [rsp + 0x4f0]
call fcn.14013dc70
mov dword [rsp + 0x3d8], eax
cmp dword [rsp + 0x3d8], 0
jne 0x140143749
lea rcx, [rsp + 0x80]
call fcn.140001490
jmp 0x1401435ac
lea rcx, [rsp + 0x3e0]
call fcn.140002de0
nop
mov r8d, dword [rsp + 0x3d8]
lea rdx, [0x14023a2a8]
lea rcx, [rsp + 0x3e0]
call fcn.140002c70
mov rcx, qword [rsp + 0x60]
add rcx, 0x58
lea rdx, [rsp + 0x3e0]
call fcn.140002db0
nop
lea rcx, [rsp + 0x3e0]
call fcn.140001490
lea rcx, [rsp + 0x90]
call fcn.14000d210
nop
mov dword [rsp + 0x228], 1
lea rcx, [rsp + 0x90]
call fcn.1401d56b0
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x68]
call fcn.140001430
nop
mov dword [rsp + 0x3d0], 0
cmp dword [rsp + 0x3d0], 0
jl 0x140143a4c
lea r9, [rsp + 0x3d0]
lea r8, [0x1402384f4]
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0x68]
call fcn.1400065a0
nop
lea rcx, [rsp + 0x3f0]
call fcn.140006eb0
movzx eax, al
test eax, eax
je 0x140143831
lea rcx, [rsp + 0x3f0]
call fcn.140001490
jmp 0x140143a4c
xor edx, edx
lea rcx, [rsp + 0x3f0]
call fcn.140006dd0
movzx r8d, ax
lea rdx, [0x14023a2b8]
lea rcx, [rsp + 0x3f0]
call fcn.140002c70
lea rcx, [rsp + 0x3e8]
call fcn.140002de0
nop
lea rcx, [rsp + 0x80]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x408]
call fcn.140107e90
mov qword [rsp + 0x460], rax
mov rax, qword [rsp + 0x460]
mov qword [rsp + 0x468], rax
lea rcx, [rsp + 0x80]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x410]
call fcn.1400f9dc0
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, [0x14023a2c8]
lea rcx, [rsp + 0x3e8]
call fcn.140002c70
nop
lea rcx, [rsp + 0x410]
call fcn.140001490
nop
lea rcx, [rsp + 0x408]
call fcn.140001490
lea rcx, [rsp + 0x3e8]
call fcn.14000f8f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0x80]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x418]
call fcn.140107e90
mov qword [rsp + 0x480], rax
mov rax, qword [rsp + 0x480]
mov qword [rsp + 0x488], rax
lea rcx, [rsp + 0x80]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x420]
call fcn.1400f9dc0
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, [0x14023a2e8]
lea rcx, [rsp + 0x3e8]
call fcn.140002c70
nop
lea rcx, [rsp + 0x420]
call fcn.140001490
nop
lea rcx, [rsp + 0x418]
call fcn.140001490
lea rcx, [rsp + 0x3e8]
call fcn.14000f8f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x3e8]
call fcn.140001490
nop
lea rcx, [rsp + 0x3f0]
call fcn.140001490
jmp 0x1401437db
lea rcx, [rsp + 0x78]
call fcn.140002de0
nop
lea rcx, [rsp + 0x70]
call fcn.140002de0
nop
lea rcx, [rsp + 0x80]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x428]
call fcn.140107e90
mov qword [rsp + 0x4a0], rax
mov rax, qword [rsp + 0x4a0]
mov qword [rsp + 0x4a8], rax
lea rcx, [rsp + 0x80]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x430]
call fcn.1400f9dc0
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, [0x14023a308]
lea rcx, [rsp + 0x78]
call fcn.140002c70
nop
lea rcx, [rsp + 0x430]
call fcn.140001490
nop
lea rcx, [rsp + 0x428]
call fcn.140001490
lea rcx, [rsp + 0x80]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x438]
call fcn.140107e90
mov qword [rsp + 0x4c0], rax
mov rax, qword [rsp + 0x4c0]
mov qword [rsp + 0x4c8], rax
lea rcx, [rsp + 0x80]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x440]
call fcn.1400f9dc0
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, [0x14023a320]
lea rcx, [rsp + 0x70]
call fcn.140002c70
nop
lea rcx, [rsp + 0x440]
call fcn.140001490
nop
lea rcx, [rsp + 0x438]
call fcn.140001490
lea rcx, [rsp + 0x70]
call fcn.14000f8f0
mov rbx, rax
lea rcx, [rsp + 0x78]
call fcn.14000f8f0
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop
lea rcx, [rsp + 0x70]
call fcn.140001490
nop
lea rcx, [rsp + 0x78]
call fcn.140001490
nop
lea rcx, [rsp + 0x68]
call fcn.140001490
nop
lea rcx, [rsp + 0x90]
call fcn.140014ec0
nop
lea rcx, [rsp + 0x80]
call fcn.140001490
jmp 0x1401435ac
mov rcx, qword [rsp + 0x60]
call fcn.14001b940
mov dword [rsp + 0x448], 1
lea rcx, [rsp + 0x30]
call fcn.140077ee4
mov eax, dword [rsp + 0x448]
add rsp, 0x4e0
pop rbx
ret