Function at 0x1400011c0
Capabilities:
Convert ip address from string
Create udp socket
Initialize winsock library
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov r13, rdx
movsxd r8, ecx
lea rbx, str.127.0.0.1
mov qword [rsp + 0x38], rbx
mov r14d, 0x1936
mov dword [rsp + 0x40], r14d
mov edi, 1
mov qword [rsp + 0x30], rdi
xor eax, eax
movzx r15d, ax
xor r12b, r12b
lea rcx, [rbp + 0x1b0]
lea rax, str.Art_Net
mov edx, 4
nop dword [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, rdi
jne 0x140001240
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movzx eax, word [rax + 0x10]
mov word [rcx + 0x10], ax
cmp r8d, edi
jne 0x140001332
lea rdx, str._nSends_Art_Net_packets_filled_with_a_value_typically_0__to_all_DMX_channels_in_a_specified_number_of_universes._n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001c60
lea rdx, str.Usage_example:_ArtNetOff.exe__u_8__ip_192.168.0.2__port_6454__v_0_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001c60
lea rdx, str._u_:_Number_of_universes__default_1__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001c60
lea rdx, str._fu_:_First_universe__default_0__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001c60
lea rdx, str._ip_:_IP_address_to_send_to__default_127.0.0.1__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001c60
lea rdx, str._port_:_UDP_port_to_send_to__default_6454__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001c60
lea rdx, str._v_:_DMX_value_to_send__from_0_to_255__default_0__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001c60
jmp 0x140001945
jle 0x140001945
mov qword [rbp - 0x50], r8
mov rsi, rdi
mov qword [rsp + 0x48], rdi
movabs rdi, 0x7fffffffffffffff
lea rdx, [0x140003614]
mov rcx, qword [r13 + rsi*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140001378
mov rbx, qword [r13 + rsi*8 + 8]
mov qword [rsp + 0x38], rbx
mov rdi, qword [rsp + 0x30]
jmp 0x14000192e
lea rdx, [0x140003618]
mov rcx, qword [r13 + rsi*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140001431
mov rdx, qword [r13 + rsi*8 + 8]
lea rcx, [rbp - 0x48]
call fcn.140001b40
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rbx, qword [rbp - 0x48]
mov dword [rax], 0
mov r8d, 0xa
lea rdx, [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp - 0x28]
je 0x140001a50
cmp dword [rdi], 0x22
je 0x140001a42
movzx edi, ax
mov qword [rsp + 0x30], rdi
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140001929
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000191f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000191f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [0x14000361c]
mov rcx, qword [r13 + rsi*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x1400015e4
mov r14, qword [r13 + rsi*8 + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor r15d, r15d
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [r14 + rbx], r15b
jne 0x140001470
cmp rbx, rdi
ja 0x140001acb
cmp rbx, 0xf
ja 0x1400014b0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], sendto
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x50], r15b
jmp 0x140001557
mov rdi, rbx
or rdi, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rdi, rcx
jbe 0x1400014d9
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x14000150a
cmp rdi, 0x16
mov eax, socket
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x1400014f4
mov rsi, r15
jmp 0x140001531
cmp rcx, 0x1000
jb 0x140001529
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001ac5
mov rcx, rax
call fcn.140001ee0
test rax, rax
je 0x1400015dd
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140001531
call fcn.140001ee0
mov rsi, rax
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], r15b
mov rsi, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rbx, qword [rsp + 0x50]
mov dword [rax], r15d
mov r8d, 0xa
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov r15d, eax
cmp rbx, qword [rbp - 0x20]
je 0x140001a6c
cmp dword [rdi], 0x22
je 0x140001a5e
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140001924
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000191f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000191f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str._port
mov rcx, qword [r13 + rsi*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14000178d
mov r14, qword [r13 + rsi*8 + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [r14 + rbx], al
jne 0x140001620
cmp rbx, rdi
ja 0x140001ad7
cmp rbx, 0xf
ja 0x14000165e
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], sendto
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x70], 0
jmp 0x1400016fe
mov rdi, rbx
or rdi, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rdi, rcx
jbe 0x140001687
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1400016b3
cmp rdi, 0x16
mov ecx, socket
cmovb rdi, rcx
lea rcx, [rdi + 1]
test rcx, rcx
je 0x1400016d7
cmp rcx, 0x1000
jb 0x1400016d2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001ad1
mov rcx, rax
call fcn.140001ee0
test rax, rax
je 0x140001786
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400016da
call fcn.140001ee0
mov rsi, rax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rdi
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov rsi, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rbx, qword [rsp + 0x70]
mov dword [rax], 0
mov r8d, 0xa
lea rdx, [rbp - 0x18]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov dword [rsp + 0x40], eax
cmp rbx, qword [rbp - 0x18]
je 0x140001a88
cmp dword [rdi], 0x22
je 0x140001a7a
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140001924
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000191f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000191f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [0x140003628]
mov rcx, qword [r13 + rsi*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140001924
mov r14, qword [r13 + rsi*8 + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xor r12d, r12d
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r14 + rbx], r12b
jne 0x1400017c5
cmp rbx, rdi
ja 0x140001abf
cmp rbx, 0xf
ja 0x140001802
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], sendto
mov r8, rbx
mov rdx, r14
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x70], r12b
jmp 0x1400018a6
mov rdi, rbx
or rdi, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rdi, rcx
jbe 0x14000182b
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x14000185c
cmp rdi, 0x16
mov eax, socket
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140001846
mov rsi, r12
jmp 0x140001883
cmp rcx, 0x1000
jb 0x14000187b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001ab9
mov rcx, rax
call fcn.140001ee0
test rax, rax
je 0x140001a96
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140001883
call fcn.140001ee0
mov rsi, rax
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rdi
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], r12b
mov rsi, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rbx, qword [rbp - 0x70]
mov dword [rax], r12d
mov r8d, 0xa
lea rdx, [rbp - 0x10]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov r12d, eax
cmp rbx, qword [rbp - 0x10]
je 0x140001aab
cmp dword [rdi], 0x22
je 0x140001a9d
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140001924
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000191f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001a96
call fcn.140001f1c
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
inc rsi
mov qword [rsp + 0x48], rsi
cmp rsi, qword [rbp - 0x50]
jl 0x140001344
mov r14d, dword [rsp + 0x40]
mov ecx, 0x202
lea rdx, [rbp + 0x10]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov esi, 2
mov word [rbp - 8], si
lea r8, [rbp - 4]
mov rdx, rbx
mov ecx, esi
call qword [sym.imp.WS2_32.dll_inet_pton]
movzx ecx, r14w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 6], ax
mov r8d, sendto
mov edx, esi
mov ecx, esi
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
movzx edx, r15w
movzx edi, di
add edi, edx
cmp edx, edi
jae 0x140001a01
nop word [rax + rax]
mov byte [rbp + 0x1be], r15b
movzx eax, r15w
shr ax, 8
mov byte [rbp + 0x1bf], al
mov r8d, 0x200
movzx edx, r12b
lea rcx, [rbp + 0x1c2]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x28], sendto
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x212
lea rdx, [rbp + 0x1b0]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_sendto]
inc r15w
movzx eax, r15w
cmp eax, edi
jb 0x1400019a0
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140001ec0
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
call fcn.140001100
int3
call fcn.1400011a0
int3
call fcn.140001100
int3
call fcn.1400011a0
int3
call fcn.140001100
int3
call fcn.1400011a0
int3