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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x530]
sub rsp, 0x630
mov rax, qword [0x14003c040]
xor rax, rsp
mov qword [rbp + 0x520], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
lea r8d, [rbx + 0xe]
lea rdx, str.192.168.40.166
lea rcx, [rsp + 0x30]
call fcn.140004570
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
lea r8d, [rbx + 0xd]
lea rdx, str.Hello__World_
lea rcx, [rsp + 0x60]
call fcn.140004570
nop
lea ecx, [rbx + 1]
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x120], eax
lea rdx, [rsp + 0x60]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x78]
cmp r14, 0xf
cmova rdx, rdi
mov rbx, qword [rsp + 0x70]
mov r8, rbx
lea rcx, [rbp + 0x124]
call fcn.140028e70
mov ecx, 0x202
lea rdx, [rbp - 0x80]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140002259
lea edx, [rax + 3]
mov r8d, 0xff
mov r15d, 2
mov ecx, r15d
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000227f
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x50], r15w
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
lea r8, [rsp + 0x54]
mov ecx, r15d
call qword [sym.imp.WS2_32.dll_inet_pton]
mov dword [rsp + 0x28], sendto
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [rbx + 4]
lea rdx, [rbp + 0x120]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
je 0x1400022bd
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Sent_packet_to
lea rcx, [0x14003d3c0]
call fcn.140004230
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, rax
call fcn.1400059b0
mov rcx, rax
call fcn.1400044e0
nop
cmp r14, 0xf
jbe 0x1400021ec
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400021e3
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002304
mov rcx, rdi
call fcn.140008680
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140002225
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002220
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002253
call fcn.140008680
xor eax, eax
mov rcx, qword [rbp + 0x520]
xor rcx, rsp
call fcn.140008660
lea r11, [rsp + 0x630]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140011bc4
nop
lea rdx, str.WSAStartup_failed.
lea rcx, [0x14003d560]
call fcn.140004230
mov rcx, rax
call fcn.140002650
mov ecx, 1
call fcn.14000f258
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
lea rdx, str.Socket_creation_failed:
lea rcx, [0x14003d560]
call fcn.140004230
mov rcx, rax
mov edx, ebx
call fcn.140002310
mov rcx, rax
call fcn.140002650
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 1
call fcn.14000f258
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
lea rdx, str.sendto_failed:
lea rcx, [0x14003d560]
call fcn.140004230
mov rcx, rax
mov edx, ebx
call fcn.140002310
mov rcx, rax
call fcn.140002650
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 1
call fcn.14000f258
nop
call fcn.140011bc4
int3