Function at 0x1800019d0
Capabilities:
Accept command line arguments

Disassembly:
test rcx, rcx
je 0x180001ddb
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1801165d8]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xor r12d, r12d
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r12
mov r13, 0xffffffffffffffff
mov rbx, r13
inc rbx
cmp word [rcx + rbx*2], r12w
jne 0x180001a25
movabs r15, 0x7ffffffffffffffe
cmp rbx, r15
ja 0x180001de8
movabs rsi, 0x7fffffffffffffff
mov qword [rbp - 0x10], 7
cmp rbx, 8
jae 0x180001a7b
mov qword [rbp - 0x18], rbx
add rbx, rbx
mov r8, rbx
mov rdx, r14
lea rcx, [rbp - 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov word [rbp + rbx - 0x28], r12w
jmp 0x180001b15
mov rax, rbx
or rax, 7
cmp rax, r15
jbe 0x180001a8d
lea rcx, [rsi + rsi]
jmp 0x180001ab5
mov r15, rax
mov ecx, 0xa
cmp rax, rcx
cmovb r15, rcx
lea rcx, [r15 + 1]
cmp rcx, rsi
ja 0x180001de2
add rcx, rcx
cmp rcx, 0x1000
jb 0x180001ae1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180001de2
mov rcx, rax
call fcn.1800ac1f0
test rax, rax
je 0x180001d95
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180001af3
test rcx, rcx
je 0x180001af0
call fcn.1800ac1f0
mov rdi, rax
jmp 0x180001af3
mov rdi, r12
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], r15
add rbx, rbx
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r12w
mov rcx, qword [rbp - 0x18]
inc rcx
mov eax, 2
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.1800ac23c
mov qword [0x1802db4b8], rax
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
lea rbx, [rdx + rax*2]
lea rdi, [rbp - 0x28]
cmovae rdi, qword [rbp - 0x28]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
cmp rdi, rbx
jne 0x180001b96
mov byte [rbp - 0x48], 0
jmp 0x180001c6e
mov rax, rbx
sub rax, rdi
sar rax, 1
cmp rax, rsi
ja 0x180001dee
cmp rax, 0x10
jb 0x180001c20
or rax, 0xf
cmp rax, rsi
ja 0x180001bc6
mov rsi, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rax, rcx
cmovb rsi, rcx
mov rcx, rsi
add rcx, 1
cmovb rcx, r13
cmp rcx, 0x1000
jb 0x180001c09
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180001ddc
mov rcx, rax
call fcn.1800ac1f0
mov rcx, rax
test rax, rax
je 0x180001d42
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180001c18
test rcx, rcx
je 0x180001c15
call fcn.1800ac1f0
jmp 0x180001c18
mov rax, r12
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x30], rsi
lea rax, [rbp - 0x48]
mov qword [rbp - 0x50], rax
mov rdx, qword [rbp - 0x38]
nop dword [rax]
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rcx, qword [rbp - 0x48]
movzx eax, byte [rdi]
mov byte [rdx + rcx], al
mov rdx, qword [rbp - 0x38]
inc rdx
mov qword [rbp - 0x38], rdx
add rdi, 2
cmp rdi, rbx
jne 0x180001c30
lea rax, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rax, qword [rbp - 0x48]
mov byte [rdx + rax], 0
mov qword [rbp - 0x50], r12
mov rcx, qword [rbp - 0x38]
inc rcx
call fcn.1800ac23c
mov qword [0x1802db4c0], rax
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rdx, qword [rbp - 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rdx, [0x1802db4c8]
mov rcx, r14
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
mov rdi, r12
movsxd rcx, dword [0x1802db4c8]
test rcx, rcx
je 0x180001d09
lea rsi, [0x1802db4d0]
sub rsi, rax
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
movsxd rcx, eax
mov eax, 2
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.1800ac23c
mov qword [rsi + rbx], rax
mov rdx, qword [rbx]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
inc rdi
lea rbx, [rbx + 8]
movsxd rax, dword [0x1802db4c8]
cmp rdi, rax
jb 0x180001cc4
mov byte [0x1802db4b0], 1
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x180001d4e
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001d49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001d49
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ac234
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x180001da1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001d9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001d9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ac234
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r12w
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800ac1d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180001890
nop
call fcn.180001890
int3
call fcn.180001950
nop
call fcn.180001950
int3