Function at 0x1800ae3e1
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status
Set socket configuration

Disassembly:
jmp 0x180114890
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x588
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xf6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x5a8]
mov rax, qword [0x18027a640]
xor rax, rbp
mov qword [rbp + 0x548], rax
lea rcx, reloc.WSOCK32.dll_accept
call fcn.1800b4197
mov r8d, 6
mov edx, 1
mov ecx, 2
call fcn.1800ae459
mov dword [rbp + 0x2a4], eax
cmp dword [rbp + 0x2a4], 0
jge 0x18011495b
lea rcx, str.GGGGG
call fcn.1800b0a97
mov eax, dword [0x180279118]
add eax, 0xb
lea r9, str.D:WorksQDPQDPV2.1.3_apex_sourcebase_tcpnetworkTcpClient.cpp
mov r8d, eax
lea rdx, str.Can_not_create_socket_for_tcp_CClient
lea rcx, str.DesignError:_s_in_line__d_of_file__s_n
call fcn.1800afda9
mov ecx, 1
call fcn.1800b4bbf
mov rcx, rax
call fcn.1800b28d8
mov qword [rbp + 0x2c8], 0
mov rax, qword [rbp + 0x2c8]
mov byte [rax], 0
mov dword [rbp + 0x2e4], 1
movsxd rax, dword [rbp + 0x2a4]
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x2e4]
mov r8d, 4
mov edx, 0xffff
mov rcx, rax
call fcn.1800b2cc0
mov dword [rbp + 0x304], 1
movsxd rax, dword [rbp + 0x2a4]
lea r8, [rbp + 0x304]
mov edx, 0x8004667e
mov rcx, rax
call fcn.1800b33aa
test eax, eax
jge 0x180114a26
call fcn.1800b3d55
cmp eax, 4
jne 0x1801149c3
jmp 0x18011498e
mov eax, dword [0x180279118]
add eax, 0x26
lea r9, str.D:WorksQDPQDPV2.1.3_apex_sourcebase_tcpnetworkTcpClient.cpp
mov r8d, eax
lea rdx, str.Can_not_set_FIONBIO_for_socket
lea rcx, str.RuntimeError:_s_in_line__d_of_file__s_n
call fcn.1800afda9
mov ecx, 1
call fcn.1800b4bbf
mov rcx, rax
call fcn.1800b28d8
mov qword [rbp + 0x328], 0
mov rax, qword [rbp + 0x328]
mov byte [rax], 0
movsxd rax, dword [rbp + 0x2a4]
mov rcx, rax
call fcn.1800b12f3
xor eax, eax
jmp 0x180114c6d
jmp 0x180114a2d
mov eax, 2
mov word [rbp + 8], ax
mov rcx, qword [rbp + 0x578]
call fcn.1800b1e1f
test eax, eax
jne 0x180114a93
mov eax, dword [0x180279118]
add eax, 0x33
lea r9, str.D:WorksQDPQDPV2.1.3_apex_sourcebase_tcpnetworkTcpClient.cpp
mov r8d, eax
lea rdx, str.Invalid_port
lea rcx, str.DesignError:_s_in_line__d_of_file__s_n
call fcn.1800afda9
mov ecx, 1
call fcn.1800b4bbf
mov rcx, rax
call fcn.1800b28d8
mov qword [rbp + 0x348], 0
mov rax, qword [rbp + 0x348]
mov byte [rax], 0
mov rcx, qword [rbp + 0x578]
call fcn.1800b1e1f
movzx ecx, ax
call fcn.1800b3463
mov word [rbp + 0xa], ax
mov rcx, qword [rbp + 0x578]
call fcn.1800ac17c
test rax, rax
je 0x180114ace
mov rcx, qword [rbp + 0x578]
call fcn.1800ac17c
mov qword [rbp + 0x38], rax
jmp 0x180114ad9
lea rax, str.127.0.0.1
mov qword [rbp + 0x38], rax
mov rcx, qword [rbp + 0x38]
call fcn.1800af77d
mov dword [rbp + 0xc], eax
movsxd rax, dword [rbp + 0x2a4]
mov r8d, reloc.WSOCK32.dll_recv
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.1800b0227
mov dword [rbp + 0x364], eax
cmp dword [rbp + 0x364], 0
jne 0x180114b3a
xor edx, edx
mov rcx, qword [rbp + 0x570]
call fcn.1800b128f
mov rax, qword [rbp + 0x570]
mov rax, qword [rax]
mov edx, dword [rbp + 0x2a4]
mov rcx, qword [rbp + 0x570]
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x180114c6d
mov dword [rbp + 0x60], 0
cmp dword [rbp + 0x60], 0x40
jae 0x180114b5e
movsxd rax, dword [rbp + 0x2a4]
mov ecx, dword [rbp + 0x60]
mov qword [rbp + rcx*8 + 0x68], rax
mov eax, dword [rbp + 0x60]
inc eax
mov dword [rbp + 0x60], eax
xor eax, eax
test eax, eax
jne 0x180114b41
mov dword [rbp + 0x288], 5
mov dword [rbp + 0x28c], 0
mov eax, dword [rbp + 0x2a4]
inc eax
lea rcx, [rbp + 0x288]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8, [rbp + 0x60]
xor edx, edx
mov ecx, eax
call fcn.1800b35b2
mov dword [rbp + 0x364], eax
cmp dword [rbp + 0x364], 0
jne 0x180114bd4
lea rdx, str.Can_not_connect_to_CServer_due_to_timeout
mov rcx, qword [rbp + 0x570]
call fcn.1800b128f
movsxd rax, dword [rbp + 0x2a4]
mov rcx, rax
call fcn.1800b12f3
xor eax, eax
jmp 0x180114c6d
cmp dword [rbp + 0x364], 0
jle 0x180114c49
movsxd rax, dword [rbp + 0x2a4]
lea rdx, [rbp + 0x60]
mov rcx, rax
call fcn.1800ac212
test eax, eax
je 0x180114c49
mov dword [rbp + 0x3b4], reloc.WSOCK32.dll_recv
movsxd rax, dword [rbp + 0x2a4]
lea r8, [rbp + 0x3b4]
lea rdx, [rbp + 0x388]
mov rcx, rax
call fcn.1800ae576
test eax, eax
jne 0x180114c49
xor edx, edx
mov rcx, qword [rbp + 0x570]
call fcn.1800b128f
mov rax, qword [rbp + 0x570]
mov rax, qword [rax]
mov edx, dword [rbp + 0x2a4]
mov rcx, qword [rbp + 0x570]
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x180114c6d
movsxd rax, dword [rbp + 0x2a4]
mov rcx, rax
call fcn.1800b12f3
lea rdx, str.Can_not_connect_to_CServer
mov rcx, qword [rbp + 0x570]
call fcn.1800b128f
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x18022a7e0]
call fcn.1800b29eb
mov rax, rdi
mov rcx, qword [rbp + 0x548]
xor rcx, rbp
call fcn.1800afed5
lea rsp, [rbp + 0x558]
pop rdi
pop rbp
ret