Function at 0x14000ca60
Capabilities:
Check mutex on windows
Initialize winsock library

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x290
mov rax, qword [0x140042010]
xor rax, rsp
mov qword [rsp + 0x270], rax
movaps xmm0, xmmword [0x14003b650]
mov rdx, rcx
movaps xmm1, xmmword [0x14003b660]
xor esi, esi
mov eax, dword [0x14003b6b0]
mov ebx, esi
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [0x14003b670]
movaps xmmword [rsp + 0x70], xmm1
movaps xmm1, xmmword [0x14003b680]
movaps xmmword [rsp + 0x80], xmm0
movaps xmm0, xmmword [0x14003b690]
movaps xmmword [rsp + 0x90], xmm1
movaps xmm1, xmmword [0x14003b6a0]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm1
mov dword [rsp + 0xc0], eax
call fcn.14000c350
cmp dword [0x140043f5c], ebx
movsxd r14, eax
mov dword [rsp + 0x50], r14d
jne 0x14000cb76
mov ecx, 0x202
mov dword [0x140043f5c], 1
lea rdx, [rsp + 0xd0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14000cb76
lea rax, str.sock_env_init_failed_n
mov dword [0x1400456ec], esi
mov qword [rsp + 0x30], rax
lea r14, str.alloc_netobj
mov dword [rsp + 0x28], 0xb38
lea r9, str.E:02_Sourcelm.signal.soft.git01_ProjectPE0000workcomplat_srcmod_net_netinterface.c
lea r8, [0x1400456e0]
mov qword [rsp + 0x20], r14
lea edx, [rsi - 1]
mov dword [0x1400456f0], 1
lea ecx, [rsi + 3]
call sym.Launcher.exe_elog_fmt
xor eax, eax
jmp 0x14000d250
lea eax, [r14 + 0xff5ffff]
mov qword [rsp + 0x2c0], rdi
cmp eax, 1
jbe 0x14000cbad
cmp r14d, 0xf00a0003
jne 0x14000cbe1
mov ecx, 0x3b0
call fcn.14001eadc
mov rbx, rax
test rax, rax
je 0x14000cbe1
mov r8d, 0x3b0
jmp 0x14000cbd7
movzx eax, byte [rsp + 0x88]
imul rdi, rax, 0x398
lea rcx, [rdi + 0x3b0]
call fcn.14001eadc
mov rbx, rax
test rax, rax
je 0x14000cbe1
lea r8, [rdi + 0x3b0]
xor edx, edx
mov rcx, rax
call fcn.140013cf0
mov qword [rsp + 0x2b8], rbp
mov qword [rsp + 0x2c8], r12
mov qword [rsp + 0x288], r13
mov qword [rsp + 0x280], r15
test rbx, rbx
jne 0x14000cc54
lea rax, str.could_not_alloc_net_object_n
mov dword [0x14004645c], esi
mov qword [rsp + 0x30], rax
lea r14, str.alloc_netobj
mov dword [rsp + 0x28], 0xb46
lea r9, str.E:02_Sourcelm.signal.soft.git01_ProjectPE0000workcomplat_srcmod_net_netinterface.c
lea r8, [0x140046450]
mov qword [rsp + 0x20], r14
lea edx, [rbx - 1]
mov dword [0x140046460], 1
lea ecx, [rbx + 3]
call sym.Launcher.exe_elog_fmt
jmp 0x14000d226
mov dword [rbx], r14d
xor r9d, r9d
movaps xmm0, xmmword [rsp + 0x60]
xor edx, edx
movups xmmword [rbx + 0x50], xmm0
xor ecx, ecx
mov r8d, 0x7fffffff
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x60], xmm1
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rbx + 0x70], xmm0
movaps xmm1, xmmword [rsp + 0x90]
movups xmmword [rbx + 0x80], xmm1
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [rbx + 0x90], xmm0
movaps xmm1, xmmword [rsp + 0xb0]
movups xmmword [rbx + 0xa0], xmm1
mov eax, dword [rsp + 0xc0]
mov dword [rbx + 0xb0], eax
mov dword [rbx + 0x10], esi
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + 0x48], rax
mov rcx, rbx
mov eax, esi
xchg dword [rbx + 0x20], eax
call fcn.140007300
test eax, eax
jne 0x14000d21e
lea eax, [r14 + 0xff5ffff]
cmp eax, 1
jbe 0x14000cff6
cmp r14d, 0xf00a0003
jne 0x14000d271
lea r12, [rbx + 0x368]
mov qword [rbx + 0x3a8], rbx
mov qword [r12], r12
xor r8d, r8d
mov qword [r12 + 8], r12
xor edx, edx
xor ecx, ecx
mov dword [r12 + 0x10], esi
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [r12 + 0x18], rax
lea rbp, [rbx + 0x66]
mov eax, esi
xchg dword [r12 + 0x20], eax
movzx eax, word [rbx + 0x64]
movups xmm0, xmmword [rbx + 0x54]
mov word [rbx + 0x27a], ax
mov rax, 0xffffffffffffffff
movups xmmword [rbx + 0x258], xmm0
inc rax
cmp byte [rax + rbp], sil
jne 0x14000cd62
lea r14, str.alloc_netobj
test rax, rax
je 0x14000cf85
mov ecx, 0xd8
call fcn.14001eadc
mov rsi, rax
test rax, rax
je 0x14000cf35
xor edx, edx
mov r8d, 0xd0
mov rcx, rax
call fcn.140013cf0
mov qword [rsi + 0xd0], rbx
lea rdi, [rsi + 0x10]
movups xmm0, xmmword [rbp]
movups xmmword [rdi], xmm0
movzx eax, word [rbx + 0x76]
mov word [rsi + 0x32], ax
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x14000cdc2
xor ebp, ebp
test rax, rax
je 0x14000cdf8
mov ecx, ebp
lea r15, str.0.0.0.0
nop dword [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [r15 + rcx - 1]
jne 0x14000ce9d
cmp rcx, 8
jne 0x14000cde0
movzx r9d, word [rdi + 0x22]
lea rcx, [rdi + 0x24]
lea r8, str.:_d
mov edx, reloc.WS2_32.dll_shutdown
call fcn.1400017b0
lea r15, [rsi + 0x4c]
test r15, r15
je 0x14000ce4b
test rdi, rdi
je 0x14000ce4b
xorps xmm0, xmm0
lea rdx, [r15 + 4]
mov ecx, 2
movups xmmword [r15], xmm0
mov word [r15], cx
mov rcx, rdi
call sym.Launcher.exe_ip4_str2num
movzx ecx, word [rdi + 0x22]
call qword [sym.imp.WS2_32.dll_htons]
mov word [r15 + 2], ax
mov eax, reloc.WS2_32.dll_sendto
lea rcx, [rsi + 0x60]
xchg dword [rsi + 0xc8], eax
movzx r9d, word [rsi + 0x32]
lea rdx, [0x14000b8b0]
mov dword [rsi + 0xcc], 1
cmp dword [rbx + 0xac], 1
jne 0x14000cec2
mov r8d, dword [0x140043f58]
mov dword [rsp + 0x20], r9d
lea r9, str.udp_send__u
lea eax, [r8 + 1]
mov dword [0x140043f58], eax
call sym.Launcher.exe_com_thread_create_cpu
jmp 0x14000cece
movzx eax, word [rdi + 0x22]
lea rcx, [rdi + 0x24]
mov r9, rdi
mov dword [rsp + 0x20], eax
lea r8, str._s:_d
mov edx, reloc.WS2_32.dll_shutdown
call fcn.1400017b0
jmp 0x14000ce12
lea r8, str.udp_send__u
call sym.Launcher.exe_com_thread_create
mov rax, qword [r12 + 8]
mov qword [r12 + 8], rsi
mov qword [rsi], r12
mov qword [rsi + 8], rax
mov qword [rax], rsi
lock inc dword [r12 + 0x20]
lea rax, [rsi + 0x34]
mov dword [0x140045afc], ebp
mov qword [rsp + 0x38], rax
lea r9, str.E:02_Sourcelm.signal.soft.git01_ProjectPE0000workcomplat_srcmod_net_netinterface.c
lea rax, str.add_remote_udp__s_n
mov dword [0x140045b00], 1
mov qword [rsp + 0x30], rax
lea r8, [0x140045af0]
mov dword [rsp + 0x28], 0xba6
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r14
call sym.Launcher.exe_elog_fmt
xor esi, esi
jmp 0x14000cf85
xor esi, esi
mov dword [0x140045f10], 1
mov dword [0x140045f0c], esi
lea r9, str.E:02_Sourcelm.signal.soft.git01_ProjectPE0000workcomplat_srcmod_net_netinterface.c
movzx eax, word [rbx + 0x76]
lea r8, [0x140045f00]
mov dword [rsp + 0x40], eax
xor edx, edx
mov qword [rsp + 0x38], rbp
lea rax, str.failed_to_alloc_udp_remote_res__s:_d_n
mov qword [rsp + 0x30], rax
lea ecx, [rsi + 2]
mov dword [rsp + 0x28], 0xb8b
mov qword [rsp + 0x20], r14
call sym.Launcher.exe_elog_fmt
lea rcx, [rbx + 0x258]
call fcn.14000bf90
test eax, eax
je 0x14000d26c
mov eax, 1
lea r9, str.E:02_Sourcelm.signal.soft.git01_ProjectPE0000workcomplat_srcmod_net_netinterface.c
xchg dword [rbx + 0x20], eax
mov edx, 0xffffffff
mov dword [0x14004578c], esi
lea rax, str.init_udp_res_failed_n
mov dword [0x140045790], 1
mov qword [rsp + 0x30], rax
lea r8, [0x140045780]
mov dword [rsp + 0x28], 0xbad
lea ecx, [rdx + 4]
mov qword [rsp + 0x20], r14
call sym.Launcher.exe_elog_fmt
lea rcx, [rbx + 0x258]
call fcn.14000c1e0
jmp 0x14000d216
mov ebp, esi
cmp byte [rbx + 0x78], sil
jbe 0x14000d271
mov r12, r14
lea r15, str.0.0.0.0
nop dword [rax]
movsxd rcx, ebp
imul rdi, rcx, 0x398
lea rax, [rcx + 2]
add rdi, rbx
imul rcx, rax, 0x398
mov qword [rdi + 0x740], rbx
lea r14, [rdi + 0x3b0]
mov qword [rdi + 0x738], rbx
mov byte [rdi + 0x490], bpl
mov qword [rcx + rbx], r14
cmp r12, 0xfffffffff00a0001
jne 0x14000d064
movzx eax, bp
add ax, word [rbx + 0x64]
mov word [rdi + 0x3e2], ax
jmp 0x14000d10d
cmp r12, 0xfffffffff00a0002
jne 0x14000d10d
movups xmm0, xmmword [rbx + 0x66]
movzx eax, bp
lea rdx, [rdi + 0x3c0]
movups xmmword [rdx], xmm0
add ax, word [rbx + 0x76]
mov word [rdi + 0x3e2], ax
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], sil
jne 0x14000d094
test rax, rax
je 0x14000d0c4
mov rcx, rsi
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r15 + rcx - 1]
jne 0x14000d132
cmp rcx, 8
jne 0x14000d0b0
movzx r9d, word [rdx + 0x22]
lea rcx, [rdx + 0x24]
mov edx, reloc.WS2_32.dll_shutdown
lea r8, str.:_d
call fcn.1400017b0
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax + 0x54], sil
jne 0x14000d0e5
test rax, rax
je 0x14000d0ff
movups xmm0, xmmword [rbx + 0x54]
movups xmmword [rdi + 0x492], xmm0
movzx eax, bp
add ax, word [rbx + 0x64]
mov word [rdi + 0x4b4], ax
mov rcx, r14
lea edi, [rbp + 1]
call fcn.14000b220
test eax, eax
jne 0x14000d154
movzx eax, byte [rbx + 0x78]
mov ebp, edi
cmp edi, eax
jl 0x14000d010
mov r14d, r12d
jmp 0x14000d271
movzx eax, word [rdx + 0x22]
lea rcx, [rdx + 0x24]
mov r9, rdx
mov dword [rsp + 0x20], eax
mov edx, reloc.WS2_32.dll_shutdown
lea r8, str._s:_d
call fcn.1400017b0
jmp 0x14000d0de
mov eax, 1
lea r14, str.alloc_netobj
xchg dword [rbx + 0x20], eax
mov dword [0x14004636c], esi
lea r9, str.E:02_Sourcelm.signal.soft.git01_ProjectPE0000workcomplat_srcmod_net_netinterface.c
mov dword [0x140046370], 1
lea r8, [0x140046360]
movzx eax, byte [rbx + 0x78]
mov edx, 0xffffffff
mov dword [rsp + 0x40], eax
lea rax, str.init_server_client_res__d__d_n
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xb74
lea ecx, [rdx + 4]
mov qword [rsp + 0x20], r14
call sym.Launcher.exe_elog_fmt
sub ebp, 1
js 0x14000d216
movsxd rax, ebp
imul rdi, rax, 0x398
add rdi, 0x648
add rdi, rbx
nop dword [rax]
mov rsi, qword [rdi + 0xf8]
mov eax, 1
xchg dword [rsi + 0x20], eax
cmp dword [rsi + 0x24], 0
je 0x14000d20a
mov rcx, rdi
call sym.Launcher.exe_com_thread_exit
lea rcx, [rdi - 0x68]
call sym.Launcher.exe_com_thread_exit
cmp dword [rsi], 0xf00a0001
jne 0x14000d20a
lea rcx, [rdi - 0x210]
call sym.Launcher.exe_sock_free
sub rdi, 0x398
sub ebp, 1
jns 0x14000d1d0
mov rcx, rbx
call fcn.140007170
mov rcx, rbx
call fcn.14001eac8
xor eax, eax
mov r13, qword [rsp + 0x288]
mov r12, qword [rsp + 0x2c8]
mov rbp, qword [rsp + 0x2b8]
mov r15, qword [rsp + 0x280]
mov rdi, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140012f80
add rsp, 0x290
pop r14
pop rsi
pop rbx
ret
mov r14d, dword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
test eax, eax
jne 0x14000d282
movzx ebp, word [rbx + 0x64]
jmp 0x14000d28f
cmp eax, 1
jne 0x14000d28d
movzx ebp, word [rbx + 0x76]
jmp 0x14000d28f
xor ebp, ebp
lea eax, [r14 + 0xff5ffff]
cmp eax, 1
jbe 0x14000d2d2
cmp r14d, 0xf00a0003
jne 0x14000d3a0
movzx r9d, word [rbx + 0x27a]
lea rcx, [rbx + 0xb8]
lea r8, str.udp_auxi__u
lea rdx, [0x14000b710]
call sym.Launcher.exe_com_thread_create
mov rax, rbx
jmp 0x14000d228
cmp dword [rbx + 0xb0], 1
lea rcx, [rbx + 0x1d0]
movzx edi, bp
lea rdx, [0x140008d50]
jne 0x14000d33e
mov r8d, dword [0x140043f58]
lea r9, str.tcp_synco__u
mov dword [rsp + 0x20], edi
lea eax, [r8 + 1]
mov dword [0x140043f58], eax
call sym.Launcher.exe_com_thread_create_cpu
mov r8d, dword [0x140043f58]
lea r9, str.tcp_sync__u
lea rdx, [0x1400088e0]
mov dword [rsp + 0x20], edi
lea rcx, [rbx + 0x168]
lea eax, [r8 + 1]
mov dword [0x140043f58], eax
call sym.Launcher.exe_com_thread_create_cpu
jmp 0x14000d36a
mov r9d, edi
lea r8, str.tcp_synco__u
call sym.Launcher.exe_com_thread_create
mov r9d, edi
lea r8, str.tcp_sync__u
lea rdx, [0x1400088e0]
lea rcx, [rbx + 0x168]
call sym.Launcher.exe_com_thread_create
lea rcx, [rbx + 0xb8]
mov r9d, edi
lea r8, str.tcp_auxi__u
lea rdx, [0x14000a9e0]
call sym.Launcher.exe_com_thread_create
cmp dword [rbx + 0x90], 0
je 0x14000d3a0
mov edx, dword [rbx + 0x88]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, rbx
jmp 0x14000d228