Function at 0x1400b8bc0
Capabilities:
Delete file
Move file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x138]
sub rsp, 0x220
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140001640]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rdi, rcx
add rcx, 8
call fcn.14003edf0
test al, al
je 0x1400b8ea5
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], r14
mov word [rsp + 0x20], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rdi + 8]
lea rcx, [rsp + 0x20]
call fcn.14002bf60
nop
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140143ff0
cmp dword [rax], 2
sete sil
cmp qword [rsp + 0x38], 8
jb 0x1400b8c6d
mov rcx, qword [rsp + 0x20]
call fcn.1400ed78c
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], r14
mov word [rsp + 0x20], r14w
test sil, sil
je 0x1400b8cb7
lea rdx, [rdi + 0x28]
lea rcx, [rdi + 8]
call fcn.140040400
cmp qword [rdi + 0x20], 8
jb 0x1400b8ca0
mov rcx, qword [rdi + 8]
jmp 0x1400b8ca4
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400b8d61
jmp 0x1400b8ea5
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], r14
mov word [rsp + 0x20], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rdi + 8]
lea rcx, [rsp + 0x20]
call fcn.14002bf60
nop
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140143ff0
cmp dword [rax], 3
sete sil
cmp qword [rsp + 0x38], 8
jb 0x1400b8d16
mov rcx, qword [rsp + 0x20]
call fcn.1400ed78c
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], r14
mov word [rsp + 0x20], r14w
test sil, sil
je 0x1400b8d61
lea rdx, [rdi + 0x28]
cmp qword [rdx + 0x18], 8
jb 0x1400b8d3d
mov rdx, qword [rdx]
cmp qword [rdi + 0x20], 8
jb 0x1400b8d4a
mov rcx, qword [rdi + 8]
jmp 0x1400b8d4e
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
test al, al
jne 0x1400b8ea5
cmp byte [rdi + 0x48], 0
je 0x1400b8ea5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
lea rdx, [rdi + 8]
lea rcx, [rsp + 0x50]
call fcn.14002d610
mov rbx, rax
movdqa xmm0, xmmword [0x140181360]
movdqa xmmword [rbp + 0x90], xmm0
movdqa xmm1, xmmword [0x140181210]
movdqa xmmword [rbp + 0xa0], xmm1
movdqa xmm0, xmmword [0x140180ca0]
movdqa xmmword [rbp + 0xb0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xc0], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xd0], xmm0
movdqa xmmword [rbp + 0xe0], xmm1
movdqa xmmword [rbp + 0xf0], xmm0
movdqa xmmword [rbp + 0x100], xmm1
mov r9b, 0x89
lea r8, [0x140169060]
mov edx, 0x21
lea rcx, [rbp + 0x90]
call fcn.1400164b0
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140019c00
nop
mov rdx, rbx
mov rcx, rax
call fcn.14001baf0
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x1400b8e28
mov rcx, rax
call fcn.14001c7c0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140030d20
inc dword [rbx + 0x3c]
mov r8d, dword [rbx + 0x3c]
cmp qword [rbx + 0x30], 0
je 0x1400b8e78
mov r9d, dword [rbx + 0x40]
cmp r8d, r9d
jge 0x1400b8e78
mov r10, qword [rbx + 0x18]
movsxd rcx, r8d
mov rax, rcx
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x1400b8e78
inc r8d
mov dword [rbx + 0x3c], r8d
cmp r8d, r9d
jl 0x1400b8e50
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140019dc0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14005f1a0
lea rdx, [0x1401fdcb0]
lea rcx, [rsp + 0x20]
call fcn.1400ef340
nop
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1400efba0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret