Function at 0x140001070
Capabilities:
Connect socket
Create thread
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x210
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x200], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x140003400]
lea rcx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
xor edx, edx
lea rcx, str.ConsoleWindowClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x202
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400012bf
mov edi, 2
lea rbp, [0x140001340]
xor esi, esi
lea rcx, str.Creating_connection_socket..._n
call fcn.140001010
xor r8d, r8d
mov edx, 1
mov ecx, edi
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001324
lea rcx, str.Connection_socket_initialized..._n
call fcn.140001010
xorps xmm0, xmm0
lea rcx, str.192.168.1.35
movups xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x50], di
call qword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, 0x2329
mov dword [rsp + 0x54], eax
call qword [sym.imp.WS2_32.dll_htons]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov word [rsp + 0x52], ax
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x1400011bc
nop
mov r8d, 0x2329
lea rdx, str.192.168.1.35
lea rcx, str.Attempting_connection_to_server..._IP:__s:_d_n
call fcn.140001010
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x140001180
lea rcx, str.Connection_successful._n
call fcn.140001010
mov ecx, reloc.WS2_32.dll_recv
mov byte [0x140005704], 1
call fcn.140001740
lea rcx, [rsp + 0x48]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x1400016e0]
xor ecx, ecx
mov dword [rsp + 0x20], esi
xor edx, edx
mov qword [rax], rbx
mov qword [rax + 8], rbp
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140001314
cmp dword [rsp + 0x48], esi
je 0x140001308
movaps xmm0, xmmword [rsp + 0x40]
lea rcx, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140001308
xorps xmm0, xmm0
mov rcx, rbx
movdqa xmmword [rsp + 0x40], xmm0
call fcn.1400013f0
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp dword [rsp + 0x48], esi
jne 0x140001301
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x140003400]
lea rcx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
xor edx, edx
lea rcx, str.ConsoleWindowClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x202
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140001104
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.WSAStartup_failed:__ld_n
call fcn.140001010
mov eax, 1
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.140001720
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x48], esi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Failed_to_create_socket:__ld_n
call fcn.140001010
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x1400012d3