Function at 0x140053280
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x1400f5608]
xor rax, rsp
mov qword [rsp + 0xf8], rax
movzx edi, dl
mov rsi, rcx
call fcn.14003a3c0
mov r13, rax
xor r15d, r15d
mov ebx, r15d
mov qword [rsp + 0x48], rbx
lea rcx, [rsi + 0x120]
call fcn.14004ff80
mov rcx, qword [rsi + 0x120]
movsxd rdx, dword [rcx + 4]
mov ecx, 4
cmp qword [rdx + rsi + 0x168], r15
cmovne ecx, r15d
mov dword [rdx + rsi + 0x130], ecx
test dword [rdx + rsi + 0x134], ecx
jne 0x14005383f
cmp byte [rsi + 0x58], 0
je 0x14005338c
test dil, dil
jne 0x140053338
mov rdx, qword [rsi + 0x50]
lea rcx, [rsp + 0x48]
call fcn.140045170
mov rbx, qword [rsp + 0x48]
jmp 0x140053338
mov qword [rsp + 0x78], r15
lea rdx, [rsi + 0x228]
lea rcx, [rsp + 0x78]
call fcn.140040be0
cmp eax, 0xffffffff
je 0x140053362
mov eax, dword [rsi + 0x298]
cmp dword [rsp + 0x84], eax
jge 0x14005338c
mov rax, qword [rsi]
mov edx, recv
mov rcx, rsi
call qword [rax + 0x50]
lea r8, [rsi + 0x228]
lea rdx, [rsi + 0x120]
mov rcx, r13
call fcn.1400511d0
nop
jmp 0x140053804
mov edx, dword [rsi + 0x29c]
lea r12, [rsi + 0x228]
test edx, edx
jle 0x140053734
mov rcx, r12
call fcn.140053d80
lea rdi, [rsi + 0x228]
mov rcx, qword [rdi + 0x10]
movabs r14, 0x7fffffffffffffff
mov rax, r14
sub rax, rcx
cmp rax, 2
jb 0x140053873
mov r9, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400533db
mov r9, qword [rdi]
mov qword [rsp + 0x30], 2
lea rax, [0x1400c93ac]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8, rdi
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.14000f760
nop
lea rcx, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rcx, qword [rsp + 0x78]
call fcn.14009ee30
test eax, eax
je 0x14005342a
call fcn.14009571c
mov rcx, qword [rdi + 0x10]
sub r14, rcx
cmp r14, 0xe
jb 0x140053879
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140053448
mov rax, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], shutdown
lea r9, str.Renaming_file
mov r8, rdi
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x98]
call fcn.14000f760
nop
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x1400534cb
lea rax, [rcx + 4]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x98]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x98]
mov dword [rax + rcx], 0x206f7420
mov byte [rax + rcx + 4], 0
lea rax, [rsp + 0x98]
jmp 0x1400534ef
mov qword [rsp + 0x20], 4
lea r9, [0x1400c3b6c]
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rsp + 0x98]
call fcn.14002ad50
mov qword [rsp + 0xd8], r15
mov qword [rsp + 0xe8], r15
mov qword [rsp + 0xf0], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xd8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xe8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], shutdown
mov byte [rax], 0
lea rdx, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x88]
lea rcx, [rsp + 0xd8]
call fcn.140013950
mov qword [rsp + 0xb8], r15
mov qword [rsp + 0xc8], r15
mov qword [rsp + 0xd0], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xb8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xc8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], shutdown
mov byte [rax], 0
lea rdx, [rsp + 0xb8]
mov rcx, r13
call fcn.14003b440
nop
mov rdx, qword [rsp + 0xd0]
cmp rdx, 0x10
jb 0x1400535e8
inc rdx
mov rcx, qword [rsp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400535e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005387f
call fcn.14008b4c8
mov qword [rsp + 0xc8], r15
mov qword [rsp + 0xd0], shutdown
mov byte [rsp + 0xb8], 0
mov rdx, qword [rsp + 0xf0]
cmp rdx, 0x10
jb 0x140053647
inc rdx
mov rcx, qword [rsp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053642
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053885
call fcn.14008b4c8
mov qword [rsp + 0xe8], r15
mov qword [rsp + shutdown0], 0xf
mov byte [rsp + 0xd8], 0
mov rdx, qword [rsp + 0xb0]
cmp rdx, 0x10
jb 0x1400536a6
inc rdx
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400536a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005388b
call fcn.14008b4c8
lea rdx, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rdx, qword [rsp + 0x78]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400536c7
mov rcx, qword [rdi]
call fcn.14009ef10
test eax, eax
je 0x1400536d8
call fcn.14009571c
mov r15d, dword [rax]
mov r9d, r15d
lea r8, [rsp + 0x78]
mov rdx, rdi
mov rcx, r13
call fcn.1400512c0
nop
mov rdx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x1400537e3
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400537de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053891
jmp 0x1400537de
mov rax, qword [r12 + 0x10]
movabs r14, 0x7fffffffffffffff
sub r14, rax
cmp r14, 0x19
jb 0x140053897
mov r9, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14005375f
mov r9, qword [r12]
mov qword [rsp + 0x30], 0x19
lea rcx, str._has_no_backups_specified
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r8, r12
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x98]
call fcn.14000f760
nop
lea rdx, [rsp + 0x98]
mov rcx, r13
call fcn.14003b440
nop
mov rdx, qword [rsp + 0xb0]
cmp rdx, 0x10
jb 0x1400537e3
inc rdx
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400537de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005389d
call fcn.14008b4c8
mov rax, qword [rsi]
mov edx, shutdown
mov rcx, rsi
call qword [rax + 0x50]
mov r8, r12
lea rdx, [rsi + 0x120]
mov rcx, r13
call fcn.1400511d0
nop
test rbx, rbx
je 0x140053812
mov rcx, rbx
call fcn.140049590
nop
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.14008bad0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea edx, [r15 + 1]
lea rcx, [rsp + 0x78]
call fcn.140016190
mov r8, rax
lea rdx, str.ios_base::badbit_set
lea rcx, [rsp + 0x50]
call fcn.14000ff60
lea rdx, [0x1400f2818]
lea rcx, [rsp + 0x50]
call fcn.14008c6e0
int3
call fcn.14000b150
nop
call fcn.14000b150
nop
call fcn.140091b3c
nop
call fcn.140091b3c
nop
call fcn.140091b3c
nop
call fcn.140091b3c
int3
call fcn.14000b150
int3
call fcn.140091b3c
int3