Function at 0x140084c10
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 [0x1401f4df8]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
movzx esi, r8b
mov r12, rdx
mov rdi, rcx
mov ebx, 0x8fc
test rcx, rcx
je 0x140085063
test rdx, rdx
je 0x140085063
xor edx, edx
lea rcx, [rbp + 0x1c0]
mov r8d, 0x104
call fcn.140099f70
xor edx, edx
lea rcx, [rbp + 0xb0]
mov r8d, 0x104
call fcn.140099f70
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.140099f70
xor edx, edx
lea rcx, [rbp - 0x30]
lea r8d, [rdx + 0x70]
call fcn.140099f70
xor ebx, ebx
lea rcx, [rbp + 0x1c0]
mov r8, r12
mov edx, 0x104
lea r9, [rbx - 1]
call fcn.1400a7108
mov edx, 0x104
lea rcx, [rbp + 0x1c0]
call fcn.1400c1450
cmp rax, 0x104
jne 0x140084d13
mov byte [rbp + 0x2c3], bl
jmp 0x140084d32
mov r9, 0xffffffffffffffff
lea r8, str.._tmp
mov edx, 0x104
lea rcx, [rbp + 0x1c0]
call fcn.1400d8268
mov r9, 0xffffffffffffffff
lea rcx, [rbp + 0xb0]
mov r8, r12
mov edx, 0x104
call fcn.1400a7108
mov edx, 0x104
lea rcx, [rbp + 0xb0]
call fcn.1400c1450
cmp rax, 0x104
jne 0x140084d6e
mov byte [rbp + 0x1b3], bl
jmp 0x140084d8d
mov r9, 0xffffffffffffffff
lea r8, str.._ok_
mov edx, 0x104
lea rcx, [rbp + 0xb0]
call fcn.1400d8268
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x1c0]
call fcn.1400c4720
test eax, eax
jne 0x140084dad
lea rcx, [rbp + 0x1c0]
call fcn.1400a8bf8
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0xb0]
call fcn.1400c4720
test eax, eax
jne 0x140084e01
lea rdx, [rbp - 0x60]
mov rcx, r12
call fcn.1400c4720
lea rcx, [rbp + 0xb0]
test eax, eax
je 0x140084dee
mov rdx, r12
call fcn.1400a8914
test eax, eax
je 0x140084e01
mov ebx, 0xbba
jmp 0x140085063
call fcn.1400a8bf8
test eax, eax
je 0x140084e01
mov ebx, 0xbbc
jmp 0x140085063
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400c4720
test eax, eax
jne 0x140085063
cmp dword [rsp + 0x54], ebx
jle 0x140085063
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.1400c4720
test eax, eax
jne 0x140084e3a
test sil, sil
je 0x140085063
mov ecx, dword [rsp + 0x54]
cmp dword [rbp - 0x7c], ecx
jne 0x140084e8a
lea rdx, [rbp + 0x40]
mov rcx, rdi
call fcn.1400857b0
test al, al
je 0x140085063
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.1400857b0
test al, al
je 0x140085063
mov r8d, 0x20
lea rdx, [rbp - 0x2c]
lea rcx, [rbp + 0x44]
call fcn.14009a1f0
test eax, eax
je 0x140085063
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.1400a7038
mov r13, rax
test rax, rax
je 0x14008504e
mov r8, r15
mov qword [rsp + 0x3e8], r14
xor edx, edx
mov rcx, rax
call fcn.140099f70
xor r8d, r8d
lea rdx, [0x14010e5a4]
mov rcx, rdi
call fcn.1400854c0
mov qword [rsp + 0x30], rax
mov r14, rax
mov esi, 0xbba
test rax, rax
je 0x14008501a
xor r8d, r8d
lea rdx, [0x14010eac8]
lea rcx, [rbp + 0x1c0]
call fcn.1400854c0
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14008501a
movsxd rsi, dword [rsp + 0x54]
test rsi, rsi
je 0x140084f86
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.1400d89a8
mov r14, rax
mov rax, rbx
cmp r14, rdi
jne 0x140084f73
mov r9, qword [rsp + 0x38]
mov r8, r14
mov edx, 1
mov rcx, r13
call fcn.1400d9f50
cmp rax, rdi
jne 0x140085009
sub rsi, r14
mov r14, qword [rsp + 0x30]
jne 0x140084f30
mov esi, 0xbba
mov rcx, r13
call fcn.1400a7024
test r14, r14
je 0x140084fa8
mov rcx, r14
call fcn.1400d91b4
mov rcx, r14
call fcn.1400d8b68
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x3e8]
test rdi, rdi
je 0x140084fda
mov rcx, rdi
call fcn.1400d91b4
mov rcx, rdi
call fcn.1400d8b68
lea rcx, [rbp + 0x1c0]
test ebx, ebx
je 0x140085024
call fcn.1400a8bf8
test ebx, ebx
jne 0x140085053
mov rcx, r12
call fcn.140085480
test eax, eax
je 0x140085038
mov rcx, r12
call fcn.1400a8bf8
test eax, eax
je 0x140085038
lea rcx, [rbp + 0xb0]
call fcn.1400a8bf8
mov ebx, 0xbbc
jmp 0x140085053
mov r14, qword [rsp + 0x30]
mov esi, 0xbba
mov ebx, esi
jmp 0x140084f8b
mov ebx, 0xbbb
jmp 0x140084f8b
lea rdx, [rbp + 0xb0]
call fcn.1400a8914
test eax, eax
je 0x140084fde
mov ebx, esi
jmp 0x140085053
mov rdx, r12
lea rcx, [rbp + 0xb0]
call fcn.1400a8914
test eax, eax
cmovne ebx, esi
jmp 0x140085053
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.140098420
add rsp, 0x3f0
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret