Function at 0x1400c94c8
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rbx, rcx
xor r15d, r15d
mov esi, r15d
mov dword [rsp + 0x20], r15d
cmp qword [rcx + 0x18], 8
jb 0x1400c9512
mov rcx, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x1400c9a31
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.14000a448
nop
mov rax, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
sub rax, rdx
sar rax, 1
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400c955d
mov rcx, qword [rbx]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov r13d, 0x1000
test eax, eax
je 0x1400c99e3
mov rcx, qword [rsp + 0x48]
sub rcx, qword [rsp + 0x40]
sar rcx, 1
mov eax, eax
cmp rax, rcx
jae 0x1400c99e3
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400c9599
mov rcx, qword [rbx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x1400c99e3
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r15
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.14000a448
nop
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
sub rax, rdx
sar rax, 1
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400c95e4
mov rcx, qword [rbx]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x1400c9991
mov rcx, qword [rsp + 0x30]
sub rcx, qword [rsp + 0x28]
sar rcx, 1
mov eax, eax
cmp rax, rcx
jae 0x1400c9991
mov qword [rbp + 0x18], r15
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x28], xmm0
mov rdx, qword [rsp + 0x40]
or rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], r15w
jne 0x1400c9625
lea rcx, [rbp + 0x18]
call fcn.1400041b8
nop
mov qword [rbp - 8], r15
xorps xmm0, xmm0
movdqu xmmword [rbp + 8], xmm0
mov rdx, qword [rsp + 0x28]
inc rdi
cmp word [rdx + rdi*2], r15w
jne 0x1400c964a
mov r8, rdi
lea rcx, [rbp - 8]
call fcn.1400041b8
nop
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x28]
call fcn.1400e333c
nop
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x68]
call fcn.1400e333c
nop
mov edi, 1
cmp qword [rbp - 0x58], r15
je 0x1400c96e7
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call fcn.14010591c
test eax, eax
je 0x1400c96e7
mov rdx, rbx
lea rcx, [rbp + 0x38]
call fcn.1400e333c
nop
mov esi, edi
mov dword [rsp + 0x20], edi
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
cmp qword [rax + 0x18], 8
jb 0x1400c96d8
mov rax, qword [rax]
mov rcx, rax
call fcn.14010591c
test eax, eax
mov r14b, r15b
je 0x1400c96ea
mov r14b, dil
test dil, sil
je 0x1400c96ff
and esi, 0xfffffffe
mov dword [rsp + 0x20], esi
lea rcx, [rbp + 0x38]
call fcn.140006b94
test r14b, r14b
je 0x1400c970c
mov dil, r15b
jmp 0x1400c9968
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r15w
mov r14d, r15d
cmp qword [rsp + 0x68], r15
jne 0x1400c981d
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140004958
nop
mov edx, r14d
lea rcx, [rbp + 0x38]
call fcn.14000ac84
or esi, 4
mov dword [rsp + 0x20], esi
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
mov r8d, 4
lea rdx, str.rtmp
lea rcx, [rbp - 0x48]
call fcn.1400041b8
nop
lea r9, [rbp + 0x38]
lea r8, [rbp - 0x48]
mov dl, byte [rsp + 0x24]
lea rcx, [rbp + 0x58]
call fcn.140006ed4
or esi, 2
mov dword [rsp + 0x20], esi
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.1400e3630
and esi, 0xfffffffd
mov dword [rsp + 0x20], esi
lea rcx, [rbp + 0x58]
call fcn.140006b94
nop
lea rcx, [rbp - 0x48]
call fcn.140006b94
and esi, 0xfffffffb
mov dword [rsp + 0x20], esi
lea rcx, [rbp + 0x38]
call fcn.140006b94
lea rcx, [rsp + 0x58]
call fcn.1400cb9f4
test al, al
je 0x1400c97fd
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], r15
mov word [rax], r15w
add r14d, 0x7b
cmp r14d, 0x2710
jb 0x1400c9732
cmp qword [rsp + 0x68], r15
jne 0x1400c981d
mov dil, r15b
jmp 0x1400c995d
mov qword [rsp + 0x78], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400c9837
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x78]
call fcn.1400042c0
nop
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x78]
call fcn.1400e3630
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1400c9887
mov dil, r15b
jmp 0x1400c990d
lea rcx, [rbp + 0x80]
call fcn.1400c9a70
nop
mov sil, r15b
mov rcx, rbx
call fcn.1400cb9f4
test al, al
jne 0x1400c98bb
mov r8d, 0x12
mov rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.1400c9d70
mov sil, al
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test sil, sil
je 0x1400c9900
lea rcx, [rbp + 0x80]
call fcn.1400c9ba0
lea rcx, [rbp + 0x80]
call fcn.1400c9f14
nop
lea rcx, [rbp + 0x80]
call fcn.1400c9acc
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x1400c994a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, r13
jb 0x1400c9945
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c9a62
call fcn.1401af36c
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r15w
lea rcx, [rsp + 0x58]
call fcn.140006b94
nop
lea rcx, [rbp - 0x68]
call fcn.140006b94
nop
lea rcx, [rbp - 0x28]
call fcn.140006b94
nop
lea rcx, [rbp - 8]
call fcn.140006b94
nop
lea rcx, [rbp + 0x18]
call fcn.140006b94
jmp 0x1400c9994
mov dil, r15b
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400c99e6
mov rax, qword [rsp + 0x38]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, r13
jb 0x1400c99ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c9a68
call fcn.1401af36c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r15
jmp 0x1400c99e6
mov dil, r15b
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400c9a2e
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, r13
jb 0x1400c9a1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c9a5c
call fcn.1401af36c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov al, dil
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1401af480
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.1401b6544
nop
call fcn.1401b6544
nop
call fcn.1401b6544
int3