Function at 0x140001f10
Capabilities:
Terminate process

Disassembly:
push rbp
push rsi
sub rsp, 0x48
mov ebp, ecx
mov rcx, qword [rdx]
mov rsi, rdx
call fcn.1400074c0
lea rdx, str.pg_basebackup_9.6
mov qword [0x1400123d8], rax
mov rcx, qword [rsi]
call fcn.140005880
cmp ebp, 1
jle 0x140001fe2
mov rcx, qword [rsi + 8]
xor r8d, r8d
lea rdx, str.__help
movzx eax, byte [rcx + r8]
inc r8
cmp al, byte [rdx + r8 - 1]
jne 0x140001f68
cmp r8, 7
jne 0x140001f51
jmp 0x140001f8b
movzx eax, byte [rcx]
cmp al, byte [reloc.LIBPQ.dll_Ordinal_45]
jne 0x140001f99
movzx eax, byte [rcx + 1]
cmp al, byte [0x14000d185]
jne 0x140001f99
movzx eax, byte [rcx + 2]
cmp al, byte [0x14000d186]
jne 0x140001f99
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.MSVCR120.dll_exit]
int3
movzx eax, byte [rcx]
cmp al, byte [reloc.LIBPQ.dll_Ordinal_45]
jne 0x140001fbc
movzx eax, byte [rcx + 1]
cmp al, byte [0x14000d189]
jne 0x140001fbc
movzx eax, byte [rcx + 2]
cmp al, byte [0x14000d18a]
je 0x140001fcc
lea rdx, str.__version
call sub.MSVCR120.dll_strcmp
test eax, eax
jne 0x140001fe2
lea rcx, str.pg_recvlogical__PostgreSQL__9.6.23
call qword [sym.imp.MSVCR120.dll_puts]
xor ecx, ecx
call qword [sym.imp.MSVCR120.dll_exit]
int3
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rbx
lea r9, section..data
lea r8, str.f:F:nvd:h:p:U:wWI:o:P:s:S:
mov rdx, rsi
mov ecx, ebp
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], r14
call fcn.1400094f0
cmp eax, 0xffffffff
je 0x1400022e9
lea r14, [0x140000000]
dec eax
cmp eax, 0x76
ja case.0x140002044.20
cdqe
movzx eax, byte [r14 + rax + 0x2984]
mov ecx, dword [r14 + rax*4 + 0x2934]
add rcx, r14
jmp rcx
mov rcx, qword [0x1400123e8]
call fcn.1400068a0
mov qword [0x140011500], rax
jmp 0x1400022be
mov rcx, qword [0x1400123e8]
call qword [sym.imp.MSVCR120.dll_atoi]
imul ecx, eax, 0x3e8
mov dword [0x1400112c4], ecx
test ecx, ecx
jns 0x1400022be
lea rcx, str._s:_invalid_fsync_interval___s__n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r9, qword [0x1400123e8]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
mov dword [0x14001150c], 1
jmp 0x1400022be
inc dword [0x140011508]
jmp 0x1400022be
mov rcx, qword [0x1400123e8]
call fcn.1400068a0
mov qword [0x140011d90], rax
jmp 0x1400022be
mov rcx, qword [0x1400123e8]
call fcn.1400068a0
mov qword [0x140011d78], rax
jmp 0x1400022be
mov rcx, qword [0x1400123e8]
call qword [sym.imp.MSVCR120.dll_atoi]
test eax, eax
jle 0x14000235d
mov rcx, qword [0x1400123e8]
call fcn.1400068a0
mov qword [0x140011d88], rax
jmp 0x1400022be
mov rcx, qword [0x1400123e8]
call fcn.1400068a0
mov qword [0x140011d80], rax
jmp 0x1400022be
mov dword [0x140011d98], 0xffffffff
jmp 0x1400022be
mov dword [0x140011d98], 1
jmp 0x1400022be
mov rcx, qword [0x1400123e8]
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x60]
lea rdx, str._X__X
call qword [sym.imp.MSVCR120.dll_sscanf]
cmp eax, 2
jne 0x140002399
mov ecx, dword [rsp + 0x60]
mov eax, dword [rsp + 0x68]
shl rcx, 0x20
or rcx, rax
mov qword [0x140011510], rcx
jmp 0x1400022be
mov rcx, qword [0x1400123e8]
call fcn.1400068a0
mov edx, Ordinal_65
mov rcx, rax
mov rdi, rax
call qword [sym.imp.MSVCR120.dll_strchr]
mov rbx, rax
test rax, rax
je 0x1400021d5
mov byte [rax], 0
inc rbx
mov rdx, qword [0x140011520]
mov rcx, qword [0x140011550]
inc rdx
mov qword [0x140011520], rdx
shl rdx, 4
call fcn.140006950
mov rcx, qword [0x140011520]
add rcx, rcx
mov qword [0x140011550], rax
mov qword [rax + rcx*8 - 0x10], rdi
mov qword [rax + rcx*8 - 8], rbx
jmp 0x1400022be
mov rcx, qword [0x1400123e8]
call fcn.1400068a0
mov qword [str.test_decoding], rax
jmp 0x1400022be
mov rcx, qword [0x1400123e8]
call qword [sym.imp.MSVCR120.dll_atoi]
imul ecx, eax, 0x3e8
mov dword [0x1400112c0], ecx
test ecx, ecx
jns 0x1400022be
lea rcx, str._s:_invalid_status_interval___s__n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r9, qword [0x1400123e8]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
mov rcx, qword [0x1400123e8]
call fcn.1400068a0
mov qword [0x140011da0], rax
jmp 0x1400022be
mov byte [0x140011518], 1
jmp 0x1400022be
mov byte [0x14001151a], 1
jmp 0x1400022be
mov byte [0x14001151b], 1
jmp 0x1400022be
mov byte [0x140011519], 1
lea rax, [rsp + 0x70]
lea r9, section..data
lea r8, str.f:F:nvd:h:p:U:wWI:o:P:s:S:
mov rdx, rsi
mov ecx, ebp
mov qword [rsp + 0x20], rax
call fcn.1400094f0
cmp eax, 0xffffffff
jne 0x140002023
movsxd rax, dword [0x1400112f0]
cmp eax, ebp
jge 0x14000240a
lea rcx, str._s:_too_many_command_line_arguments__first_is___s___n
mov rdi, rax
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r9, qword [rsi + rdi*8]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
lea rcx, str.Try___s___help__for_more_information._n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
lea rcx, str._s:_invalid_port_number___s__n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r9, qword [0x1400123e8]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
lea rcx, str._s:_could_not_parse_start_position___s__n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r9, qword [0x1400123e8]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
lea rcx, str.Try___s___help__for_more_information._n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
cmp qword [0x140011da0], 0
jne 0x140002472
lea rcx, str._s:_no_slot_specified_n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
lea rcx, str.Try___s___help__for_more_information._n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
movzx ecx, byte [0x14001151a]
test cl, cl
je 0x1400024e5
cmp qword [0x140011500], 0
jne 0x1400024e5
lea rcx, str._s:_no_target_file_specified_n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
lea rcx, str.Try___s___help__for_more_information._n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
movzx edx, byte [0x14001151b]
test dl, dl
jne 0x1400025c9
cmp qword [0x140011d90], 0
jne 0x14000255c
lea rcx, str._s:_no_database_specified_n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
lea rcx, str.Try___s___help__for_more_information._n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
movzx eax, byte [0x140011518]
test al, al
jne 0x1400025e0
test cl, cl
jne 0x1400025e0
lea rcx, str._s:_at_least_one_action_needs_to_be_specified_n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
lea rcx, str.Try___s___help__for_more_information._n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
movzx eax, byte [0x140011518]
test al, al
jne 0x1400028d6
test cl, cl
jne 0x1400028d6
cmp qword [0x140011510], 0
je 0x140002650
test al, al
jne 0x1400025f2
test dl, dl
je 0x140002650
lea rcx, str._s:_cannot_use___create_slot_or___drop_slot_together_with___startpos_n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
lea rcx, str.Try___s___help__for_more_information._n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
call fcn.140004c40
mov qword [0x140011da8], rax
test rax, rax
jne 0x14000266b
lea ecx, [rax + 1]
call qword [sym.imp.MSVCR120.dll_exit]
int3
lea rcx, [rsp + 0x78]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, rax
xor edx, edx
call fcn.1400054c0
test al, al
jne 0x1400026a6
mov rcx, qword [0x140011da8]
test rcx, rcx
je 0x14000269a
call sub.LIBPQ.dll_Ordinal_4
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
cmp qword [rsp + 0x78], 0
jne 0x1400026f4
lea rcx, str._s:_could_not_establish_database_specific_replication_connection_n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
mov rcx, qword [0x140011da8]
test rcx, rcx
je 0x1400026e8
call sub.LIBPQ.dll_Ordinal_4
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
cmp byte [0x14001151b], 0
je 0x14000276a
cmp dword [0x140011508], 0
je 0x140002736
lea rcx, str._s:_dropping_replication_slot___s__n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r9, qword [0x140011da0]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
mov rdx, qword [0x140011da0]
mov rcx, qword [0x140011da8]
call fcn.140005360
test al, al
jne 0x14000276a
mov rcx, qword [0x140011da8]
test rcx, rcx
je 0x14000275e
call sub.LIBPQ.dll_Ordinal_4
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
cmp byte [0x140011518], 0
je 0x140002804
cmp dword [0x140011508], 0
je 0x1400027b0
lea rcx, str._s:_creating_replication_slot___s__n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r9, qword [0x140011da0]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
movzx eax, byte [0x140011519]
mov r8, qword [str.test_decoding]
mov rdx, qword [0x140011da0]
mov rcx, qword [0x140011da8]
xor r9d, r9d
mov byte [rsp + 0x20], al
call fcn.1400051b0
test al, al
jne 0x1400027f9
mov rcx, qword [0x140011da8]
test rcx, rcx
je 0x1400027ed
call sub.LIBPQ.dll_Ordinal_4
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
mov qword [0x140011510], 0
cmp byte [0x14001151a], 0
jne 0x140002827
mov rcx, qword [0x140011da8]
test rcx, rcx
je 0x14000281e
call sub.LIBPQ.dll_Ordinal_4
xor ecx, ecx
call qword [sym.imp.MSVCR120.dll_exit]
int3
call fcn.1400012c0
mov eax, dword [0x14001151c]
test eax, eax
jne 0x140002887
cmp dword [0x14001150c], 0
jne 0x1400028a1
lea rcx, str._s:_disconnected__waiting__d_seconds_to_try_again_n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov r9d, 5
mov rdx, rbx
call fcn.140007ec0
mov ecx, 0x4c4b40
call fcn.140007be0
call fcn.1400012c0
mov eax, dword [0x14001151c]
test eax, eax
je 0x140002836
mov rcx, qword [0x140011da8]
test rcx, rcx
je 0x140002898
call sub.LIBPQ.dll_Ordinal_4
xor ecx, ecx
call qword [sym.imp.MSVCR120.dll_exit]
int3
lea rcx, str._s:_disconnected_n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
lea rcx, str._s:_cannot_use___create_slot_or___start_together_with___drop_slot_n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
lea rcx, str.Try___s___help__for_more_information._n
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x1400123d8]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140007ec0
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3