Function at 0x140010130
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x140056038]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rsi, rcx
xor edi, edi
mov r14d, edi
mov dword [rsp + 0x20], edi
call fcn.14000128c
mov rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x1400104cb
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140001da4
nop
lea rcx, [rsp + 0x40]
call fcn.140001aec
mov r8, rax
lea rcx, [rsp + 0x40]
call fcn.140001adc
mov rdx, rax
mov rcx, rsi
call fcn.14000128c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov edx, eax
test eax, eax
je 0x1400104be
lea rcx, [rsp + 0x40]
call fcn.140001aec
cmp rdx, rax
jae 0x1400104be
mov rcx, rsi
call fcn.14000128c
mov rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x1400104be
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.140001da4
nop
lea rcx, [rsp + 0x28]
call fcn.140001aec
mov r8, rax
lea rcx, [rsp + 0x28]
call fcn.140001adc
mov rdx, rax
mov rcx, rsi
call fcn.14000128c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov edx, eax
test eax, eax
je 0x1400104b3
lea rcx, [rsp + 0x28]
call fcn.140001aec
cmp rdx, rax
jae 0x1400104b3
lea rcx, [rsp + 0x40]
call fcn.140001adc
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.1400020b4
nop
lea rcx, [rsp + 0x28]
call fcn.140001adc
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.1400020b4
nop
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x48]
call fcn.1400131ec
nop
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x68]
call fcn.1400131ec
nop
lea rcx, [rbp - 0x68]
call fcn.140006964
test al, al
jne 0x1400102da
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.14000d6e4
test eax, eax
je 0x1400102da
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.1400131ec
mov r14d, 1
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.14000d6e4
test eax, eax
mov bl, dil
je 0x1400102dc
mov bl, 1
test r14b, 1
je 0x1400102eb
lea rcx, [rbp - 0x28]
call fcn.140002254
test bl, bl
jne 0x14001048b
lea rcx, [rsp + 0x58]
call fcn.1400026bc
nop
mov r14d, edi
lea rcx, [rsp + 0x58]
call fcn.140006964
test al, al
je 0x1400103a4
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140003be4
mov edx, r14d
lea rcx, [rbp + 0x58]
call fcn.140007190
mov rbx, rax
lea rdx, str.rtmp
lea rcx, [rbp + 0x38]
call fcn.1400020b4
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.14000fabc
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400134a4
nop
lea rcx, [rbp - 0x28]
call fcn.140002254
nop
lea rcx, [rbp + 0x38]
call fcn.140002254
nop
lea rcx, [rbp + 0x58]
call fcn.140002254
lea rcx, [rsp + 0x58]
call fcn.140011624
test al, al
je 0x140010393
lea rcx, [rsp + 0x58]
call fcn.140007644
add r14d, 0x7b
cmp r14d, 0x2710
jb 0x140010301
lea rcx, [rsp + 0x58]
call fcn.140006964
test al, al
jne 0x140010480
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.14000a120
nop
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.1400134a4
lea rcx, [rsp + 0x58]
call fcn.14000128c
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14000128c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x140010475
lea rcx, [rbp + 0x80]
call fcn.1400104f4
nop
mov bl, dil
mov rcx, rsi
call fcn.140011624
test al, al
jne 0x140010429
mov r8d, 0x12
mov rdx, rsi
lea rcx, [rbp + 0x80]
call fcn.1400107f8
mov bl, al
lea rcx, [rsp + 0x78]
call fcn.14000128c
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14000128c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test bl, bl
je 0x140010465
lea rcx, [rbp + 0x80]
call fcn.140010960
lea rcx, [rbp + 0x80]
call fcn.1400109c0
mov dil, 1
lea rcx, [rbp + 0x80]
call fcn.140010584
nop
lea rcx, [rsp + 0x78]
call fcn.140002254
nop
lea rcx, [rsp + 0x58]
call fcn.140002254
nop
lea rcx, [rbp - 0x68]
call fcn.140002254
nop
lea rcx, [rbp - 0x48]
call fcn.140002254
nop
lea rcx, [rbp - 8]
call fcn.140002254
nop
lea rcx, [rbp + 0x18]
call fcn.140002254
nop
lea rcx, [rsp + 0x28]
call fcn.140001af8
nop
lea rcx, [rsp + 0x40]
call fcn.140001af8
mov al, dil
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140029070
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret