Function at 0x140001070
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov edi, ecx
mov rbx, rdx
mov rcx, qword [rdx]
call fcn.140003560
mov rcx, qword [rbx]
lea rdx, str.pg_test_fsync_12
call fcn.140002780
mov rcx, qword [rbx]
call fcn.140004610
mov rdx, rbx
mov qword [0x14000e0f0], rax
mov ecx, edi
call fcn.140001550
lea rdx, [0x140001030]
mov ecx, 2
call sub.api_ms_win_crt_runtime_l1_1_0.dll_signal
lea rdx, [0x140001030]
mov ecx, 0xf
call sub.api_ms_win_crt_runtime_l1_1_0.dll_signal
lea rdx, [0x140001030]
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_signal
xor edi, edi
lea rsi, [0x14000e100]
mov ebx, edi
call fcn.140007080
mov byte [rbx + rsi], al
inc rbx
cmp rbx, 0x1000000
jl 0x1400010f2
mov rcx, qword [str.._pg_test_fsync.out]
lea rax, [0x1400100ff]
and rax, 0xffffffffffffe000
mov edx, 0x8102
mov r8d, 0x180
mov qword [0x14100e100], rax
call fcn.140006c70
mov ebx, eax
cmp eax, 0xffffffff
je 0x14000150f
mov r8d, 0x1000000
mov dword [0x14000e0f8], 1
mov rdx, rsi
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__write]
cmp eax, 0x1000000
je 0x140001177
cmp dword [0x14100e8b4], 4
jg 0x140001538
lea rcx, str.write_failed
jmp 0x14000151f
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__commit]
test eax, eax
je 0x14000119c
cmp dword [0x14100e8b4], 4
jg 0x140001538
lea rcx, str.fsync_failed
jmp 0x14000151f
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov ecx, 1
call fcn.140001bd0
mov ecx, 2
call fcn.140001bd0
lea rcx, str._nCompare_open_sync_with_different_write_sizes:_n
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
call fcn.140005090
lea rcx, str._This_is_designed_to_compare_the_cost_of_writing_16kB_in_different_write_nopen_sync_sizes.__n
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
call fcn.140005090
lea rcx, str._1__16kB_open_sync_write
call sub.libintl_8.dll_libintl_gettext
mov rdx, rax
lea rcx, str.__________30s
call fcn.140005090
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
lea rcx, [0x14000a854]
call sub.libintl_8.dll_libintl_gettext
mov rdx, rax
lea rcx, str._21s_n
call fcn.140005090
lea rcx, str._2___8kB_open_sync_writes
call sub.libintl_8.dll_libintl_gettext
mov rdx, rax
lea rcx, str.__________30s
call fcn.140005090
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
lea rcx, [0x14000a854]
call sub.libintl_8.dll_libintl_gettext
mov rdx, rax
lea rcx, str._21s_n
call fcn.140005090
lea rcx, str._4___4kB_open_sync_writes
call sub.libintl_8.dll_libintl_gettext
mov rdx, rax
lea rcx, str.__________30s
call fcn.140005090
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
lea rcx, [0x14000a854]
call sub.libintl_8.dll_libintl_gettext
mov rdx, rax
lea rcx, str._21s_n
call fcn.140005090
lea rcx, str._8___2kB_open_sync_writes
call sub.libintl_8.dll_libintl_gettext
mov rdx, rax
lea rcx, str.__________30s
call fcn.140005090
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
lea rcx, [0x14000a854]
call sub.libintl_8.dll_libintl_gettext
mov rdx, rax
lea rcx, str._21s_n
call fcn.140005090
lea rcx, str.16___1kB_open_sync_writes
call sub.libintl_8.dll_libintl_gettext
mov rdx, rax
lea rcx, str.__________30s
call fcn.140005090
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
lea rcx, [0x14000a854]
call sub.libintl_8.dll_libintl_gettext
mov rdx, rax
lea rcx, str._21s_n
call fcn.140005090
call fcn.1400017a0
lea rcx, str._nNon_synced__dkB_writes:_n
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
mov edx, 8
call fcn.140005090
lea rdx, str.write
lea rcx, str.__________30s
call fcn.140005090
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
xor r9d, r9d
mov qword [rsp + 0x28], rdi
lea r8, section..text
mov byte [0x14000e0fc], dil
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, 0xffffffffffffffff
jne 0x1400013e2
cmp dword [0x14100e8b4], 4
jg 0x140001538
lea rdx, str.could_not_create_thread_for_alarm
lea ecx, [rax + 5]
call fcn.140003860
jmp 0x140001538
xor edx, edx
lea rcx, [0x14100e108]
call fcn.140006fc0
cmp byte [0x14000e0fc], dil
jne 0x140001452
nop dword [rax]
mov rcx, qword [str.._pg_test_fsync.out]
xor r8d, r8d
mov edx, 0x8002
call fcn.140006c70
mov ebx, eax
cmp eax, 0xffffffff
je 0x14000150f
mov rdx, qword [0x14100e100]
mov r8d, 0x2000
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__write]
cmp eax, 0x2000
jne 0x14000115e
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
inc edi
cmp byte [0x14000e0fc], 0
je 0x140001400
movaps xmmword [rsp + 0x40], xmm6
lea rcx, [0x14100e110]
xor edx, edx
movaps xmmword [rsp + 0x30], xmm7
call fcn.140006fc0
mov rcx, qword [0x14100e110]
mov rax, qword [0x14100e108]
mov r8, rcx
sub ecx, eax
shr r8, 0x20
mov rdx, rax
movd xmm7, edi
shr rdx, 0x20
sub r8d, edx
movd xmm0, ecx
lea rcx, str._13.3f_ops_sec___6.0f_usecs_op_n
cvtdq2pd xmm0, xmm0
movd xmm1, r8d
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm7, xmm7
mulsd xmm1, qword [0x14000ab40]
addsd xmm1, xmm0
movaps xmm6, xmm1
divsd xmm6, xmm7
divsd xmm7, xmm1
mulsd xmm6, qword [0x14000ab48]
call sub.libintl_8.dll_libintl_gettext
movaps xmm2, xmm6
movaps xmm1, xmm7
movq r8, xmm2
movq rdx, xmm1
mov rcx, rax
call fcn.140005090
mov rcx, qword [str.._pg_test_fsync.out]
call fcn.140006bf0
movaps xmm7, xmmword [rsp + 0x30]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
cmp dword [0x14100e8b4], 4
jg 0x140001538
lea rcx, str.could_not_open_output_file
call sub.libintl_8.dll_libintl_gettext
mov r8, rax
lea rdx, str._s:__m
mov ecx, 4
call fcn.140003860
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3