Function at 0x180011c90
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [rsp + 0x70]
jmp 0x180011fff
cmp ax, 0x17
jne 0x180040174
lea rcx, [r14 + 8]
lea rdx, [rsp + 0x50]
call qword [sym.imp.ntdll.dll_RtlIpv6AddressToStringW]
jmp 0x180011e23
cmp byte [r14 + 8], 0xff
jne 0x180024a07
mov r15d, 1
jmp 0x180011ef9
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x18008a480]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov rdi, rdx
xor edx, edx
mov r13d, r9d
mov r12d, r8d
mov rbx, rcx
mov dword [rsp + 0x40], edx
mov rcx, qword [0x18008a130]
lea rax, [0x18008a130]
cmp rcx, rax
je 0x180011cf2
test dword [rcx + 0x1c], 0x100
jne 0x180040148
lea rsi, [rbx + 0x274]
and byte [rsi + 3], 0xbf
test rdi, rdi
je 0x180011d4c
mov rax, qword [rdi]
mov qword [rbx + 0x2c], rax
cmp word [rbx + 0x2e], 0
mov rax, qword [rdi + 8]
mov qword [rbx + 0x34], rax
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x3c], rax
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x44], rax
mov rax, qword [rdi + 0x20]
mov qword [rbx + 0x4c], rax
mov rax, qword [rdi + 0x28]
mov qword [rbx + 0x54], rax
mov rax, qword [rdi + 0x30]
mov qword [rbx + 0x5c], rax
mov rax, qword [rdi + 0x38]
mov qword [rbx + 0x64], rax
je 0x1800157f3
mov dword [rsp + 0x50], edx
lea rcx, [rsp + 0x54]
mov r8d, 0x80
xor edx, edx
lea r14, [rbx + 0x2c]
call sub.api_ms_win_core_crt_l1_1_0.dll_memset
cmp dword [0x18008a0b0], 0
je 0x180011e3f
test rbx, rbx
je 0x180011e3f
mov eax, dword [rbx + 0x21c]
lea r9, [rbx + 0x280]
lea r8, [rsp + 0x44]
lea rcx, [rbp - 0x20]
mov dword [rsp + 0x20], eax
call fcn.180011b80
test eax, eax
je 0x180011e3f
lea rcx, [rbp + 0xe0]
mov dword [rsp + 0x28], 0xff
lea r8, [rbp - 0x20]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_MultiByteToWideChar]
test eax, eax
je 0x180011e3f
test r14, r14
je 0x180011e23
movzx eax, word [r14]
cmp ax, 2
jne 0x180009b35
mov r8d, dword [r14 + 4]
mov eax, r8d
mov r10d, r8d
movzx r9d, r8b
shr eax, 0x10
shr r10d, 0x18
movzx edx, al
mov eax, r8d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], edx
shr eax, 8
lea r8, [0x18001fcb0]
movzx ecx, al
mov edx, send
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x50]
call fcn.1800046c0
mov rcx, qword [0x18008abf8]
lea rdx, [0x180021e88]
call qword [sym.imp.ntdll.dll_EtwEventEnabled]
test al, al
jne 0x180040193
cmp qword [rbx + 0x268], 0
mov r15, qword [rbx + 0x228]
jne 0x1800401b5
mov r12d, dword [rsp + 0x40]
mov rax, qword [rbx + 0x268]
movzx edi, r15w
sub di, si
test rax, rax
jne 0x18004021d
xor eax, eax
mov byte [rbx + 0x25b], al
mov rax, qword [0x18008a130]
test dword [rax + 0x1c], 0x1000000
jne 0x180040230
movzx eax, word [rsi]
rol ax, 8
mov word [rsi], ax
movzx eax, word [rsi + 4]
rol ax, 8
mov word [rsi + 4], ax
movzx eax, word [rsi + 6]
rol ax, 8
mov word [rsi + 6], ax
movzx eax, word [rsi + 8]
rol ax, 8
mov word [rsi + 8], ax
movzx eax, word [rsi + 0xa]
rol ax, 8
mov word [rsi + 0xa], ax
cmp byte [rbx + 0x254], 0
jne 0x18002a89b
movzx eax, word [r14]
cmp eax, 0x17
je 0x180009b53
cmp eax, 2
jne 0x180024a07
movzx eax, byte [r14 + 4]
xor r15d, r15d
and al, 0xf0
cmp al, 0xe0
sete r15b
mov rcx, rbx
call fcn.1800120c0
test rax, rax
je 0x18004030d
mov rcx, qword [0x18008a130]
lea rax, [0x18008a130]
cmp rcx, rax
je 0x180011f2a
test dword [rcx + 0x1c], 0x400
jne 0x180040329
test r15d, r15d
je 0x180011f87
test r13d, r13d
je 0x180011f59
movzx edx, word [r14]
mov r8d, dword [rbx + 0x20c]
mov rcx, qword [rbx + 0xb8]
mov r9d, r13d
call sym.DNSAPI.dll_Socket_SetMulticastInterface
mov r15d, eax
test eax, eax
jne 0x180012030
mov eax, dword [rbx + 0x20c]
movzx edx, word [r14]
mov rcx, qword [rbx + 0xb8]
mov r9d, 1
mov dword [rsp + 0x20], eax
mov r8d, r9d
call sym.DNSAPI.dll_Socket_SetTtl
mov r15d, eax
test eax, eax
jne 0x180012030
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movaps xmmword [rsp + 0x50], xmm0
cmp word [rsp + 0x50], 2
movaps xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [r14 + 0x20]
movups xmm1, xmmword [r14 + 0x30]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rbp - 0x80], xmm1
jne 0x180009af6
cmp dword [rbx + 0x20c], 0
je 0x180009af6
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0xffff0000
shr rax, 0x20
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x64], eax
mov eax, reloc.WS2_32.dll_socket
mov word [rsp + 0x50], ax
mov eax, 0x1c
mov dword [rsp + 0x70], eax
mov rcx, qword [rbx + 0xb8]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x50]
movzx r8d, di
xor r9d, r9d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
je 0x180034f51
xor r15d, r15d
movzx eax, word [rsi]
rol ax, 8
mov word [rsi], ax
movzx eax, word [rsi + 4]
rol ax, 8
mov word [rsi + 4], ax
movzx eax, word [rsi + 6]
rol ax, 8
mov word [rsi + 6], ax
movzx eax, word [rsi + 8]
rol ax, 8
mov word [rsi + 8], ax
movzx eax, word [rsi + 0xa]
rol ax, 8
mov word [rsi + 0xa], ax
test r12d, r12d
jne 0x1800403a4
cmp dword [0x18008a0bc], 0
je 0x18003bf70
cmp dword [0x18008a090], 0
jne 0x1800403b0
mov eax, r15d
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.180001000
mov rbx, qword [rsp + 0x440]
add rsp, 0x3f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, 0x3500
mov word [rbx + 0x2e], ax
jmp 0x180011d4c
xor r15d, r15d
jmp 0x180011ef9
movzx ecx, di
lea r14, [rbx + 0x272]
call qword [sym.imp.WS2_32.dll_htons]
mov word [r14], ax
add di, 2
je 0x18001202d
mov rcx, qword [rbx + 0xb8]
movzx r8d, di
xor r9d, r9d
mov rdx, r14
call qword [sym.imp.WS2_32.dll_send]
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x18004024c
sub di, ax
cdqe
add r14, rax
test di, di
je 0x18001202d
jmp 0x18003d1d1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [0x18008a130]
test dword [rcx + 0x1c], 0x10000000
mov r15d, eax
je 0x180012030
jmp 0x18004035a
call fcn.1800324f4
jmp 0x180012080
jmp 0x18002a8b9
mov eax, dword [rbx + 0xb8]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], r8d
mov r9, rbx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
call fcn.180061e90
xor edx, edx
jmp 0x180011cf2
lea r8, [0x180082080]
lea rcx, [rsp + 0x50]
mov r9, r14
mov edx, 0x41
call fcn.180008f30
nop
jmp 0x180011e23
movzx r9d, word [rsp + 0x44]
lea rax, [rsp + 0x50]
lea r8, [rbp + 0xe0]
mov qword [rsp + 0x20], rax
call fcn.1800643a8
nop
jmp 0x180011e3f
test dword [rbx + 0x25c], 0x1000000
jne 0x180011e54
test r12d, r12d
jne 0x180040202
cmp dword [0x18008a3b0], r12d
jne 0x1800401dc
cmp byte [rbx + 0x256], r12b
je 0x180040202
movzx eax, byte [rbx + 0x276]
and al, 0x78
cmp al, 0x28
je 0x180040202
test rdi, rdi
je 0x180011e54
mov rcx, rdi
call fcn.180061b3c
test eax, eax
je 0x180011e54
mov r15, qword [rbx + 0x268]
mov eax, 0xffff
mov r12d, 1
add word [rsi + 0xa], ax
jmp 0x180011e59
cmp r15, rax
je 0x180011e70
mov eax, 1
jmp 0x180011e72
lea r8, [0x18004cf68]
mov r9, rbx
mov word [rbx + 0x272], di
call fcn.18006ae4c
nop
jmp 0x180011e8c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [0x18008a130]
mov r15d, eax
cmp eax, 0x274a
jne 0x180040287
test dword [rcx + 0x1c], 0x10000000
je 0x180012030
lea rax, [0x18008a130]
cmp rcx, rax
je 0x180012030
mov edx, 0x26
jmp 0x1800402b0
cmp eax, 0x2736
jne 0x1800402d2
test dword [rcx + 0x1c], 0x10000000
je 0x180012030
lea rax, [0x18008a130]
cmp rcx, rax
je 0x180012030
mov edx, 0x27
mov r9d, dword [rbx + 0xb8]
mov rcx, qword [rcx + 0x10]
lea r8, [0x180021620]
mov qword [rsp + 0x20], rbx
call fcn.18005c308
nop
jmp 0x180012030
test dword [rcx + 0x1c], 0x10000000
je 0x180012030
lea rax, [0x18008a130]
cmp rcx, rax
je 0x180012030
mov rcx, qword [rcx + 0x10]
lea r8, [0x180021620]
mov edx, 0x28
mov r9d, r15d
call fcn.180058fb0
nop
jmp 0x180012030
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r15d, eax
test eax, eax
jne 0x180012030
mov r15d, 0x273b
jmp 0x180012030
mov eax, dword [rbx + 0x18]
mov r9d, dword [rbx + 0x20c]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x10]
lea r8, [0x180021620]
mov edx, 0x29
mov dword [rsp + 0x20], eax
call fcn.18005b3d8
nop
jmp 0x180011f2a
lea rax, [0x18008a130]
cmp rcx, rax
je 0x18004037e
mov rcx, qword [rcx + 0x10]
lea r8, [0x180021620]
mov edx, 0x2a
mov r9d, r15d
call fcn.180058fb0
lea r8, [0x18004cf78]
mov qword [rsp + 0x20], r14
call fcn.180069cc4
lea r8, [0x18004cf98]
mov r9, rbx
call fcn.18006ae4c
nop
jmp 0x180012030
inc ax
mov word [rsi + 0xa], ax
jmp 0x180012073
cmp byte [rbx + 0x254], 0
mov al, 9
mov r14d, 0x48
movzx edi, al
mov eax, 0xa
lea rcx, [rsp + 0x50]
cmovne edi, eax
xor edx, edx
mov r8d, r14d
call sub.api_ms_win_core_crt_l1_1_0.dll_memset
mov rax, qword [0x18008a510]
mov rcx, qword [0x18008dae8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18008a518]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov eax, dword [rbx + 0x30]
mov byte [rsp + 0x54], dil
mov dword [rbp - 0x74], eax
mov rax, qword [rsi]
mov word [rsp + 0x50], r14w
mov qword [rbp - 0x80], rax
mov eax, dword [rsi + 8]
mov dword [rsp + 0x7c], 0x20000
mov dword [rbp - 0x78], eax
mov dword [rbp - 0x70], r15d
call qword [sym.imp.ntdll.dll_EtwLogTraceEvent]
nop
jmp 0x18001208d