Function at 0x14003ad20
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 [0x1401c1050]
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.140006070
nop
lea rcx, [rsp + 0x68]
call fcn.14003f280
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.14003ef80
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x68]
sub rax, rcx
cmp rax, 1
jb 0x14003b0d8
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, [0x1401934e4]
lea rcx, [rsp + 0x48]
call fcn.1400072d0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x68]
call fcn.140006510
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14003ae34
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ae2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003b0de
call fcn.14007c190
mov qword [rbp - 0x58], r15
movdqa xmm0, xmmword [0x1401968d0]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r15w
lea rdx, [rbp - 0x58]
mov rcx, rsi
call fcn.14003f420
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r8, qword [rsp + 0x68]
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.140082c08
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 0x14003aeef
lea rax, [rbp - 0x30]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14003aea0
mov rax, qword [rbp - 0x80]
cmp rdx, rax
ja 0x14003aee1
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.14007e1c0
mov word [rbx + rdi], r15w
jmp 0x14003aeef
lea r9, [rbp - 0x30]
lea rcx, [rsp + 0x68]
call fcn.140006cd0
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 0x14003afc1
xor r8d, r8d
mov rcx, rsi
call fcn.1400421a0
test eax, eax
jne 0x14003afc1
cmp qword [rsi + 0x10], 0
je 0x14003afc1
cmp qword [rsp + 0x78], 0
je 0x14003afc1
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
cmp qword [rsi + 0x18], 8
jb 0x14003af52
mov rsi, qword [rsi]
mov rcx, rsi
call fcn.140092128
test eax, eax
jne 0x14003afc1
lea rcx, [r14 + 0x138]
lea rax, [rsp + 0x68]
cmp rcx, rax
je 0x14003afbd
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 0x14003afb5
mov rdi, rcx
cmp rax, 8
jb 0x14003af99
mov rdi, qword [rcx]
mov qword [rcx + 0x10], rbx
lea r8, [rbx + rbx]
mov rdx, r9
mov rcx, rdi
call fcn.14007e1c0
mov word [rdi + rbx*2], r15w
mov bl, 1
jmp 0x14003afc3
mov rdx, rbx
call fcn.140006cd0
mov bl, 1
jmp 0x14003afc3
xor bl, bl
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x14003b003
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003affe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003b0de
call fcn.14007c190
movdqa xmm0, xmmword [0x1401968d0]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r15w
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x14003b055
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b050
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003b0e4
call fcn.14007c190
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r15w
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14003b0a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b09e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003b0d2
call fcn.14007c190
movzx eax, bl
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14007bb60
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.140082b90
nop
call fcn.140002490
nop
call fcn.140082b90
nop
call fcn.140082b90
int3