Function at 0x140017fe0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400650c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [rbp + 0x60]
xor edi, edi
cmp qword [rdx], 0xffffffffffffffff
mov r12, r9
mov r13, rdx
jne 0x1400180ac
mov rcx, qword [0x140065d80]
lea rsi, [0x140065d78]
movabs r15, 0x4d54ee85da812030
mov dword [rbp - 0x4c], edi
add rcx, r15
cmp rcx, 1
jbe 0x140018051
mov rax, qword [0x140065d78]
mov edx, 0x2719
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x140018053
mov al, 1
movzx eax, al
add rax, 2
mov dword [rbp - 0x50], 0x2719
mov qword [rbp - 0x40], rax
movsd xmm1, qword [rbp - 0x40]
mov qword [rbp - 0x48], rsi
movaps xmm2, xmm1
movups xmm3, xmmword [rbp - 0x50]
movups xmmword [rbx], xmm3
movsd qword [rbx + 0x10], xmm1
mov rax, qword [rbx + 0x10]
cmp rax, 2
jb 0x14001809d
and eax, 1
lea rcx, str.C:cpp_projects_vcpkginstalledx64_windowsinclude_boost_asiodetailimplwin_iocp_handle_service.ipp
or rax, rcx
mov qword [rbp - 0x40], rax
movsd xmm2, qword [rbp - 0x40]
movups xmmword [rbx], xmm3
xor eax, eax
movsd qword [rbx + 0x10], xmm2
jmp 0x14001833e
cmp qword [r9 + 8], 0
jne 0x1400180ce
xorps xmm0, xmm0
mov qword [rbp - 0x40], rdi
movups xmmword [rbx], xmm0
xor eax, eax
movsd xmm0, qword [rbp - 0x40]
movsd qword [rbx + 0x10], xmm0
jmp 0x14001833e
xor r9d, r9d
mov qword [rsp + 0xc0], r14
xor r8d, r8d
mov qword [rbp - 0x30], rdi
xor ecx, ecx
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rdi
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp - 0x18], rax
movabs r15, 0x4d54ee85da812030
lea rsi, [0x140065d78]
test rax, rax
je 0x140018118
or rax, 1
mov qword [rbp - 0x18], rax
jmp 0x140018170
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [0x140065d80]
mov r14d, eax
add rdx, r15
mov dword [rbp - 0x4c], edi
cmp rdx, 1
jbe 0x140018146
mov r8, qword [0x140065d78]
mov edx, eax
mov rcx, rsi
call qword [r8 + 0x30]
jmp 0x14001814c
test r14d, r14d
setne al
movzx eax, al
mov dword [rbp - 0x50], r14d
add rax, 2
mov qword [rbp - 0x48], rsi
movups xmm0, xmmword [rbp - 0x50]
mov qword [rbp - 0x40], rax
movsd xmm1, qword [rbp - 0x40]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
mov rcx, qword [rbx + 0x10]
mov rax, rcx
and eax, 1
je 0x1400181af
cmp rcx, 1
jne 0x140018186
cmp dword [rbx], edi
je 0x1400181af
movsd xmm0, qword [rbx + 0x10]
movups xmm1, xmmword [rbx]
cmp rcx, 2
jb 0x1400181a7
lea rcx, str.C:cpp_projects_vcpkginstalledx64_windowsinclude_boost_asiodetailimplwin_iocp_handle_service.ipp
or rax, rcx
mov qword [rbp - 0x40], rax
movsd xmm0, qword [rbp - 0x40]
movups xmmword [rbx], xmm1
jmp 0x14001831f
mov r8d, dword [r12 + 8]
lea rax, [rbp - 0x30]
mov rdx, qword [r12]
xor r9d, r9d
mov rcx, qword [r13]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140018265
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
cmp eax, 0x3e5
je 0x140018265
mov rdx, qword [0x140065d80]
add rdx, r15
mov dword [rbp - 0x4c], edi
cmp rdx, 1
jbe 0x14001820b
mov r8, qword [0x140065d78]
mov edx, eax
mov rcx, rsi
call qword [r8 + 0x30]
jmp 0x140018211
test r14d, r14d
setne al
movzx eax, al
add rax, 2
mov dword [rbp - 0x50], r14d
mov qword [rbp - 0x40], rax
movsd xmm1, qword [rbp - 0x40]
mov qword [rbp - 0x48], rsi
movaps xmm2, xmm1
movups xmm3, xmmword [rbp - 0x50]
movups xmmword [rbx], xmm3
movsd qword [rbx + 0x10], xmm1
mov rax, qword [rbx + 0x10]
cmp rax, 2
jb 0x140018258
and eax, 1
lea rcx, str.C:cpp_projects_vcpkginstalledx64_windowsinclude_boost_asiodetailimplwin_iocp_handle_service.ipp
or rax, rcx
mov qword [rbp - 0x40], rax
movsd xmm2, qword [rbp - 0x40]
movups xmmword [rbx], xmm3
movsd qword [rbx + 0x10], xmm2
jmp 0x140018324
mov rcx, qword [r13]
lea r8, [rbp - 0x38]
mov r9d, 1
mov dword [rbp - 0x38], edi
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x14001830d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [0x140065d80]
mov r14d, eax
add rdx, r15
mov dword [rbp - 0x4c], edi
cmp rdx, 1
jbe 0x1400182b6
mov r8, qword [0x140065d78]
mov edx, eax
mov rcx, rsi
call qword [r8 + 0x30]
jmp 0x1400182bc
test r14d, r14d
setne al
movzx eax, al
add rax, 2
mov dword [rbp - 0x50], r14d
mov qword [rbp - 0x40], rax
movsd xmm1, qword [rbp - 0x40]
mov qword [rbp - 0x48], rsi
movaps xmm2, xmm1
movups xmm3, xmmword [rbp - 0x50]
movups xmmword [rbx], xmm3
movsd qword [rbx + 0x10], xmm1
mov rax, qword [rbx + 0x10]
cmp rax, 2
jb 0x140018303
and eax, 1
lea rcx, str.C:cpp_projects_vcpkginstalledx64_windowsinclude_boost_asiodetailimplwin_iocp_handle_service.ipp
or rax, rcx
mov qword [rbp - 0x40], rax
movsd xmm2, qword [rbp - 0x40]
movups xmmword [rbx], xmm3
movsd qword [rbx + 0x10], xmm2
jmp 0x140018324
xorps xmm0, xmm0
mov qword [rbp - 0x40], rdi
mov edi, dword [rbp - 0x38]
movups xmmword [rbx], xmm0
movsd xmm0, qword [rbp - 0x40]
movsd qword [rbx + 0x10], xmm0
mov rcx, qword [rbp - 0x18]
mov r14, qword [rsp + 0xc0]
test rcx, rcx
je 0x14001833b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14001ede0
add rsp, 0x80
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret