Function at 0x1400edbe0
Capabilities:
Check if file exists
Get file attributes
Move file
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x1402854d8]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
movzx esi, r8b
mov r14, rdx
mov rdi, rcx
mov ebx, 0x8fc
test rcx, rcx
je 0x1400ee16d
test rdx, rdx
je 0x1400ee16d
xor edx, edx
lea rcx, [rbp + 0x1e0]
mov r8d, 0x104
call fcn.140107f60
xor edx, edx
lea rcx, [rbp + 0xd0]
mov r8d, 0x104
call fcn.140107f60
xorps xmm0, xmm0
lea rcx, [rbp + 0x1e0]
xorps xmm1, xmm1
xor eax, eax
mov r8, r14
mov qword [rbp + 0x90], rax
mov edx, 0x104
mov qword [rbp + 0x10], rax
movups xmmword [rsp + 0x40], xmm0
lea r9, [rax - 1]
xor ebx, ebx
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rbp - 0x80], xmm1
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
call fcn.140115e08
mov edx, 0x104
lea rcx, [rbp + 0x1e0]
call fcn.140130308
cmp rax, 0x104
jne 0x1400edcf5
mov byte [rbp + 0x2e3], bl
jmp 0x1400edd14
mov r9, 0xffffffffffffffff
lea r8, str.._tmp
mov edx, 0x104
lea rcx, [rbp + 0x1e0]
call fcn.140146e94
mov r9, 0xffffffffffffffff
lea rcx, [rbp + 0xd0]
mov r8, r14
mov edx, 0x104
call fcn.140115e08
mov edx, 0x104
lea rcx, [rbp + 0xd0]
call fcn.140130308
cmp rax, 0x104
jne 0x1400edd50
mov byte [rbp + 0x1d3], bl
jmp 0x1400edd6f
mov r9, 0xffffffffffffffff
lea r8, str.._ok_
mov edx, 0x104
lea rcx, [rbp + 0xd0]
call fcn.140146e94
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400eddbb
bt eax, 0xa
jae 0x1400eddbb
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400eddab
test al, 0x10
je 0x1400eddab
lea rcx, [rbp + 0x1e0]
call fcn.1401338c4
jmp 0x1400eddb7
lea rcx, [rbp + 0x1e0]
call fcn.14011868c
test eax, eax
jne 0x1400eddde
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x1e0]
call fcn.14013337c
test eax, eax
jne 0x1400eddde
lea rcx, [rbp + 0x1e0]
call fcn.14011868c
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400ede2a
bt eax, 0xa
jae 0x1400ede2a
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400ede1a
test al, 0x10
je 0x1400ede1a
lea rcx, [rbp + 0xd0]
call fcn.1401338c4
jmp 0x1400ede26
lea rcx, [rbp + 0xd0]
call fcn.14011868c
test eax, eax
jne 0x1400ede7d
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0xd0]
call fcn.14013337c
test eax, eax
jne 0x1400ede7d
mov rcx, r14
call fcn.1400ee780
lea rcx, [rbp + 0xd0]
test eax, eax
jne 0x1400ede6a
mov rdx, r14
call fcn.1401183a8
test eax, eax
je 0x1400ede7d
mov ebx, 0xbba
jmp 0x1400ee16d
call fcn.14011868c
test eax, eax
je 0x1400ede7d
mov ebx, 0xbbc
jmp 0x1400ee16d
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400edebd
bt eax, 0xa
jae 0x1400edebd
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400edead
test al, 0x10
je 0x1400edead
mov rcx, rdi
call fcn.1401338c4
jmp 0x1400edeb5
mov rcx, rdi
call fcn.14011868c
test eax, eax
jne 0x1400ee16d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14013337c
test eax, eax
jne 0x1400ee16d
cmp dword [rsp + 0x54], ebx
jle 0x1400ee16d
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400edf18
bt eax, 0xa
jae 0x1400edf18
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400edf0c
test al, 0x10
je 0x1400edf0c
mov rcx, r14
call fcn.1401338c4
jmp 0x1400edf14
mov rcx, r14
call fcn.14011868c
test eax, eax
jne 0x1400edf32
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.14013337c
test eax, eax
jne 0x1400edf32
test sil, sil
je 0x1400ee16d
mov ecx, dword [rsp + 0x54]
cmp dword [rbp - 0x7c], ecx
jne 0x1400edf82
lea rdx, [rbp + 0x20]
mov rcx, rdi
call fcn.1400eec20
test al, al
je 0x1400ee16d
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.1400eec20
test al, al
je 0x1400ee16d
mov r8d, 0x20
lea rdx, [rbp - 0x5c]
lea rcx, [rbp + 0x24]
call fcn.140108190
test eax, eax
je 0x1400ee16d
mov ecx, dword [rsp + 0x54]
mov eax, 0x1000
mov qword [rsp + 0x450], r12
cmp ecx, eax
mov qword [rsp + 0x408], r13
mov qword [rsp + 0x400], r15
mov r13, rbx
cmovle eax, ecx
movsxd r12, eax
mov rcx, r12
call fcn.140115d38
mov qword [rsp + 0x30], rax
mov r15, rax
test rax, rax
je 0x1400ee150
mov r8, r12
xor edx, edx
mov rcx, rax
call fcn.140107f60
xor r8d, r8d
lea rdx, [0x1401841d4]
mov rcx, rdi
call fcn.1400ee810
mov qword [rsp + 0x38], rax
mov rdi, rax
mov esi, 0xbba
test rax, rax
je 0x1400ee11c
xor r8d, r8d
lea rdx, [0x140184454]
lea rcx, [rbp + 0x1e0]
call fcn.1400ee810
mov r13, rax
test rax, rax
je 0x1400ee11c
movsxd rsi, dword [rsp + 0x54]
test rsi, rsi
je 0x1400ee090
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rsp + 0x38]
cmp rsi, r12
mov rdi, r12
mov qword [rsp + 0x20], rax
cmovbe rdi, rsi
mov r8d, 1
mov r9, rdi
mov rdx, r12
mov rcx, r15
call fcn.1401475a4
mov r15, rax
mov rax, rbx
cmp r15, rdi
jne 0x1400ee078
mov rcx, qword [rsp + 0x30]
mov r9, r13
mov r8, r15
mov edx, 1
call fcn.140148b4c
cmp rax, rdi
jne 0x1400ee106
sub rsi, r15
mov r15, qword [rsp + 0x30]
jne 0x1400ee030
mov rdi, qword [rsp + 0x38]
mov esi, 0xbba
mov rcx, r15
call fcn.140115d24
test rdi, rdi
je 0x1400ee0b2
mov rcx, rdi
call fcn.140147db0
mov rcx, rdi
call fcn.140147764
test r13, r13
je 0x1400ee0d7
mov rcx, r13
call fcn.140147db0
mov rcx, r13
call fcn.140147764
lea rcx, [rbp + 0x1e0]
test ebx, ebx
je 0x1400ee126
call fcn.14011868c
test ebx, ebx
jne 0x1400ee155
mov rcx, r14
call fcn.1400ee780
test eax, eax
je 0x1400ee13a
mov rcx, r14
call fcn.14011868c
test eax, eax
je 0x1400ee13a
lea rcx, [rbp + 0xd0]
call fcn.14011868c
mov ebx, 0xbbc
jmp 0x1400ee155
mov r15, qword [rsp + 0x30]
mov esi, 0xbba
mov rdi, qword [rsp + 0x38]
mov ebx, esi
jmp 0x1400ee095
mov ebx, 0xbbb
jmp 0x1400ee095
lea rdx, [rbp + 0xd0]
call fcn.1401183a8
test eax, eax
je 0x1400ee0db
mov ebx, esi
jmp 0x1400ee155
mov rdx, r14
lea rcx, [rbp + 0xd0]
call fcn.1401183a8
test eax, eax
cmovne ebx, esi
jmp 0x1400ee155
mov ebx, 0x708
mov r13, qword [rsp + 0x408]
mov r12, qword [rsp + 0x450]
mov r15, qword [rsp + 0x400]
mov eax, ebx
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.140106650
add rsp, 0x410
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret