Function at 0x14001cae0
Capabilities:
Connect socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x200
mov rax, qword [0x140063828]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov ecx, 0x12c
mov rbx, rdx
call fcn.14004c110
mov esi, 0x1f4
lea rdx, [rsp + 0x50]
mov rdi, rax
lea ecx, [rsi + 0xe]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x14001cc24
mov ebp, 2
lea edx, [rax + 1]
mov ecx, ebp
xor r8d, r8d
call qword [sym.imp.WSOCK32.dll_socket]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14001cc1e
lea r9, [rsp + 0x34]
mov dword [rsp + 0x34], 0x2328
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1006
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_setsockopt]
test eax, eax
js 0x14001cc15
lea r9, [rsp + 0x34]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1005
mov rcx, r14
call qword [sym.imp.WSOCK32.dll_setsockopt]
test eax, eax
js 0x14001cc15
xor eax, eax
mov rcx, rbx
mov qword [rsp + 0x38], rax
mov word [rsp + 0x38], bp
mov qword [rsp + 0x40], rax
call qword [sym.imp.WSOCK32.dll_gethostbyname]
test rax, rax
je 0x14001cc15
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov ecx, 0x2378
mov dword [rsp + 0x3c], eax
call qword [sym.imp.WSOCK32.dll_htons]
lea r8d, [rbp + 0xe]
mov rcx, r14
lea rdx, [rsp + 0x38]
mov word [rsp + 0x3a], ax
call qword [sym.imp.WSOCK32.dll_connect]
mov ebx, eax
call fcn.14001b6d0
mov rcx, rax
cmp ebx, 0xffffffff
jne 0x14001cc52
lea rdx, str.Server_Connection_Failed_n
call fcn.14001dce0
mov rcx, r14
call qword [sym.imp.WSOCK32.dll_closesocket]
call qword [sym.imp.WSOCK32.dll_WSACleanup]
xor eax, eax
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.14004c1b0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rdx, str.Locker_Server_Connected_n
call fcn.14001dce0
xor r9d, r9d
mov byte [rsp + 0x30], 0x77
lea rdx, [rsp + 0x30]
mov rcx, r14
lea r8d, [r9 + 1]
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
jne 0x14001cc8e
call fcn.14001b6d0
mov rcx, rax
lea rdx, str.S_Connection_Failed_n
jmp 0x14001cc10
xor ebp, ebp
mov ebx, ebp
movsxd rax, esi
mov r12d, ebx
cmp byte [rax + rdi - 1], 0x3d
je 0x14001ccdd
cmp esi, 0x1f4
mov r15d, ebp
mov r8d, 0x12c
mov rcx, r14
cmovne r15d, esi
xor r9d, r9d
movsxd rdx, r15d
add rdx, rdi
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x14001cd65
inc ebx
lea esi, [r15 + rax]
cmp r12d, 3
jge 0x14001cd51
test esi, esi
jne 0x14001cc92
mov rcx, r14
call qword [sym.imp.WSOCK32.dll_closesocket]
call qword [sym.imp.WSOCK32.dll_WSACleanup]
test esi, esi
je 0x14001cc24
cmp esi, 0x1f4
je 0x14001cc24
movsxd rax, esi
mov rbx, 0xffffffffffffffff
mov rcx, rbx
mov byte [rax + rdi - 1], bpl
inc rcx
cmp byte [rdi + rcx], bpl
jne 0x14001cd12
movsxd r8, ecx
test ecx, ecx
jle 0x14001cd38
mov rax, rbp
cmp byte [rax + rdi], 0x20
lea edx, [rbp + 1]
je 0x14001cd79
inc rax
mov ebp, edx
cmp rax, r8
jl 0x14001cd25
call fcn.14001b6d0
mov rcx, rax
lea rdx, str.Wrong_pool_n
call fcn.14001dce0
jmp 0x14001cc24
call fcn.14001b6d0
mov rcx, rax
lea rdx, str.Not_exist__n
jmp 0x14001cc10
call fcn.14001b6d0
mov rcx, rax
lea rdx, str.R_Connection_Failed_n
jmp 0x14001cc10
movsxd rax, ebp
mov byte [rax + rdi], 0
cmp edx, ecx
jge 0x14001cd38
lea eax, [rbp + 1]
movsxd rsi, eax
add rsi, rdi
je 0x14001cd38
mov ecx, 0x18
call fcn.14004c0cc
mov rcx, rax
mov qword [rax], rdi
mov qword [rax + 8], rsi
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14001cda3
cmp rbx, 0x32
setbe al
mov byte [rcx + 0x10], al
mov rax, rcx
jmp 0x14001cc26