Function at 0x1400119cc
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 [0x14005ae78]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdi, rcx
xor r15d, r15d
mov esi, r15d
mov dword [rsp + 0x24], r15d
cmp qword [rcx + 0x18], 8
jb 0x140011a16
mov rcx, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x140011f3a
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400013a4
nop
mov rax, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
sub rax, rdx
sar rax, 1
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140011a61
mov rcx, qword [rdi]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov r13d, 0x1000
test eax, eax
je 0x140011ef8
mov rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
sub rcx, r8
sar rcx, 1
mov eax, eax
cmp rax, rcx
jae 0x140011efd
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140011aa0
mov rcx, qword [rdi]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x140011ef8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r15
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1400013a4
nop
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
sub rax, rdx
sar rax, 1
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140011aeb
mov rcx, qword [rdi]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov r8, qword [rsp + 0x28]
test eax, eax
je 0x140011ea3
mov rcx, qword [rsp + 0x30]
sub rcx, r8
sar rcx, 1
mov eax, eax
cmp rax, rcx
jae 0x140011ea3
mov rbx, qword [rsp + 0x40]
mov qword [rbp + 0x18], r15
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x28], xmm0
mov rcx, rbx
call fcn.140036bbc
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.14000129c
nop
mov rbx, qword [rsp + 0x28]
mov qword [rbp - 8], r15
xorps xmm0, xmm0
movdqu xmmword [rbp + 8], xmm0
mov rcx, rbx
call fcn.140036bbc
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.14000129c
nop
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x28]
call fcn.140017a78
nop
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x68]
call fcn.140017a78
nop
mov ebx, 1
cmp qword [rbp - 0x58], r15
je 0x140011bef
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.140020b1c
test eax, eax
je 0x140011bef
mov rdx, rdi
lea rcx, [rbp + 0x38]
call fcn.140017a78
nop
mov esi, ebx
mov dword [rsp + 0x24], ebx
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
cmp qword [rax + 0x18], 8
jb 0x140011be0
mov rax, qword [rax]
mov rcx, rax
call fcn.140020b1c
test eax, eax
mov r14b, r15b
je 0x140011bf2
mov r14b, bl
test bl, sil
je 0x140011c03
and esi, 0xfffffffe
lea rcx, [rbp + 0x38]
call fcn.140001fa0
test r14b, r14b
je 0x140011c10
mov bl, r15b
jmp 0x140011e75
mov qword [rsp + 0x58], r15
mov rax, r15
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r15w
mov r14d, r15d
test rax, rax
jne 0x140011d2a
lea rax, [rsp + 0x58]
cmp rax, rdi
je 0x140011c5d
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140011c4f
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x58]
call fcn.1400020b0
mov edx, r14d
lea rcx, [rbp + 0x38]
call fcn.140004228
or esi, 4
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
lea rcx, str.rtmp
call fcn.140036bbc
mov r8, rax
lea rdx, str.rtmp
lea rcx, [rbp - 0x48]
call fcn.14000129c
nop
lea r9, [rbp + 0x38]
lea r8, [rbp - 0x48]
mov dl, byte [rsp + 0x20]
lea rcx, [rbp + 0x58]
call fcn.14000e094
or esi, 2
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.140017d14
nop
lea rcx, [rbp + 0x58]
call fcn.140001fa0
nop
lea rcx, [rbp - 0x48]
call fcn.140001fa0
nop
lea rcx, [rbp + 0x38]
call fcn.140001fa0
lea rcx, [rsp + 0x58]
call fcn.140013228
test al, al
je 0x140011d04
mov qword [rsp + 0x68], r15
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rax, qword [rsp + 0x58]
mov word [rax], r15w
add r14d, 0x7b
cmp r14d, 0x2710
jae 0x140011d1b
mov rax, qword [rsp + 0x68]
jmp 0x140011c2f
cmp qword [rsp + 0x68], r15
jne 0x140011d2a
mov bl, r15b
jmp 0x140011e6a
mov qword [rsp + 0x78], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140011d44
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x78]
call fcn.140008ca4
nop
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x78]
call fcn.140017d14
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x140011d94
mov bl, r15b
jmp 0x140011e1a
lea rcx, [rbp + 0x80]
call fcn.140011f78
nop
mov sil, r15b
mov rcx, rdi
call fcn.140013228
test al, al
jne 0x140011dc8
mov r8d, 0x12
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.1400120b4
mov sil, al
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test sil, sil
je 0x140011e0d
lea rcx, [rbp + 0x80]
call fcn.140012050
lea rcx, [rbp + 0x80]
call fcn.140012260
nop
lea rcx, [rbp + 0x80]
call fcn.140011fd0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140011e57
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, r13
jb 0x140011e52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011f6b
call fcn.14003144c
movdqa xmm0, xmmword [0x1400479b0]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r15w
lea rcx, [rsp + 0x58]
call fcn.140001fa0
nop
lea rcx, [rbp - 0x68]
call fcn.140001fa0
nop
lea rcx, [rbp - 0x28]
call fcn.140001fa0
nop
lea rcx, [rbp - 8]
call fcn.140001fa0
nop
lea rcx, [rbp + 0x18]
call fcn.140001fa0
mov r8, qword [rsp + 0x28]
jmp 0x140011ea6
mov bl, r15b
test r8, r8
je 0x140011ef1
mov rax, qword [rsp + 0x38]
sub rax, r8
sar rax, 1
lea rdx, [rax + rax]
mov rax, r8
cmp rdx, r13
jb 0x140011edb
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011f71
mov rcx, r8
call fcn.14003144c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r15
mov r8, qword [rsp + 0x40]
jmp 0x140011f00
mov r8, qword [rsp + 0x40]
mov bl, r15b
test r8, r8
je 0x140011f38
mov rdx, qword [rsp + 0x50]
sub rdx, r8
sar rdx, 1
add rdx, rdx
mov rax, r8
cmp rdx, r13
jb 0x140011f30
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011f65
mov rcx, r8
call fcn.14003144c
mov al, bl
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140031560
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.140036b44
nop
call fcn.140036b44
nop
call fcn.140036b44
int3