Function at 0x140006630
Capabilities:
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub rsp, 0x218
mov rax, qword [0x14002a040]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
cmp qword [0x14002be48], 0
jne 0x1400069e6
mov ecx, 0x101
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400069e6
movzx eax, word [rsp + 0x40]
cmp al, 1
jne 0x1400069d5
shr ax, 8
cmp al, 1
jne 0x1400069d5
mov qword [rsp + 0x220], rbx
xor ecx, ecx
mov qword [rsp + 0x228], rbp
mov qword [rsp + 0x230], rsi
mov qword [rsp + 0x210], rdi
mov qword [rsp + 0x208], r12
mov qword [rsp + 0x200], r13
mov qword [rsp + 0x1f8], r14
mov qword [rsp + 0x1f0], r15
call fcn.14000e498
mov rcx, rax
call fcn.14000e284
mov ebx, 2
xor r8d, r8d
mov edx, ebx
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
lea rcx, str.192.168.2.xxx
mov qword [0x14002be58], rax
call qword [sym.imp.WS2_32.dll_inet_addr]
lea rcx, str.xxxx
mov word [0x14002be60], bx
mov dword [0x14002be64], eax
call fcn.14000e874
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htons]
movsx ecx, byte [str.xxxxxxxx]
movsx ebx, byte [0x14002aab1]
mov word [0x14002be62], ax
call fcn.14000e46c
mov ecx, ebx
mov esi, eax
lea edi, [rax - 0x30]
call fcn.14000e46c
movsx ebx, byte [0x14002aab3]
mov ebp, 0x37
cmp dil, 9
mov ecx, ebp
mov r14d, 0x30
cmovbe ecx, r14d
lea edx, [rax - 0x30]
sub sil, cl
mov ecx, ebp
movzx r8d, sil
shl r8d, 4
cmp dl, 9
cmovbe ecx, r14d
sub al, cl
movsx ecx, byte [0x14002aab2]
movzx eax, al
add r8d, eax
mov dword [rsp + 0x30], r8d
call fcn.14000e46c
mov ecx, ebx
mov esi, eax
lea edi, [rax - 0x30]
call fcn.14000e46c
movsx ebx, byte [0x14002aab5]
cmp dil, 9
mov ecx, ebp
cmovbe ecx, r14d
sub sil, cl
lea edx, [rax - 0x30]
mov ecx, ebp
movzx r13d, sil
shl r13d, 4
cmp dl, 9
cmovbe ecx, r14d
sub al, cl
movsx ecx, byte [0x14002aab4]
movzx eax, al
add r13d, eax
call fcn.14000e46c
mov ecx, ebx
mov r14d, eax
lea edi, [rax - 0x30]
call fcn.14000e46c
movsx ebx, byte [0x14002aab7]
mov r15d, eax
movsx ecx, byte [0x14002aab6]
lea esi, [rax - 0x30]
call fcn.14000e46c
mov ecx, ebx
mov r12d, eax
lea ebp, [rax - 0x30]
call fcn.14000e46c
mov r8d, eax
mov r10d, 0x37
mov r11d, 0x30
cmp dil, 9
mov ecx, r10d
cmovbe ecx, r11d
lea edx, [rax - 0x30]
sub r14b, cl
mov ecx, r10d
movzx r9d, r14b
shl r9d, 4
cmp sil, 9
cmovbe ecx, r11d
sub r15b, cl
movzx eax, r15b
add r9d, eax
mov eax, r10d
shl r9d, 8
cmp bpl, 9
cmovbe eax, r11d
sub r12b, al
movzx ecx, r12b
shl ecx, 4
cmp dl, 9
cmovbe r10d, r11d
sub r8b, r10b
movzx eax, r8b
add ecx, eax
mov eax, dword [rsp + 0x30]
shl eax, 8
or r9d, ecx
or eax, r13d
shl eax, 0x10
or r9d, eax
mov dword [0x14002bec0], r9d
call fcn.14000e258
mov rcx, qword [0x14002be58]
lea rbx, [0x14002be60]
xorps xmm0, xmm0
mov dword [0x14002bec4], eax
xor eax, eax
mov dword [rsp + 0x28], socket
xor r9d, r9d
mov dword [0x14002bec8], 0
lea rdx, [0x14002bec0]
mov dword [0x14002becc], 0xaf3c2828
movups xmmword [0x14002bf08], xmm0
lea r8d, [rax + 0x10]
mov qword [0x14002bf38], rax
movups xmmword [0x14002bf18], xmm0
mov qword [rsp + 0x20], rbx
movups xmmword [0x14002bf28], xmm0
call qword [sym.imp.WS2_32.dll_sendto]
mov ecx, reloc.WS2_32.dll_sendto
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x14002be58]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rdx, [0x14002be70]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov r8d, 0x400
mov dword [rsp + 0x34], socket
call qword [sym.imp.WS2_32.dll_recvfrom]
mov r15, qword [rsp + 0x1f0]
mov r14, qword [rsp + 0x1f8]
mov r13, qword [rsp + 0x200]
mov r12, qword [rsp + 0x208]
mov rdi, qword [rsp + 0x210]
mov rsi, qword [rsp + 0x230]
mov rbp, qword [rsp + 0x228]
mov rbx, qword [rsp + 0x220]
test eax, eax
jns 0x140006992
mov rcx, qword [0x14002be58]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x1400069e6
mov eax, dword [0x14002becc]
cmp dword [0x14002be7c], eax
jne 0x1400069e6
mov eax, dword [0x14002bec8]
cmp dword [0x14002be78], eax
jne 0x1400069e6
mov dword [0x14002be50], 1
mov eax, 1
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.140006cc0
add rsp, 0x218
ret
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov qword [0x14002be58], 0
xor eax, eax
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.140006cc0
add rsp, 0x218
ret