Function at 0x1401c8010
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1760
call fcn.1401da720
sub rsp, rax
mov qword [rsp + 0x1718], 0xfffffffffffffffe
mov rax, qword [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0x1758], rax
mov byte [rsp + 0x40], 0
lea rdi, [rsp + 0x41]
xor eax, eax
mov ecx, 0xfff
rep stosb byte [rdi], al
lea rcx, [0x140223dd8]
call fcn.1400a98c0
mov r8, rax
lea rdx, str.who_is_ccboot_server_r_n
mov rcx, qword [rsp + 0x1778]
call fcn.1400cd4f8
test eax, eax
jne 0x1401c841b
lea rcx, [rsp + 0x1050]
call fcn.1401d19d0
nop
mov rax, qword [rsp + 0x1788]
mov edx, dword [rax + 4]
lea rcx, [rsp + 0x1050]
call fcn.1401d7890
test eax, eax
jne 0x1401c80dc
mov dword [rsp + 0x16e0], 0
lea rcx, [rsp + 0x1050]
call fcn.140014ec0
mov eax, dword [rsp + 0x16e0]
jmp 0x1401c8420
lea rcx, [rsp + 0x11f8]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
test eax, eax
jne 0x1401c8119
mov dword [rsp + 0x16e4], 0
lea rcx, [rsp + 0x1050]
call fcn.140014ec0
mov eax, dword [rsp + 0x16e4]
jmp 0x1401c8420
lea rdx, [rsp + 0x1280]
lea rcx, [rsp + 0x1040]
call fcn.140001430
nop
lea rcx, [rsp + 0x1040]
call fcn.140006eb0
movzx eax, al
test eax, eax
jne 0x1401c8179
lea rdx, [0x140223e08]
lea rcx, [rsp + 0x1040]
call fcn.140006d50
movzx eax, al
test eax, eax
jne 0x1401c8179
lea rdx, [0x140223e18]
lea rcx, [rsp + 0x1040]
call fcn.140006d50
movzx eax, al
test eax, eax
je 0x1401c81c2
lea rcx, [rsp + 0x13a0]
call fcn.14000d210
nop
mov dword [rsp + 0x1538], 1
lea rcx, [rsp + 0x13a0]
call fcn.1401d56b0
lea rdx, [rsp + 0x1568]
lea rcx, [rsp + 0x1040]
call fcn.140002db0
nop
lea rcx, [rsp + 0x13a0]
call fcn.140014ec0
lea rcx, [rsp + 0x1040]
call fcn.140006eb0
movzx eax, al
test eax, eax
jne 0x1401c820c
lea rdx, [0x140223e30]
lea rcx, [rsp + 0x1040]
call fcn.140006d50
movzx eax, al
test eax, eax
jne 0x1401c820c
lea rdx, [0x140223e40]
lea rcx, [rsp + 0x1040]
call fcn.140006d50
movzx eax, al
test eax, eax
je 0x1401c8254
lea rcx, [rsp + 0x16e8]
call fcn.1400dc730
mov qword [rsp + 0x1720], rax
mov rax, qword [rsp + 0x1720]
mov qword [rsp + 0x1728], rax
mov rdx, qword [rsp + 0x1728]
lea rcx, [rsp + 0x1040]
call fcn.140002db0
nop
lea rcx, [rsp + 0x16e8]
call fcn.140001490
lea rax, [rsp + 0x16f8]
mov qword [rsp + 0x1700], rax
lea rdx, [rsp + 0x1040]
mov rcx, qword [rsp + 0x1700]
call fcn.140001430
mov qword [rsp + 0x1730], rax
mov r8, qword [rsp + 0x1730]
lea rdx, [rsp + 0x1708]
lea rcx, [0x1403b4060]
call fcn.140115820
mov qword [rsp + 0x1738], rax
mov rax, qword [rsp + 0x1738]
mov qword [rsp + 0x1740], rax
mov rcx, qword [rsp + 0x1740]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x16f0]
call fcn.140002e10
mov qword [rsp + 0x1748], rax
mov rax, qword [rsp + 0x1748]
mov qword [rsp + 0x1750], rax
mov rcx, qword [rsp + 0x1750]
call fcn.140002ec0
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [rsp + 0x1048], eax
lea rcx, [rsp + 0x16f0]
call fcn.140002ea0
nop
lea rcx, [rsp + 0x1708]
call fcn.140001490
mov rax, qword [rsp + 0x1790]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x1048], eax
je 0x1401c8368
mov dword [rsp + 0x1710], 0
lea rcx, [rsp + 0x1040]
call fcn.140001490
nop
lea rcx, [rsp + 0x1050]
call fcn.140014ec0
mov eax, dword [rsp + 0x1710]
jmp 0x1401c8420
mov rax, qword [rsp + 0x1790]
movzx ecx, word [rax + 2]
call qword [sym.imp.WSOCK32.dll_ntohs]
movzx eax, ax
mov dword [rsp + 0x1390], eax
mov rax, qword [rsp + 0x1790]
mov ecx, dword [rax + 4]
call qword [sym.imp.WSOCK32.dll_inet_ntoa]
mov r9d, dword [rsp + 0x1390]
mov r8, rax
lea rdx, str.ccboot_server__s:_d_r_n
lea rcx, [rsp + 0x40]
call fcn.1400ad4a8
lea rcx, [rsp + 0x40]
call fcn.1400a98c0
mov rdx, rax
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_SafeArrayGetDim
mov rax, qword [rsp + 0x1788]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, edx
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x1798]
call qword [sym.imp.WSOCK32.dll_sendto]
mov dword [rsp + 0x1714], 1
lea rcx, [rsp + 0x1040]
call fcn.140001490
nop
lea rcx, [rsp + 0x1050]
call fcn.140014ec0
mov eax, dword [rsp + 0x1714]
jmp 0x1401c8420
mov eax, 1
mov rcx, qword [rsp + 0x1758]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x1760
pop rdi
ret