Function at 0x140075120
Capabilities:
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
jmp 0x140079dd0
push rbp
push rdi
sub rsp, 0xd28
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x252
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0xcf0], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.14007618d
mov eax, 2
mov word [rbp + 8], ax
mov dword [rbp + 0xc], 0
mov cx, 0x1b59
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0xa], ax
mov eax, 2
mov word [rbp + 0x1f4], ax
lea rdx, [rbp + 0x40]
movzx ecx, word [rbp + 0x1f4]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140079e62
lea rcx, str.Init_socket_dll_error_
call fcn.1400747ac
mov ecx, 1
call fcn.1400733f2
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 0x218], rax
cmp qword [rbp + 0x218], 0xffffffffffffffff
jne 0x140079e9c
lea rcx, str.Create_Socket_Error_
call fcn.1400747ac
mov ecx, 1
call fcn.1400733f2
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x140079ed6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Server_Bind_Failed:__d
call fcn.1400747ac
mov ecx, 1
call fcn.1400733f2
mov edx, 0xa
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x140079f0b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Server_Listen_Failed:__d
call fcn.1400747ac
mov ecx, 1
call fcn.1400733f2
xor eax, eax
cmp eax, 1
je 0x14007a131
lea rcx, str.Listening_To_Client..._n
call fcn.1400747ac
mov dword [rbp + 0x264], reloc.WS2_32.dll_recv
lea r8, [rbp + 0x264]
lea rdx, [rbp + 0x238]
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rbp + 0x288], rax
cmp qword [rbp + 0x288], 0xffffffffffffffff
jne 0x140079f71
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Server_Accept_Failed:__d
call fcn.1400747ac
jmp 0x14007a131
mov r8d, 0x400
xor edx, edx
lea rcx, [rbp + 0x2b0]
call fcn.1400754ef
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rbp + 0x2b0]
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jge 0x140079fb7
lea rcx, str.Server_Receive_Data_Failed_
call fcn.1400747ac
jmp 0x14007a131
mov r8d, 0x201
xor edx, edx
lea rcx, [rbp + 0x6d0]
call fcn.1400754ef
lea rcx, [rbp + 0x2b0]
call fcn.140074671
cmp rax, 0x200
jbe 0x140079fec
mov qword [rbp + 0xce8], 0x200
jmp 0x140079fff
lea rcx, [rbp + 0x2b0]
call fcn.140074671
mov qword [rbp + 0xce8], rax
mov r8, qword [rbp + 0xce8]
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp + 0x6d0]
call fcn.140073c99
lea rdx, [rbp + 0x6d0]
lea rcx, [0x1401672c4]
call fcn.1400747ac
lea rdx, [0x1401672c8]
lea rcx, [rbp + 0x6d0]
call fcn.140073636
mov qword [rbp + 0x8f8], rax
cmp qword [rbp + 0x8f8], 0
jne 0x14007a068
lea rdx, [rbp + 0x6d0]
lea rcx, str.File:__s_Not_Found_n
call fcn.1400747ac
jmp 0x14007a11f
mov r8d, 0x400
xor edx, edx
lea rcx, [rbp + 0x2b0]
call fcn.1400754ef
mov dword [rbp + 0x914], 0
mov r9, qword [rbp + 0x8f8]
mov r8d, 0x400
mov edx, 1
lea rcx, [rbp + 0x2b0]
call fcn.140073e9c
mov dword [rbp + 0x914], eax
cmp dword [rbp + 0x914], 0
jle 0x14007a100
xor r9d, r9d
mov r8d, dword [rbp + 0x914]
lea rdx, [rbp + 0x2b0]
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x14007a0ea
lea rdx, [rbp + 0x6d0]
lea rcx, str.Send_File:__s_Failed_n
call fcn.1400747ac
jmp 0x14007a100
mov r8d, 0x400
xor edx, edx
lea rcx, [rbp + 0x2b0]
call fcn.1400754ef
jmp 0x14007a086
mov rcx, qword [rbp + 0x8f8]
call fcn.1400743f1
lea rdx, [rbp + 0x6d0]
lea rcx, str.File:__s_Transfer_Successful__n
call fcn.1400747ac
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x140079f0b
mov rcx, qword [rbp + 0x218]
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, [0x140167170]
call fcn.1400758cd
mov rax, rdi
mov rcx, qword [rbp + 0xcf0]
xor rcx, rbp
call fcn.14007482e
lea rsp, [rbp + 0xd08]
pop rdi
pop rbp
ret