Function at 0x1400017f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov edi, ecx
mov rcx, qword [rdx]
mov rsi, rdx
call fcn.140002350
mov qword [0x140008e70], rax
cmp edi, 1
jle 0x1400018c4
mov rbx, qword [rsi + 8]
xor r8d, r8d
lea rcx, str.__help
nop word [rax + rax]
movzx eax, byte [rbx + r8]
inc r8
cmp al, byte [rcx + r8 - 1]
jne 0x140001847
cmp r8, 7
jne 0x140001830
jmp 0x14000186a
movzx eax, byte [rbx]
cmp al, byte [0x1400068a0]
jne 0x140001878
movzx eax, byte [rbx + 1]
cmp al, byte [0x1400068a1]
jne 0x140001878
movzx eax, byte [rbx + 2]
cmp al, byte [0x1400068a2]
jne 0x140001878
call fcn.140001740
xor ecx, ecx
call qword [sym.imp.MSVCR120.dll_exit]
int3
lea rdx, str.__version
mov rcx, rbx
call sub.MSVCR120.dll_strcmp
test eax, eax
je 0x1400018ae
movzx eax, byte [rbx]
cmp al, byte [0x1400068b4]
jne 0x1400018c4
movzx eax, byte [rbx + 1]
cmp al, byte [0x1400068b5]
jne 0x1400018c4
movzx eax, byte [rbx + 2]
cmp al, byte [0x1400068b6]
jne 0x1400018c4
lea rcx, str.pg_archivecleanup__PostgreSQL__9.6.23
call qword [sym.imp.MSVCR120.dll_puts]
xor ecx, ecx
call qword [sym.imp.MSVCR120.dll_exit]
int3
lea r8, str.x:dn
mov rdx, rsi
mov ecx, edi
call fcn.140004ca0
cmp eax, 0xffffffff
je 0x14000192f
nop word [rax + rax]
cmp eax, 0x64
je 0x140001912
cmp eax, 0x6e
je 0x140001909
cmp eax, 0x78
jne 0x1400019b9
mov rcx, qword [0x140008e80]
call qword [sym.imp.MSVCR120.dll__strdup]
mov qword [0x140008048], rax
jmp 0x140001919
mov byte [0x140008041], 1
jmp 0x140001919
mov byte [0x140008040], 1
lea r8, str.x:dn
mov rdx, rsi
mov ecx, edi
call fcn.140004ca0
cmp eax, 0xffffffff
jne 0x1400018e0
movsxd rdx, dword [section..data]
cmp edx, edi
jge 0x140001a98
mov rcx, qword [rsi + rdx*8]
inc edx
mov qword [0x140008e68], rcx
mov dword [section..data], edx
cmp edx, edi
jge 0x140001a52
movsxd rax, edx
inc edx
mov rcx, qword [rsi + rax*8]
mov dword [section..data], edx
mov qword [0x140008e60], rcx
cmp edx, edi
jge 0x1400019e2
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140008e70]
lea rdx, str._s:_too_many_parameters_n
lea rcx, [rax + 0x60]
call fcn.140002d10
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140008e70]
lea rcx, [rax + 0x60]
lea rdx, str.Try___s___help__for_more_information._n
call fcn.140002d10
mov ecx, 2
call qword [sym.imp.MSVCR120.dll_exit]
int3
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140008e70]
lea rdx, str.Try___s___help__for_more_information._n
lea rcx, [rax + 0x60]
call fcn.140002d10
mov ecx, 2
call qword [sym.imp.MSVCR120.dll_exit]
int3
call section..text
call fcn.140001490
cmp byte [0x140008040], 0
je 0x140001a44
mov r9, qword [0x140008e68]
lea rax, [0x140008620]
lea r8, str._s__s
lea rcx, [0x140008660]
mov edx, 0x400
mov qword [rsp + 0x20], rax
call fcn.140002af0
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140008e70]
lea rcx, [rax + 0x60]
lea r9, [0x140008660]
lea rdx, str._s:_keep_WAL_file___s__and_later_n
call fcn.140002d10
call fcn.140001100
xor ecx, ecx
call qword [sym.imp.MSVCR120.dll_exit]
int3
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140008e70]
lea rdx, str._s:_must_specify_restartfilename_n
lea rcx, [rax + 0x60]
call fcn.140002d10
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140008e70]
lea rcx, [rax + 0x60]
lea rdx, str.Try___s___help__for_more_information._n
call fcn.140002d10
mov ecx, 2
call qword [sym.imp.MSVCR120.dll_exit]
int3
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140008e70]
lea rdx, str._s:_must_specify_archive_location_n
lea rcx, [rax + 0x60]
call fcn.140002d10
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140008e70]
lea rcx, [rax + 0x60]
lea rdx, str.Try___s___help__for_more_information._n
call fcn.140002d10
mov ecx, 2
call qword [sym.imp.MSVCR120.dll_exit]
int3