Function at 0x140001bd0
Capabilities:
Create thread
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov ebx, ecx
movaps xmmword [rsp + 0x40], xmm6
lea rax, str._nCompare_file_sync_methods_using_two__dkB_writes:_n
movaps xmmword [rsp + 0x30], xmm7
xor r14b, r14b
lea rcx, str._nCompare_file_sync_methods_using_one__dkB_write:_n
cmp ebx, 1
cmovne rcx, rax
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
mov edx, 8
call fcn.140005090
lea rcx, str._in_wal_sync_method_preference_order__except_fdatasync_is_Linuxs_default__n
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
call fcn.140005090
lea rdx, str.open_datasync
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]
mov rcx, qword [str.._pg_test_fsync.out]
xor r8d, r8d
mov edx, 0x80008082
call fcn.140006c70
xor r15d, r15d
mov esi, eax
cmp eax, 0xffffffff
jne 0x140001c9a
lea rcx, str.n_a
call sub.libintl_8.dll_libintl_gettext
mov rdx, rax
lea rcx, str._21s_n
call fcn.140005090
mov r14b, 1
jmp 0x140001df3
mov qword [rsp + 0x28], r15
lea r8, section..text
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor edx, edx
mov byte [0x14000e0fc], r15b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, 0xffffffffffffffff
jne 0x140001ce6
cmp dword [0x14100e8b4], 4
jg 0x14000228d
lea rdx, str.could_not_create_thread_for_alarm
lea ecx, [rax + 5]
call fcn.140003860
jmp 0x14000228d
xor edx, edx
lea rcx, [0x14100e108]
call fcn.140006fc0
mov ebp, r15d
cmp byte [0x14000e0fc], bpl
jne 0x140001d60
mov edi, r15d
test ebx, ebx
jle 0x140001d36
nop word [rax + rax]
mov rdx, qword [0x14100e100]
mov r8d, 0x2000
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__write]
cmp eax, 0x2000
jne 0x140001e90
inc edi
cmp edi, ebx
jl 0x140001d10
xor r8d, r8d
xor edx, edx
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseek]
cmp eax, 0xffffffff
je 0x140001ea9
inc ebp
cmp byte [0x14000e0fc], r15b
je 0x140001d00
nop word [rax + rax]
xor edx, edx
lea rcx, [0x14100e110]
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, ebp
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 ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
lea rdx, str.fdatasync
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 rdx, str.fsync
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]
mov rcx, qword [str.._pg_test_fsync.out]
xor r8d, r8d
mov edx, 0x8002
call fcn.140006c70
mov esi, eax
cmp eax, 0xffffffff
jne 0x140001ec2
cmp dword [0x14100e8b4], 4
jg 0x14000228d
lea rcx, str.could_not_open_output_file
jmp 0x140002274
cmp dword [0x14100e8b4], 4
jg 0x14000228d
lea rcx, str.write_failed
jmp 0x140002274
cmp dword [0x14100e8b4], 4
jg 0x14000228d
lea rcx, str.seek_failed
jmp 0x140002274
mov qword [rsp + 0x28], r15
lea r8, section..text
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor edx, edx
mov byte [0x14000e0fc], r15b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, 0xffffffffffffffff
jne 0x140001f0e
cmp dword [0x14100e8b4], 4
jg 0x14000228d
lea rdx, str.could_not_create_thread_for_alarm
lea ecx, [rax + 5]
call fcn.140003860
jmp 0x14000228d
xor edx, edx
lea rcx, [0x14100e108]
call fcn.140006fc0
mov ebp, r15d
cmp byte [0x14000e0fc], bpl
jne 0x140001f90
mov edi, r15d
test ebx, ebx
jle 0x140001f56
nop
mov rdx, qword [0x14100e100]
mov r8d, 0x2000
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__write]
cmp eax, 0x2000
jne 0x140001e90
inc edi
cmp edi, ebx
jl 0x140001f30
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__commit]
test eax, eax
jne 0x140002264
xor r8d, r8d
xor edx, edx
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseek]
cmp eax, 0xffffffff
je 0x140001ea9
inc ebp
cmp byte [0x14000e0fc], r15b
je 0x140001f28
nop word [rax + rax]
xor edx, edx
lea rcx, [0x14100e110]
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, ebp
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 ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
lea rdx, str.fsync_writethrough
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]
mov rcx, qword [str.._pg_test_fsync.out]
xor r8d, r8d
mov edx, 0x8002
call fcn.140006c70
mov esi, eax
cmp eax, 0xffffffff
jne 0x14000207e
cmp dword [0x14100e8b4], 4
jg 0x14000228d
lea rcx, str.could_not_open_output_file
jmp 0x140002274
mov qword [rsp + 0x28], r15
lea r8, section..text
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor edx, edx
mov byte [0x14000e0fc], r15b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, 0xffffffffffffffff
jne 0x1400020ca
cmp dword [0x14100e8b4], 4
jg 0x14000228d
lea rdx, str.could_not_create_thread_for_alarm
lea ecx, [rax + 5]
call fcn.140003860
jmp 0x14000228d
xor edx, edx
lea rcx, [0x14100e108]
call fcn.140006fc0
mov ebp, r15d
cmp byte [0x14000e0fc], bpl
jne 0x140002150
mov edi, r15d
test ebx, ebx
jle 0x140002116
nop dword [rax + rax]
mov rdx, qword [0x14100e100]
mov r8d, 0x2000
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__write]
cmp eax, 0x2000
jne 0x140001e90
inc edi
cmp edi, ebx
jl 0x1400020f0
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__commit]
test eax, eax
jne 0x140002264
xor r8d, r8d
xor edx, edx
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseek]
cmp eax, 0xffffffff
je 0x140001ea9
inc ebp
cmp byte [0x14000e0fc], r15b
je 0x1400020e4
nop word [rax + rax]
xor edx, edx
lea rcx, [0x14100e110]
call fcn.140006fc0
mov rdx, qword [0x14100e110]
mov rax, qword [0x14100e108]
mov r8, rdx
mov rcx, rax
shr r8, 0x20
shr rcx, 0x20
sub edx, eax
sub r8d, ecx
movd xmm7, ebp
cvtdq2pd xmm7, xmm7
lea rcx, str._13.3f_ops_sec___6.0f_usecs_op_n
movd xmm1, r8d
cvtdq2pd xmm1, xmm1
movd xmm0, edx
mulsd xmm1, qword [0x14000ab40]
cvtdq2pd xmm0, xmm0
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 ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
lea rdx, str.open_sync
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
test r14b, r14b
je 0x14000223e
lea rcx, str._This_file_system_and_its_mount_options_do_not_support_direct_n__I_O__e.g._ext4_in_journaled_mode._n
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
call fcn.140005090
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
cmp dword [0x14100e8b4], 4
jg 0x14000228d
lea rcx, str.fsync_failed
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