Function at 0x14008c120
Capabilities:
Move file
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x1402006b8]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
movzx esi, r8b
mov r12, rdx
mov rdi, rcx
mov ebx, 0x8fc
test rcx, rcx
je 0x14008c573
test rdx, rdx
je 0x14008c573
xor edx, edx
lea rcx, [rbp + 0x1c0]
mov r8d, 0x104
call fcn.1400a1900
xor edx, edx
lea rcx, [rbp + 0xb0]
mov r8d, 0x104
call fcn.1400a1900
xor eax, eax
lea rcx, [rbp + 0x40]
xor edx, edx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea r8d, [rax + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
call fcn.1400a1900
xor edx, edx
lea rcx, [rbp - 0x30]
lea r8d, [rdx + 0x70]
call fcn.1400a1900
xor ebx, ebx
lea rcx, [rbp + 0x1c0]
mov r8, r12
mov edx, 0x104
lea r9, [rbx - 1]
call fcn.1400aea88
mov edx, 0x104
lea rcx, [rbp + 0x1c0]
call fcn.1400c8dd0
cmp rax, 0x104
jne 0x14008c223
mov byte [rbp + 0x2c3], bl
jmp 0x14008c242
mov r9, 0xffffffffffffffff
lea r8, str.._tmp
mov edx, 0x104
lea rcx, [rbp + 0x1c0]
call fcn.1400dfbe8
mov r9, 0xffffffffffffffff
lea rcx, [rbp + 0xb0]
mov r8, r12
mov edx, 0x104
call fcn.1400aea88
mov edx, 0x104
lea rcx, [rbp + 0xb0]
call fcn.1400c8dd0
cmp rax, 0x104
jne 0x14008c27e
mov byte [rbp + 0x1b3], bl
jmp 0x14008c29d
mov r9, 0xffffffffffffffff
lea r8, str.._ok_
mov edx, 0x104
lea rcx, [rbp + 0xb0]
call fcn.1400dfbe8
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x1c0]
call fcn.1400cc0a0
test eax, eax
jne 0x14008c2bd
lea rcx, [rbp + 0x1c0]
call fcn.1400b0578
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0xb0]
call fcn.1400cc0a0
test eax, eax
jne 0x14008c311
lea rdx, [rbp - 0x60]
mov rcx, r12
call fcn.1400cc0a0
lea rcx, [rbp + 0xb0]
test eax, eax
je 0x14008c2fe
mov rdx, r12
call fcn.1400b0294
test eax, eax
je 0x14008c311
mov ebx, 0xbba
jmp 0x14008c573
call fcn.1400b0578
test eax, eax
je 0x14008c311
mov ebx, 0xbbc
jmp 0x14008c573
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400cc0a0
test eax, eax
jne 0x14008c573
cmp dword [rsp + 0x54], ebx
jle 0x14008c573
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.1400cc0a0
test eax, eax
jne 0x14008c34a
test sil, sil
je 0x14008c573
mov ecx, dword [rsp + 0x54]
cmp dword [rbp - 0x7c], ecx
jne 0x14008c39a
lea rdx, [rbp + 0x40]
mov rcx, rdi
call fcn.14008ccc0
test al, al
je 0x14008c573
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.14008ccc0
test al, al
je 0x14008c573
mov r8d, 0x20
lea rdx, [rbp - 0x2c]
lea rcx, [rbp + 0x44]
call fcn.1400a1b80
test eax, eax
je 0x14008c573
mov ecx, dword [rsp + 0x54]
mov eax, 0x1000
mov qword [rsp + 0x430], r13
cmp ecx, eax
mov qword [rsp + 0x3e0], r15
mov qword [rsp + 0x38], rbx
cmovle eax, ecx
movsxd r15, eax
mov rcx, r15
call fcn.1400ae9b8
mov r13, rax
test rax, rax
je 0x14008c55e
mov r8, r15
mov qword [rsp + 0x3e8], r14
xor edx, edx
mov rcx, rax
call fcn.1400a1900
xor r8d, r8d
lea rdx, [0x140115784]
mov rcx, rdi
call fcn.14008c9d0
mov qword [rsp + 0x30], rax
mov r14, rax
mov esi, 0xbba
test rax, rax
je 0x14008c52a
xor r8d, r8d
lea rdx, [0x140115ca8]
lea rcx, [rbp + 0x1c0]
call fcn.14008c9d0
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14008c52a
movsxd rsi, dword [rsp + 0x54]
test rsi, rsi
je 0x14008c496
nop dword [rax + rax]
cmp rsi, r15
mov qword [rsp + 0x20], r14
mov rdi, r15
mov r8d, 1
cmovbe rdi, rsi
mov rdx, r15
mov r9, rdi
mov rcx, r13
call fcn.1400e0328
mov r14, rax
mov rax, rbx
cmp r14, rdi
jne 0x14008c483
mov r9, qword [rsp + 0x38]
mov r8, r14
mov edx, 1
mov rcx, r13
call fcn.1400e18d0
cmp rax, rdi
jne 0x14008c519
sub rsi, r14
mov r14, qword [rsp + 0x30]
jne 0x14008c440
mov esi, 0xbba
mov rcx, r13
call fcn.1400ae9a4
test r14, r14
je 0x14008c4b8
mov rcx, r14
call fcn.1400e0b34
mov rcx, r14
call fcn.1400e04e8
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x3e8]
test rdi, rdi
je 0x14008c4ea
mov rcx, rdi
call fcn.1400e0b34
mov rcx, rdi
call fcn.1400e04e8
lea rcx, [rbp + 0x1c0]
test ebx, ebx
je 0x14008c534
call fcn.1400b0578
test ebx, ebx
jne 0x14008c563
mov rcx, r12
call fcn.14008c990
test eax, eax
je 0x14008c548
mov rcx, r12
call fcn.1400b0578
test eax, eax
je 0x14008c548
lea rcx, [rbp + 0xb0]
call fcn.1400b0578
mov ebx, 0xbbc
jmp 0x14008c563
mov r14, qword [rsp + 0x30]
mov esi, 0xbba
mov ebx, esi
jmp 0x14008c49b
mov ebx, 0xbbb
jmp 0x14008c49b
lea rdx, [rbp + 0xb0]
call fcn.1400b0294
test eax, eax
je 0x14008c4ee
mov ebx, esi
jmp 0x14008c563
mov rdx, r12
lea rcx, [rbp + 0xb0]
call fcn.1400b0294
test eax, eax
cmovne ebx, esi
jmp 0x14008c563
mov ebx, 0x708
mov r13, qword [rsp + 0x430]
mov r15, qword [rsp + 0x3e0]
mov eax, ebx
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.14009fda0
add rsp, 0x3f0
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret