Function at 0x1800016e0
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rcx, rdx
mov rdi, qword [0x1800864c8]
mov qword [rsp + 0xa8], rdi
xor r15d, r15d
mov dword [rax + 0x18], r15d
lea rdx, [rax + 0x18]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x28], rax
lea r14d, [r15 + 1]
or r13, 0xffffffffffffffff
test rax, rax
je 0x180001915
mov r12d, r15d
cmp dword [rsp + 0xa0], r15d
jle 0x18000190c
mov esi, r14d
mov r14, rax
lea rbp, [rax + 8]
nop word [rax + rax]
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov rdx, qword [r14]
test rdx, rdx
jne 0x180001787
mov ecx, r15d
jmp 0x1800017a0
xor eax, eax
mov rcx, r13
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, qword [rsp + 0xa8]
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.180002290
lea rdx, [0x1800682fc]
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.180034498
test eax, eax
jne 0x18000180d
cmp esi, dword [rsp + 0xa0]
jge 0x18000180d
mov rdx, qword [rbp]
test rdx, rdx
jne 0x1800017dc
mov ecx, r15d
jmp 0x1800017f5
xor eax, eax
mov rcx, r13
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, qword [rsp + 0xa8]
mov r8d, ecx
mov rcx, rdi
call fcn.180002290
inc r12d
inc esi
add r14, 8
add rbp, 8
lea rdx, [0x180068304]
mov rcx, rbx
call fcn.180034498
test eax, eax
jne 0x18000186c
cmp esi, dword [rsp + 0xa0]
jge 0x18000186c
mov rdx, qword [rbp]
lea r9, [rdi + 8]
test rdx, rdx
jne 0x18000183b
mov ecx, r15d
jmp 0x180001854
xor eax, eax
mov rcx, r13
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, qword [rsp + 0xa8]
mov r8d, ecx
mov rcx, r9
call fcn.180002290
inc r12d
inc esi
add r14, 8
add rbp, 8
lea rdx, [0x18006830c]
mov rcx, rbx
call fcn.180034498
test eax, eax
jne 0x1800018cb
cmp esi, dword [rsp + 0xa0]
jge 0x1800018cb
mov rdx, qword [rbp]
lea r9, [rdi + 0x10]
test rdx, rdx
jne 0x18000189a
mov ecx, r15d
jmp 0x1800018b3
xor eax, eax
mov rcx, r13
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, qword [rsp + 0xa8]
mov r8d, ecx
mov rcx, r9
call fcn.180002290
inc r12d
inc esi
add r14, 8
add rbp, 8
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1800018e6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
inc r12d
inc esi
add r14, 8
add rbp, 8
cmp r12d, dword [rsp + 0xa0]
jl 0x180001760
mov rax, qword [rsp + 0x28]
mov r14d, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor r8d, r8d
mov rdx, qword [rdi]
lea rcx, [rsp + 0x30]
call fcn.18002d310
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rdi]
sub rdi, 0x18
cmp rcx, rdi
je 0x180001991
cmp dword [rdi + 0x10], 0
jl 0x18000197b
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x18000197b
call fcn.1800023a0
mov rbx, rax
mov ecx, r13d
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x180001969
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
lea rax, [rbx + 0x18]
mov rbp, qword [rsp + 0xa8]
mov qword [rbp], rax
jmp 0x180001999
mov r8d, dword [rdx - 0x10]
mov rbp, qword [rsp + 0xa8]
mov rcx, rbp
call fcn.180002290
jmp 0x180001999
mov rbp, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1800019b9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xor r8d, r8d
mov rdx, qword [rbp + 8]
lea rcx, [rsp + 0x38]
call fcn.18002d310
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbp + 8]
sub rdi, 0x18
cmp rcx, rdi
je 0x180001a27
cmp dword [rdi + 0x10], 0
jl 0x180001a19
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x180001a19
call fcn.1800023a0
mov rsi, rax
mov ecx, r13d
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x180001a0f
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
lea rax, [rsi + 0x18]
mov qword [rbp + 8], rax
jmp 0x180001a27
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 8]
call fcn.180002290
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180001a47
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xor r8d, r8d
mov rdx, qword [rbp + 0x10]
lea rcx, [rsp + 0x40]
call fcn.18002d310
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbp + 0x10]
sub rdi, 0x18
cmp rcx, rdi
je 0x180001ab5
cmp dword [rdi + 0x10], 0
jl 0x180001aa7
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x180001aa7
call fcn.1800023a0
mov rsi, rax
mov ecx, r13d
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x180001a9d
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
lea rax, [rsi + 0x18]
mov qword [rbp + 0x10], rax
jmp 0x180001ab5
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x10]
call fcn.180002290
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r13d
dec r13d
test r13d, r13d
jg 0x180001ad5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp]
cmp dword [rcx - 0x10], 0
cmovne r15d, r14d
mov eax, r15d
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret