Function at 0x140027fd0
Capabilities:
Create thread
Resolve function by parsing pe exports
Send data
Send data on socket

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push r12
push r13
push r14
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov rax, qword [0x14006a110]
xor rax, rsp
mov qword [rbp + 0x40], rax
xor eax, eax
xor ebx, ebx
mov r12, r9
mov rsi, r8
mov r13, rdx
mov r14, rcx
mov word [rsp + 0x35], ax
mov byte [rsp + 0x34], 0
mov dword [rsp + 0x30], 0x80
test r8, r8
je 0x1400282f6
mov qword [r11 + 8], rdi
mov qword [r11 - 0x38], r15
mov edi, ebx
nop dword [rax + rax]
movzx eax, word [rsi]
xor edx, edx
lea rcx, [rsp + 0x34]
lea r8d, [rdx + 0x10]
mov word [rsp + 0x34], ax
call fcn.140044280
inc rdi
add rsi, 3
mov byte [rbp + rdi - 0x41], al
cmp rdi, 6
jl 0x140028030
xor edx, edx
lea rcx, [rbp - 0x30]
lea r8d, [rdx + 0x66]
call fcn.140043a10
mov eax, dword [rbp - 0x40]
or rdx, 0xffffffffffffffff
mov dword [rbp - 0x2a], eax
movzx eax, word [rbp - 0x3c]
lea rdi, [rbp - 0x24]
lea rsi, [rbp - 0x2a]
mov ecx, 0x2d
mov dword [rbp - 0x30], edx
mov word [rbp - 0x26], ax
mov word [rbp - 0x2c], dx
lea r15d, [rdx + 3]
rep movsw word [rdi], word [rsi]
test r12, r12
je 0x140028168
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
xor r8d, r8d
mov edx, r15d
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSAStringToAddressA]
test eax, eax
jne 0x1400280ee
lea ecx, [rax + 9]
call qword [sym.imp.WS2_32.dll_htons]
xor ecx, ecx
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
mov word [rsp + 0x42], ax
call qword [sym.imp.WS2_32.dll_htonl]
cmp dword [rsp + 0x44], eax
je 0x140028168
lea ebx, [r15 - 1]
jmp 0x140028168
xor r8d, r8d
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
lea edx, [r8 + 0x17]
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSAStringToAddressA]
test eax, eax
jne 0x140028168
lea ecx, [rax + 9]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x42], ax
test r13, r13
je 0x14002812f
mov eax, dword [r13 + 0x84]
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x48]
lea rcx, [0x1400623e8]
mov dword [rsp + 0x30], 0x1c
mov rdx, qword [rax]
cmp rdx, qword [rcx]
jne 0x140028159
mov rdx, qword [rax + 8]
cmp rdx, qword [rcx + 8]
jne 0x140028159
mov eax, ebx
jmp 0x14002815e
sbb eax, eax
sbb eax, 0xffffffff
mov ecx, 1
test eax, eax
cmovne ebx, ecx
cmp dword [rbp + 0xb0], r15d
jge 0x140028231
test ebx, ebx
je 0x140028231
movzx ecx, word [rsp + 0x40]
mov esi, dword [rsp + 0x30]
mov r8d, setsockopt
mov edx, r15d
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140028231
xor r9d, r9d
lea rax, [rsp + 0x40]
lea rdx, [rbp - 0x30]
lea r8d, [r9 + 0x66]
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
mov ebx, eax
cmp eax, 0x66
je 0x1400281e5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.SendWakeupPacket_error:_sent__d_bytes:__d_n
mov r8d, ebx
mov r9d, eax
xor ecx, ecx
call fcn.140025bd0
xor r9d, r9d
lea rax, [rsp + 0x40]
lea rdx, [rbp - 0x30]
lea r8d, [r9 + 0x66]
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
mov esi, eax
cmp eax, 0x66
je 0x140028228
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.SendWakeupPacket_error:_sent__d_bytes:__d_n
mov r8d, esi
mov r9d, eax
xor ecx, ecx
call fcn.140025bd0
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov ecx, 0x90
call fcn.140044708
mov rdi, rax
test rax, rax
je 0x1400282e6
mov qword [rax], r14
xor eax, eax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov word [rdi + 8], r15w
mov edx, dword [0x140050774]
lea ecx, [rax + 9]
mov dword [rdi + 0xc], edx
call qword [sym.imp.WS2_32.dll_htons]
mov dword [rdi + 0x18], reloc.WS2_32.dll_recv
mov word [rdi + 0xa], ax
lea rcx, [0x140027a80]
mov r8, rdi
movaps xmm0, xmmword [rbp - 0x30]
xor edx, edx
movups xmmword [rdi + 0x1c], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movups xmmword [rdi + 0x2c], xmm1
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [rdi + 0x3c], xmm0
movaps xmm1, xmmword [rbp]
movups xmmword [rdi + 0x4c], xmm1
movaps xmm0, xmmword [rbp + 0x10]
movups xmmword [rdi + 0x5c], xmm0
movaps xmm1, xmmword [rbp + 0x20]
movups xmmword [rdi + 0x6c], xmm1
mov eax, dword [rbp + 0x30]
mov dword [rdi + 0x7c], eax
movzx eax, word [rbp + 0x34]
mov dword [rdi + 0x84], WSAGetLastError
mov dword [rdi + 0x88], setsockopt
mov dword [rdi + 0x8c], 0x64
mov word [rdi + 0x80], ax
call fcn.14004549c
mov rdi, qword [rsp + 0x190]
mov r15, qword [rsp + 0x150]
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140043980
add rsp, 0x158
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret