Function at 0x140092660
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 - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x140210ef8]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
movzx esi, r8b
mov r14, rdx
mov rdi, rcx
mov ebx, 0x8fc
test rcx, rcx
je 0x140092bd3
test rdx, rdx
je 0x140092bd3
xor edx, edx
lea rcx, [rbp + 0x1c0]
mov r8d, 0x104
call fcn.1400a7d00
xor edx, edx
lea rcx, [rbp + 0xb0]
mov r8d, 0x104
call fcn.1400a7d00
xorps xmm0, xmm0
lea rcx, [rbp + 0x1c0]
xorps xmm1, xmm1
xor ebx, ebx
mov r8, r14
mov edx, 0x104
movups xmmword [rsp + 0x40], xmm0
lea r9, [rbx - 1]
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 + 0x10], xmm0
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 - 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.1400b5228
mov edx, 0x104
lea rcx, [rbp + 0x1c0]
call fcn.1400cf7a8
cmp rax, 0x104
jne 0x140092765
mov byte [rbp + 0x2c3], bl
jmp 0x140092784
mov r9, 0xffffffffffffffff
lea r8, str.._tmp
mov edx, 0x104
lea rcx, [rbp + 0x1c0]
call fcn.1400e6528
mov r9, 0xffffffffffffffff
lea rcx, [rbp + 0xb0]
mov r8, r14
mov edx, 0x104
call fcn.1400b5228
mov edx, 0x104
lea rcx, [rbp + 0xb0]
call fcn.1400cf7a8
cmp rax, 0x104
jne 0x1400927c0
mov byte [rbp + 0x1b3], bl
jmp 0x1400927df
mov r9, 0xffffffffffffffff
lea r8, str.._ok_
mov edx, 0x104
lea rcx, [rbp + 0xb0]
call fcn.1400e6528
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14009282b
bt eax, 0xa
jae 0x14009282b
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14009281b
test al, 0x10
je 0x14009281b
lea rcx, [rbp + 0x1c0]
call fcn.1400d2fdc
jmp 0x140092827
lea rcx, [rbp + 0x1c0]
call fcn.1400b6b3c
test eax, eax
jne 0x14009284e
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x1c0]
call fcn.1400d2a94
test eax, eax
jne 0x14009284e
lea rcx, [rbp + 0x1c0]
call fcn.1400b6b3c
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14009289a
bt eax, 0xa
jae 0x14009289a
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14009288a
test al, 0x10
je 0x14009288a
lea rcx, [rbp + 0xb0]
call fcn.1400d2fdc
jmp 0x140092896
lea rcx, [rbp + 0xb0]
call fcn.1400b6b3c
test eax, eax
jne 0x1400928ed
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0xb0]
call fcn.1400d2a94
test eax, eax
jne 0x1400928ed
mov rcx, r14
call fcn.1400931f0
lea rcx, [rbp + 0xb0]
test eax, eax
jne 0x1400928da
mov rdx, r14
call fcn.1400b6858
test eax, eax
je 0x1400928ed
mov ebx, 0xbba
jmp 0x140092bd3
call fcn.1400b6b3c
test eax, eax
je 0x1400928ed
mov ebx, 0xbbc
jmp 0x140092bd3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14009292d
bt eax, 0xa
jae 0x14009292d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14009291d
test al, 0x10
je 0x14009291d
mov rcx, rdi
call fcn.1400d2fdc
jmp 0x140092925
mov rcx, rdi
call fcn.1400b6b3c
test eax, eax
jne 0x140092bd3
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400d2a94
test eax, eax
jne 0x140092bd3
cmp dword [rsp + 0x54], ebx
jle 0x140092bd3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140092988
bt eax, 0xa
jae 0x140092988
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14009297c
test al, 0x10
je 0x14009297c
mov rcx, r14
call fcn.1400d2fdc
jmp 0x140092984
mov rcx, r14
call fcn.1400b6b3c
test eax, eax
jne 0x1400929a2
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.1400d2a94
test eax, eax
jne 0x1400929a2
test sil, sil
je 0x140092bd3
mov ecx, dword [rsp + 0x54]
cmp dword [rbp - 0x7c], ecx
jne 0x1400929f2
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.140093690
test al, al
je 0x140092bd3
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.140093690
test al, al
je 0x140092bd3
mov r8d, 0x20
lea rdx, [rbp - 0x5c]
lea rcx, [rbp + 0x14]
call fcn.1400a7f30
test eax, eax
je 0x140092bd3
mov ecx, dword [rsp + 0x54]
mov eax, 0x1000
mov qword [rsp + 0x430], r12
cmp ecx, eax
mov qword [rsp + 0x3e8], r13
mov qword [rsp + 0x3e0], r15
mov r12, rbx
cmovle eax, ecx
movsxd r15, eax
mov rcx, r15
mov qword [rsp + 0x38], r15
call fcn.1400b5158
mov r13, rax
test rax, rax
je 0x140092bb6
mov r8, r15
xor edx, edx
mov rcx, rax
call fcn.1400a7d00
xor r8d, r8d
lea rdx, [0x140120bc4]
mov rcx, rdi
call fcn.140093280
mov qword [rsp + 0x30], rax
mov rsi, rax
mov edi, 0xbba
test rax, rax
je 0x140092b82
xor r8d, r8d
lea rdx, [0x140120e4c]
lea rcx, [rbp + 0x1c0]
call fcn.140093280
mov r12, rax
test rax, rax
je 0x140092b82
movsxd rdi, dword [rsp + 0x54]
test rdi, rdi
je 0x140092afe
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rsp + 0x30]
cmp rdi, r15
mov rsi, r15
mov qword [rsp + 0x20], rax
cmovbe rsi, rdi
mov r8d, 1
mov r9, rsi
mov rdx, r15
mov rcx, r13
call fcn.1400e6c68
mov r15, rax
mov rax, rbx
cmp r15, rsi
jne 0x140092ae6
mov r9, r12
mov r8, r15
mov edx, 1
mov rcx, r13
call fcn.1400e8210
cmp rax, rsi
jne 0x140092b74
sub rdi, r15
mov r15, qword [rsp + 0x38]
jne 0x140092aa0
mov rsi, qword [rsp + 0x30]
mov edi, 0xbba
mov rcx, r13
call fcn.1400b5144
test rsi, rsi
je 0x140092b20
mov rcx, rsi
call fcn.1400e7474
mov rcx, rsi
call fcn.1400e6e28
test r12, r12
je 0x140092b45
mov rcx, r12
call fcn.1400e7474
mov rcx, r12
call fcn.1400e6e28
lea rcx, [rbp + 0x1c0]
test ebx, ebx
je 0x140092b8c
call fcn.1400b6b3c
test ebx, ebx
jne 0x140092bbb
mov rcx, r14
call fcn.1400931f0
test eax, eax
je 0x140092ba0
mov rcx, r14
call fcn.1400b6b3c
test eax, eax
je 0x140092ba0
lea rcx, [rbp + 0xb0]
call fcn.1400b6b3c
mov ebx, 0xbbc
jmp 0x140092bbb
mov rsi, qword [rsp + 0x30]
mov edi, 0xbba
mov ebx, edi
jmp 0x140092b03
mov ebx, 0xbbb
jmp 0x140092b03
lea rdx, [rbp + 0xb0]
call fcn.1400b6858
test eax, eax
je 0x140092b49
mov ebx, edi
jmp 0x140092bbb
mov rdx, r14
lea rcx, [rbp + 0xb0]
call fcn.1400b6858
test eax, eax
cmovne ebx, edi
jmp 0x140092bbb
mov ebx, 0x708
mov r13, qword [rsp + 0x3e8]
mov r12, qword [rsp + 0x430]
mov r15, qword [rsp + 0x3e0]
mov eax, ebx
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.1400a6220
add rsp, 0x3f0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret