Function at 0x140001590
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
lea r9, [0x14000a0b0]
mov ebx, ecx
xor ebp, ebp
xor r8d, r8d
mov qword [rsp + 0x20], rbp
xor edx, edx
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__splitpath]
mov rax, qword [0x14000a0a0]
lea rsi, [0x140000000]
mov r8d, dword [section..data]
nop word [rax + rax]
cmp r8d, ebx
jge 0x140001726
test rax, rax
je 0x1400015f7
cmp dword [0x14000a0ac], 0x3a
jne 0x140001616
movsxd rax, r8d
mov rax, qword [rdi + rax*8]
mov qword [0x14000a0a0], rax
movzx ecx, byte [rax]
cmp cl, 0x2d
je 0x140001621
cmp cl, 0x2f
jne 0x140001726
movzx ecx, byte [rax]
sub cl, 0x2d
test cl, 0xfd
jne 0x14000162b
inc rax
mov qword [0x14000a0a0], rax
movsx edx, byte [rax]
lea rcx, str.hdn:
call sub.VCRUNTIME140.dll_strchr
mov rdx, rax
mov rax, qword [0x14000a0a0]
cmp byte [rax], bpl
je 0x140001664
inc rax
mov qword [0x14000a0a0], rax
mov rcx, rax
cmp byte [rax], bpl
je 0x140001664
mov r8d, dword [section..data]
jmp 0x140001682
mov r8d, dword [section..data]
mov rax, rbp
inc r8d
mov qword [0x14000a0a0], rax
mov dword [section..data], r8d
mov rcx, rbp
test rdx, rdx
je case.0x1400016e1.0
cmp byte [rdx + 1], 0x3a
jne 0x1400016b3
test rcx, rcx
jne 0x1400016a9
cmp r8d, ebx
jge 0x140001726
movsxd rax, r8d
mov rax, qword [rdi + rax*8]
mov qword [0x14000a0a0], rax
inc r8d
mov dword [section..data], r8d
movsx ecx, byte [rdx + 1]
mov dword [0x14000a0ac], ecx
movsx rcx, byte [rdx]
cmp ecx, 0xffffffff
je 0x140001726
cmp ecx, 0x76
ja case.0x1400016e1.6
movzx ecx, byte [rsi + rcx + 0x193c]
mov edx, dword [rsi + rcx*4 + 0x1920]
add rdx, rsi
jmp rdx
inc dword [0x14000a108]
jmp case.0x1400016e1.6
inc dword [0x14000a100]
jmp case.0x1400016e1.6
inc dword [0x14000a110]
jmp case.0x1400016e1.6
inc dword [0x14000a104]
jmp case.0x1400016e1.6
mov qword [0x14000a008], rax
jmp case.0x1400016e1.6
inc dword [0x14000a10c]
jmp case.0x1400016e1.6
cmp dword [0x14000a100], ebp
je 0x14000173c
cmp dword [0x14000a104], ebp
je 0x14000173c
inc dword [0x14000a108]
cmp r8d, ebx
jge 0x140001747
inc dword [0x14000a108]
cmp dword [0x14000a108], ebp
je 0x140001878
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Usage:_n
call fcn.140001070
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, [0x14000a0b0]
lea rdx, str._____s___hd____n_name__n
call fcn.140001070
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [0x1400074d8]
call fcn.140001070
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str._________h________Print_this_help_message_n
call fcn.140001070
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str._________d________Run_as_a_daemon_in_the_background_n
call fcn.140001070
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str._________n_name___Set_the_UNIX_socket_name_to_name_n
call fcn.140001070
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [0x1400074d8]
call fcn.140001070
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Defaults:_n
call fcn.140001070
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r9, [0x14000a0b0]
lea r8, [0x14000a0b0]
lea rdx, str._____s__n__s_n
call fcn.140001070
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [0x1400074d8]
call fcn.140001070
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp dword [0x14000a104], ebp
mov ebx, 0xffffffff
cmovne ebx, ebp
cmp dword [0x14000a100], ebp
je 0x140001897
call fcn.140002200
test eax, eax
js 0x1400018fc
cmp dword [0x14000a104], ebp
je 0x1400018af
mov ecx, ebx
call fcn.140001330
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [0x14000a008]
call fcn.140002be0
mov ebx, eax
test eax, eax
js 0x1400018fc
mov ecx, ebx
call fcn.140001330
test eax, eax
jns 0x1400018e2
xor r9d, r9d
lea r8, [0x14000a0b0]
lea edx, [r9 + 4]
lea ecx, [rdx - 5]
call fcn.1400022f0
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [0x14000a008]
call fcn.140002be0
mov ebx, eax
test eax, eax
jns 0x1400018c1
xor r9d, r9d
lea r8, [0x14000a0b0]
lea edx, [r9 + 4]
lea ecx, [rdx - 5]
call fcn.1400022f0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3