Function at 0x1400311c0
Capabilities:
Check if file exists
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x1400e9070]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov r14, rcx
xor r15d, r15d
lea rsi, [rcx + 0x68]
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.140004480
nop
lea rcx, [rsp + 0x68]
call fcn.140045400
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r15w
lea rcx, [rbp - 0x78]
call fcn.1400451f0
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x68]
sub rax, rcx
cmp rax, 1
jb 0x140031588
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rax, qword [rbp - 0x78]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 1
lea r9, str._.
lea rcx, [rsp + 0x48]
call fcn.140003500
nop
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.140003670
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400312e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400312e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003158e
call fcn.140079b70
mov qword [rbp - 0x58], r15
movdqa xmm0, xmmword [0x1400d6740]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r15w
lea rdx, [rbp - 0x58]
mov rcx, rsi
call fcn.1400455a0
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r8, qword [rsp + 0x68]
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.140080dac
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
test eax, eax
je 0x14003139f
lea rax, [rbp - 0x30]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140031350
mov rax, qword [rbp - 0x80]
cmp rdx, rax
ja 0x140031391
lea rdi, [rsp + 0x68]
cmp rax, 8
cmovae rdi, qword [rsp + 0x68]
mov qword [rsp + 0x78], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.14007c470
mov word [rbx + rdi], r15w
jmp 0x14003139f
lea r9, [rbp - 0x30]
lea rcx, [rsp + 0x68]
call fcn.140003380
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x140031471
xor r8d, r8d
mov rcx, rsi
call fcn.140042b20
test eax, eax
jne 0x140031471
cmp qword [rsi + 0x10], 0
je 0x140031471
cmp qword [rsp + 0x78], 0
je 0x140031471
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
cmp qword [rsi + 0x18], 8
jb 0x140031402
mov rsi, qword [rsi]
mov rcx, rsi
call fcn.1400935f4
test eax, eax
jne 0x140031471
lea rcx, [r14 + 0x138]
lea rax, [rsp + 0x68]
cmp rcx, rax
je 0x14003146d
lea r9, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r9, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x78]
mov rax, qword [rcx + 0x18]
cmp rbx, rax
ja 0x140031465
mov rdi, rcx
cmp rax, 8
jb 0x140031449
mov rdi, qword [rcx]
mov qword [rcx + 0x10], rbx
lea r8, [rbx + rbx]
mov rdx, r9
mov rcx, rdi
call fcn.14007c470
mov word [rdi + rbx*2], r15w
mov bl, 1
jmp 0x140031473
mov rdx, rbx
call fcn.140003380
mov bl, 1
jmp 0x140031473
xor bl, bl
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1400314b3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400314ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003158e
call fcn.140079b70
movdqa xmm0, xmmword [0x1400d6740]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r15w
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140031505
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031500
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031594
call fcn.140079b70
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r15w
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140031553
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003154e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031582
call fcn.140079b70
movzx eax, bl
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140079b50
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140080d34
nop
call fcn.1400015a0
nop
call fcn.140080d34
nop
call fcn.140080d34
int3