Function at 0x140001550
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor r8d, r8d
mov rsi, rdx
mov dword [rsp + 0x40], r8d
mov edi, ecx
cmp ecx, 1
jle 0x14000162a
mov rbx, qword [rdx + 8]
lea rcx, str.__help
movzx eax, byte [rbx + r8]
inc r8
cmp al, byte [rcx + r8 - 1]
jne 0x140001597
cmp r8, 7
jne 0x140001580
jmp 0x1400015ba
movzx eax, byte [rbx]
cmp al, byte [0x14000a594]
jne 0x1400015de
movzx eax, byte [rbx + 1]
cmp al, byte [0x14000a595]
jne 0x1400015de
movzx eax, byte [rbx + 2]
cmp al, byte [0x14000a596]
jne 0x1400015de
lea rcx, str.Usage:__s___f_FILENAME____s_SECS_PER_TEST__n
call sub.libintl_8.dll_libintl_gettext
mov rdx, qword [0x14000e0f0]
mov rcx, rax
call fcn.140005090
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.__version
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001614
movzx eax, byte [rbx]
cmp al, byte [0x14000a5d4]
jne 0x14000162a
movzx eax, byte [rbx + 1]
cmp al, byte [0x14000a5d5]
jne 0x14000162a
movzx eax, byte [rbx + 2]
cmp al, byte [0x14000a5d6]
jne 0x14000162a
lea rcx, str.pg_test_fsync__PostgreSQL__12.4
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_puts]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rax, [rsp + 0x40]
mov rdx, rsi
lea r9, str.filename
mov qword [rsp + 0x20], rax
lea r8, str.f:s:
mov ecx, edi
call fcn.1400070a0
cmp eax, 0xffffffff
je 0x1400016ae
cmp eax, 0x66
je 0x140001674
cmp eax, 0x73
jne 0x140001713
mov rcx, qword [0x14100e8c0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [section..data], eax
jmp 0x140001687
mov rcx, qword [0x14100e8c0]
call fcn.1400031f0
mov qword [str.._pg_test_fsync.out], rax
lea rax, [rsp + 0x40]
mov rdx, rsi
lea r9, str.filename
mov qword [rsp + 0x20], rax
lea r8, str.f:s:
mov ecx, edi
call fcn.1400070a0
cmp eax, 0xffffffff
jne 0x140001651
movsxd rax, dword [0x14000e080]
cmp edi, eax
jle 0x14000174b
cmp dword [0x14100e8b4], 4
jg 0x1400016db
mov r8, qword [rsi + rax*8]
lea rdx, str.too_many_command_line_arguments__first_is___s__
mov ecx, 4
call fcn.140003860
lea rcx, str.Try___s___help__for_more_information._n
call sub.libintl_8.dll_libintl_gettext
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x14000e0f0]
mov rdx, rbx
mov rcx, rax
call fcn.140005020
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.Try___s___help__for_more_information._n
call sub.libintl_8.dll_libintl_gettext
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x14000e0f0]
mov rdx, rbx
mov rcx, rax
call fcn.140005020
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8d, dword [section..data]
lea rdx, str._d_seconds_per_test_n
lea rcx, str._d_second_per_test_n
call sub.libintl_8.dll_libintl_ngettext
mov edx, dword [section..data]
mov rcx, rax
call fcn.140005090
lea rcx, str.O_DIRECT_supported_on_this_platform_for_open_datasync_and_open_sync._n
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
call fcn.140005090
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret