Function at 0x140010e44
Capabilities:
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x200
mov rax, qword [0x14005bec0]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdi, rcx
xor r15d, r15d
mov esi, r15d
mov dword [rsp + 0x24], r15d
lea r12d, [r15 + 7]
cmp qword [rcx + 0x18], r12
jbe 0x140010e96
mov rcx, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x140011399
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400013c4
nop
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
sub r8, rdx
sar r8, 1
mov rcx, rdi
cmp qword [rdi + 0x18], r12
jbe 0x140010ee0
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov r13d, 0x1000
test eax, eax
je 0x140011357
mov rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
sub rcx, r8
sar rcx, 1
mov eax, eax
cmp rax, rcx
jae 0x14001135c
mov rcx, rdi
cmp qword [rdi + 0x18], r12
jbe 0x140010f1b
mov rcx, qword [rdi]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x140011357
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r15
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1400013c4
nop
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
sub r8, rdx
sar r8, 1
mov rcx, rdi
cmp qword [rdi + 0x18], r12
jbe 0x140010f65
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov r8, qword [rsp + 0x28]
test eax, eax
je 0x140011302
mov rcx, qword [rsp + 0x30]
sub rcx, r8
sar rcx, 1
mov eax, eax
cmp rax, rcx
jae 0x140011302
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x28], xmm1
mov rcx, rbx
call fcn.14003686c
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.1400012c0
nop
mov rbx, qword [rsp + 0x28]
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
mov rcx, rbx
call fcn.14003686c
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.1400012c0
nop
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x28]
call fcn.1400170a0
nop
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x68]
call fcn.1400170a0
nop
mov ebx, 1
cmp qword [rbp - 0x58], r15
je 0x140011068
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], r12
cmova rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], r12
cmova rcx, qword [rbp - 0x28]
call fcn.140020ac8
test eax, eax
je 0x140011068
mov rdx, rdi
lea rcx, [rbp + 0x38]
call fcn.1400170a0
nop
mov esi, ebx
mov dword [rsp + 0x24], ebx
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], r12
cmova rdx, qword [rbp - 0x68]
cmp qword [rax + 0x18], r12
jbe 0x140011059
mov rax, qword [rax]
mov rcx, rax
call fcn.140020ac8
test eax, eax
mov r14b, r15b
je 0x14001106b
mov r14b, bl
test bl, sil
je 0x14001107c
and esi, 0xfffffffe
lea rcx, [rbp + 0x38]
call fcn.140001fa8
test r14b, r14b
je 0x140011089
mov bl, r15b
jmp 0x1400112d4
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov rax, r15
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r12
mov word [rsp + 0x58], r15w
mov r14d, r15d
test rax, rax
jne 0x14001118c
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140003cac
mov edx, r14d
lea rcx, [rbp + 0x38]
call fcn.140004cdc
or esi, 4
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
lea rcx, str.rtmp
call fcn.14003686c
mov r8, rax
lea rdx, str.rtmp
lea rcx, [rbp - 0x48]
call fcn.1400012c0
nop
lea r9, [rbp + 0x38]
lea r8, [rbp - 0x48]
mov dl, byte [rsp + 0x20]
lea rcx, [rbp + 0x58]
call fcn.14000d5ac
or esi, 2
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.140017324
nop
lea rcx, [rbp + 0x58]
call fcn.140001fa8
nop
lea rcx, [rbp - 0x48]
call fcn.140001fa8
nop
lea rcx, [rbp + 0x38]
call fcn.140001fa8
lea rcx, [rsp + 0x58]
call fcn.14001265c
test al, al
je 0x140011166
mov qword [rsp + 0x68], r15
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], r12
cmova rax, qword [rsp + 0x58]
mov word [rax], r15w
add r14d, 0x7b
cmp r14d, 0x2710
jae 0x14001117d
mov rax, qword [rsp + 0x68]
jmp 0x1400110a7
cmp qword [rsp + 0x68], r15
jne 0x14001118c
mov bl, r15b
jmp 0x1400112c9
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov rdx, rdi
cmp qword [rdi + 0x18], r12
jbe 0x1400111a8
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x78]
call fcn.140008a84
nop
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x78]
call fcn.140017324
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], r12
cmova rcx, qword [rsp + 0x78]
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], r12
cmova rdx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1400111f6
mov bl, r15b
jmp 0x14001127a
lea rcx, [rbp + 0x80]
call fcn.1400113dc
nop
mov sil, r15b
mov rcx, rdi
call fcn.14001265c
test al, al
jne 0x14001122a
mov r8d, 0x12
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.140011524
mov sil, al
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], r12
cmova rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], r12
cmova rdx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test sil, sil
je 0x14001126d
lea rcx, [rbp + 0x80]
call fcn.1400114c0
lea rcx, [rbp + 0x80]
call fcn.1400116c0
nop
lea rcx, [rbp + 0x80]
call fcn.140011434
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, r12
jbe 0x1400112b6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, r13
jb 0x1400112b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400113cf
call fcn.140031c1c
movdqa xmm0, xmmword [0x1400489f0]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r15w
lea rcx, [rsp + 0x58]
call fcn.140001fa8
nop
lea rcx, [rbp - 0x68]
call fcn.140001fa8
nop
lea rcx, [rbp - 0x28]
call fcn.140001fa8
nop
lea rcx, [rbp - 8]
call fcn.140001fa8
nop
lea rcx, [rbp + 0x18]
call fcn.140001fa8
mov r8, qword [rsp + 0x28]
jmp 0x140011305
mov bl, r15b
test r8, r8
je 0x140011350
mov rax, qword [rsp + 0x38]
sub rax, r8
sar rax, 1
lea rdx, [rax + rax]
mov rax, r8
cmp rdx, r13
jb 0x14001133a
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400113d5
mov rcx, r8
call fcn.140031c1c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r15
mov r8, qword [rsp + 0x40]
jmp 0x14001135f
mov r8, qword [rsp + 0x40]
mov bl, r15b
test r8, r8
je 0x140011397
mov rdx, qword [rsp + 0x50]
sub rdx, r8
sar rdx, 1
add rdx, rdx
mov rax, r8
cmp rdx, r13
jb 0x14001138f
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400113c9
mov rcx, r8
call fcn.140031c1c
mov al, bl
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140031d30
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400367f4
nop
call fcn.1400367f4
nop
call fcn.1400367f4
int3