Function at 0x1400112a8
Capabilities:
Create tcp socket
Initialize winsock library
Receive data
Receive data on socket
Start tcp server

Disassembly:
jmp 0x140011ba0
push rbp
push rdi
sub rsp, 0xa28
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1c2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x9f8], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400113bb
mov qword [rbp + 0x1c8], 0xffffffffffffffff
mov qword [rbp + 0x1e8], 0xffffffffffffffff
mov dword [rbp + 0x264], reloc.WS2_32.dll_recv
mov dword [rbp + 0x6a4], 0x400
lea rdx, [rbp + 0x10]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140011c2f
lea rcx, str.WSAStartup_failed._n
call fcn.1400111bd
mov eax, 1
jmp 0x140011e34
mov r8d, 6
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 0x1c8], rax
cmp qword [rbp + 0x1c8], 0xffffffffffffffff
jne 0x140011c72
lea rcx, str.Socket_creation_failed._n
call fcn.1400111bd
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x140011e34
mov eax, 2
mov word [rbp + 0x208], ax
mov dword [rbp + 0x20c], 0
mov cx, 0x115c
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x20a], ax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x208]
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x140011ce1
lea rcx, str.Bind_failed._n
call fcn.1400111bd
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x140011e34
mov edx, 0x7fffffff
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x140011d21
lea rcx, str.Listen_failed._n
call fcn.1400111bd
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x140011e34
lea r8, [rbp + 0x264]
lea rdx, [rbp + 0x238]
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rbp + 0x1e8], rax
cmp qword [rbp + 0x1e8], 0xffffffffffffffff
jne 0x140011d76
lea rcx, str.Accept_failed._n
call fcn.1400111bd
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x140011e34
xor r9d, r9d
mov r8d, dword [rbp + 0x6a4]
lea rdx, [rbp + 0x290]
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rbp + 0x6c4], eax
cmp dword [rbp + 0x6c4], 0
jle 0x140011de2
movsxd rax, dword [rbp + 0x6c4]
mov qword [rbp + 0x9e8], rax
cmp qword [rbp + 0x9e8], 0x400
jae 0x140011dc0
jmp 0x140011dc5
call fcn.1400112df
mov rax, qword [rbp + 0x9e8]
mov byte [rbp + rax + 0x290], 0
lea rcx, [rbp + 0x290]
call fcn.140011285
jmp 0x140011e05
cmp dword [rbp + 0x6c4], 0
jne 0x140011df9
lea rcx, str.Connection_closed._n
call fcn.1400111bd
jmp 0x140011e05
lea rcx, str.Recv_failed._n
call fcn.1400111bd
cmp dword [rbp + 0x6c4], 0
jg 0x140011d76
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001af40]
call fcn.14001134d
mov rax, rdi
mov rcx, qword [rbp + 0x9f8]
xor rcx, rbp
call fcn.1400111d6
lea rsp, [rbp + 0xa08]
pop rdi
pop rbp
ret