Function at 0x140010104
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 [0x140057038]
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 0x14001049f
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 0x140010492
lea rcx, [rsp + 0x40]
call fcn.140001aec
cmp rdx, rax
jae 0x140010492
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 0x140010492
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 0x140010487
lea rcx, [rsp + 0x28]
call fcn.140001aec
cmp rdx, rax
jae 0x140010487
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.140013420
nop
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x68]
call fcn.140013420
nop
lea rcx, [rbp - 0x68]
call fcn.14000696c
test al, al
jne 0x1400102ae
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.14000d6d4
test eax, eax
je 0x1400102ae
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.140013420
mov r14d, 1
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.14000d6d4
test eax, eax
mov bl, dil
je 0x1400102b0
mov bl, 1
test r14b, 1
je 0x1400102bf
lea rcx, [rbp - 0x28]
call fcn.140002254
test bl, bl
jne 0x14001045f
lea rcx, [rsp + 0x58]
call fcn.1400026bc
nop
mov r14d, edi
lea rcx, [rsp + 0x58]
call fcn.14000696c
test al, al
je 0x140010378
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140003be4
mov edx, r14d
lea rcx, [rbp + 0x58]
call fcn.140007198
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.14000faac
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400136d8
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.1400115f4
test al, al
je 0x140010367
lea rcx, [rsp + 0x58]
call fcn.140007644
add r14d, 0x7b
cmp r14d, 0x2710
jb 0x1400102d5
lea rcx, [rsp + 0x58]
call fcn.14000696c
test al, al
jne 0x140010454
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.14000a120
nop
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.1400136d8
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 0x140010449
lea rcx, [rbp + 0x80]
call fcn.1400104c8
nop
mov bl, dil
mov rcx, rsi
call fcn.1400115f4
test al, al
jne 0x1400103fd
mov r8d, 0x12
mov rdx, rsi
lea rcx, [rbp + 0x80]
call fcn.1400107c8
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 0x140010439
lea rcx, [rbp + 0x80]
call fcn.140010930
lea rcx, [rbp + 0x80]
call fcn.140010990
mov dil, 1
lea rcx, [rbp + 0x80]
call fcn.140010554
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.140029240
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret