Function at 0x1400013b4
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Create thread
Initialize winsock library
Receive data
Receive data on socket

Disassembly:
push rbp
sub rsp, 0x420
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x3b0], ecx
mov qword [rbp + 0x3b8], rdx
call sym.__main
lea rax, [rbp + 0x1e0]
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
mov dword [rbp + 0x39c], eax
cmp dword [rbp + 0x39c], 0
je 0x14000141e
mov eax, dword [rbp + 0x39c]
mov edx, eax
lea rax, str.Startup_failed:__d_n
mov rcx, rax
call sym.printf
mov eax, 1
jmp 0x1400017e7
mov r8d, 6
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_socket]
call rax
mov qword [rbp + 0x1d8], rax
mov rax, qword [rbp + 0x1d8]
cmp rax, 0xffffffffffffffff
jne 0x140001478
mov rax, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rax
mov edx, eax
lea rax, str.Error_with_construction:__s_n
mov rcx, rax
call sym.printf
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov eax, 1
jmp 0x1400017e7
mov word [rbp + 0x1c0], 2
lea rax, str.192.168.136.148
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_inet_addr]
call rax
mov dword [rbp + 0x1c4], eax
mov ecx, 0x63dd
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp + 0x1c2], ax
mov rax, qword [rbp + 0x1d8]
lea rdx, [rbp + 0x1c0]
mov r8d, 0x10
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_connect]
call rax
mov dword [rbp + 0x39c], eax
cmp dword [rbp + 0x39c], 0xffffffff
jne 0x14000154a
mov rax, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rax
mov dword [rbp + 0x38c], eax
cmp dword [rbp + 0x38c], 0x274d
jne 0x14000150a
lea rax, str.Connect_failed:_No_server_found__n
mov rcx, rax
call sym.printf
jmp 0x140001524
mov rax, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rax
mov edx, eax
lea rax, str.Connect_failed:__d_n
mov rcx, rax
call sym.printf
mov rax, qword [rbp + 0x1d8]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov eax, 1
jmp 0x1400017e7
mov rax, qword [rbp + 0x1d8]
cmp rax, 0xffffffffffffffff
jne 0x140001584
mov rax, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rax
mov edx, eax
lea rax, str.Connect_failed:__d_n
mov rcx, rax
call sym.printf
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov eax, 1
jmp 0x1400017e7
mov r8d, 0x63dd
lea rax, str.192.168.136.148
mov rdx, rax
lea rax, str.Successfully_connected_to:__s:_d_n
mov rcx, rax
call sym.printf
mov byte [rbp + 0x387], 1
movzx eax, byte [rbp + 0x387]
movzx eax, al
xchg byte [0x14000b030], al
lea rdx, [rbp + 0x1d8]
lea rax, [rbp + 0x1bc]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rdx
lea r8, [sym.sendThreadFunc]
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp + 0x390], rax
cmp qword [rbp + 0x390], 0
je 0x14000161c
mov eax, dword [rbp + 0x1bc]
mov edx, eax
lea rax, str.Send_thread_startet_with_thread_ID:__d_n
mov rcx, rax
call sym.printf
jmp 0x140001636
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Send_thread_failed:__d_n
mov rcx, rax
call sym.printf
mov rax, qword [rbp + 0x1d8]
lea rdx, [rbp - 0x50]
mov r9d, 0
mov r8d, 0x200
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
mov dword [rbp + 0x39c], eax
mov eax, dword [rbp + 0x39c]
cdqe
mov byte [rbp + rax - 0x50], 0
cmp dword [rbp + 0x39c], 0
jle 0x14000168d
lea rax, [rbp - 0x50]
mov rdx, rax
lea rax, [0x1400080e8]
mov rcx, rax
call sym.printf
jmp 0x1400016ef
cmp dword [rbp + 0x39c], 0
jne 0x1400016be
lea rax, str.Connection_closed__n
mov rcx, rax
call sym.printf
mov byte [rbp + 0x388], 0
movzx eax, byte [rbp + 0x388]
movzx eax, al
xchg byte [0x14000b030], al
jmp 0x1400016ef
mov rax, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rax
mov edx, eax
lea rax, str.Receive_failed:__d_n
mov rcx, rax
call sym.printf
mov byte [rbp + 0x389], 0
movzx eax, byte [rbp + 0x389]
movzx eax, al
xchg byte [0x14000b030], al
movzx eax, byte [0x14000b030]
mov byte [rbp + 0x38a], al
movzx eax, byte [rbp + 0x38a]
test al, al
je 0x140001714
cmp dword [rbp + 0x39c], 0
jg 0x140001636
mov byte [rbp + 0x38b], 0
movzx eax, byte [rbp + 0x38b]
movzx eax, al
xchg byte [0x14000b030], al
mov rax, qword [rbp + 0x390]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
test eax, eax
je 0x140001753
lea rax, str.Send_thread_closed_successfully._n
mov rcx, rax
call sym.printf
jmp 0x140001762
lea rax, str.Closing_the_send_thread_failed__n
mov rcx, rax
call sym.printf
mov rax, qword [rbp + 0x1d8]
mov edx, 2
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_shutdown]
call rax
mov dword [rbp + 0x39c], eax
cmp dword [rbp + 0x39c], 0xffffffff
jne 0x1400017c6
mov rax, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rax
mov edx, eax
lea rax, str.Shutdown_failed:__d_n
mov rcx, rax
call sym.printf
mov rax, qword [rbp + 0x1d8]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov eax, 1
jmp 0x1400017e7
mov rax, qword [rbp + 0x1d8]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov eax, 0
add rsp, 0x420
pop rbp
ret