Function at 0x1800ae382
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 0x18010e410
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x7c8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x156
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x7e8]
mov rax, qword [0x18027a640]
xor rax, rbp
mov qword [rbp + 0x788], rax
lea rcx, reloc.WSOCK32.dll_accept
call fcn.1800b4197
mov rax, qword [rbp + 0x7b8]
mov dword [rax], 0
mov rax, qword [rbp + 0x7c0]
mov dword [rax], 0
call fcn.1800b0b23
cdq
mov ecx, 0x32
idiv ecx
mov eax, edx
mov rcx, qword [rbp + 0x7b0]
add eax, dword [rcx + 0x3c]
mov rcx, qword [rbp + 0x7b0]
mov dword [rcx + 0x3c], eax
mov ecx, 0x64
call fcn.1800af86d
mov qword [rbp + 0x778], rax
mov rax, qword [rbp + 0x778]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x7b0]
mov r8d, dword [rax + 0x3c]
lea rdx, str.tcp:__127.0.0.1:_d
mov rcx, qword [rbp + 8]
call fcn.1800b37e7
call fcn.1800b0b23
mov r8d, eax
mov rdx, qword [rbp + 8]
lea rcx, str.pSvc_s_getpid_d_n
call fcn.1800afda9
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x28]
call fcn.1800adc9d
nop
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x78]
call fcn.1800b05a1
nop
mov r8d, 6
mov edx, 1
mov ecx, 2
call fcn.1800ae459
mov dword [rbp + 0x104], eax
cmp dword [rbp + 0x104], 0
jge 0x18010e57c
mov eax, dword [0x180279100]
add eax, 0x4b
lea r9, str.D:WorksQDPQDPV2.1.3_apex_sourcebaseeventPipeEventHandler.cpp
mov r8d, eax
lea rdx, str.Can_not_create_socket_for_Pipe
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 + 0x128], 0
mov rax, qword [rbp + 0x128]
mov byte [rax], 0
mov dword [rbp + 0x144], 1
movsxd rax, dword [rbp + 0x104]
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x144]
mov r8d, 4
mov edx, 0xffff
mov rcx, rax
call fcn.1800b2cc0
mov dword [rbp + 0x164], 1
movsxd rax, dword [rbp + 0x104]
lea r8, [rbp + 0x164]
mov edx, 0x8004667e
mov rcx, rax
call fcn.1800b33aa
test eax, eax
jge 0x18010e633
call fcn.1800b3d55
cmp eax, 4
jne 0x18010e5e4
jmp 0x18010e5af
mov eax, dword [0x180279100]
add eax, 0x58
lea r9, str.D:WorksQDPQDPV2.1.3_apex_sourcebaseeventPipeEventHandler.cpp
mov r8d, eax
lea rdx, str.Can_not_set_FIONBIO_n
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 + 0x188], 0
mov rax, qword [rbp + 0x188]
mov byte [rax], 0
jmp 0x18010e635
jmp 0x18010e63a
jmp 0x18010e5af
mov eax, 2
mov word [rbp + 0xb8], ax
lea rcx, [rbp + 0x28]
call fcn.1800b1e1f
movzx ecx, ax
call fcn.1800b3463
mov word [rbp + 0xba], ax
lea rax, str.127.0.0.1
mov qword [rbp + 0xe8], rax
mov rcx, qword [rbp + 0xe8]
call fcn.1800af77d
mov dword [rbp + 0xbc], eax
movsxd rax, dword [rbp + 0x104]
mov r8d, reloc.WSOCK32.dll_recv
lea rdx, [rbp + 0xb8]
mov rcx, rax
call fcn.1800b0227
mov dword [rbp + 0x1a4], eax
cmp dword [rbp + 0x1a4], 0
jne 0x18010e6b8
mov rax, qword [rbp + 0x7c0]
mov ecx, dword [rbp + 0x104]
mov dword [rax], ecx
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rbp + 0x214], reloc.WSOCK32.dll_recv
lea rcx, [rbp + 0x78]
call fcn.1800b478c
cdqe
lea r8, [rbp + 0x214]
lea rdx, [rbp + 0x1e8]
mov rcx, rax
call fcn.1800ac1b8
mov dword [rbp + 0x1c4], eax
cmp dword [rbp + 0x1c4], 0
jge 0x18010e74c
mov eax, dword [0x180279100]
add eax, 0x72
lea r9, str.D:WorksQDPQDPV2.1.3_apex_sourcebaseeventPipeEventHandler.cpp
mov r8d, eax
lea rdx, str.create_pipe_server_failed__
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 + 0x238], 0
mov rax, qword [rbp + 0x238]
mov byte [rax], 0
jmp 0x18010e75b
mov rax, qword [rbp + 0x7b8]
mov ecx, dword [rbp + 0x1c4]
mov dword [rax], ecx
mov rax, qword [rbp + 0x7c0]
cmp dword [rax], 0
jle 0x18010e77f
lea rcx, [rbp + 0x78]
call fcn.1800afca0
nop
lea rcx, [rbp + 0x28]
call fcn.1800af5c5
jmp 0x18010e94f
mov dword [rbp + 0x260], 0
cmp dword [rbp + 0x260], 0x40
jae 0x18010e7b5
movsxd rax, dword [rbp + 0x104]
mov ecx, dword [rbp + 0x260]
mov qword [rbp + rcx*8 + 0x268], rax
mov eax, dword [rbp + 0x260]
inc eax
mov dword [rbp + 0x260], eax
xor eax, eax
test eax, eax
jne 0x18010e789
mov dword [rbp + 0x488], 5
mov dword [rbp + 0x48c], 0
mov eax, dword [rbp + 0x104]
inc eax
lea rcx, [rbp + 0x488]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8, [rbp + 0x260]
xor edx, edx
mov ecx, eax
call fcn.1800b35b2
mov dword [rbp + 0x1a4], eax
cmp dword [rbp + 0x1a4], 0
jne 0x18010e86c
mov eax, dword [0x180279100]
add eax, 0x85
lea r9, str.D:WorksQDPQDPV2.1.3_apex_sourcebaseeventPipeEventHandler.cpp
mov r8d, eax
lea rdx, str.create_pipe_client_failed__
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 + 0x4a8], 0
mov rax, qword [rbp + 0x4a8]
mov byte [rax], 0
lea rcx, [rbp + 0x78]
call fcn.1800afca0
nop
lea rcx, [rbp + 0x28]
call fcn.1800af5c5
jmp 0x18010e94f
cmp dword [rbp + 0x1a4], 0
jle 0x18010e8de
movsxd rax, dword [rbp + 0x104]
lea rdx, [rbp + 0x260]
mov rcx, rax
call fcn.1800ac212
test eax, eax
je 0x18010e8de
mov dword [rbp + 0x4f4], reloc.WSOCK32.dll_recv
movsxd rax, dword [rbp + 0x104]
lea r8, [rbp + 0x4f4]
lea rdx, [rbp + 0x4c8]
mov rcx, rax
call fcn.1800ae576
test eax, eax
jne 0x18010e8de
mov rax, qword [rbp + 0x7c0]
mov ecx, dword [rbp + 0x104]
mov dword [rax], ecx
lea rcx, [rbp + 0x78]
call fcn.1800afca0
nop
lea rcx, [rbp + 0x28]
call fcn.1800af5c5
jmp 0x18010e94f
movsxd rax, dword [rbp + 0x104]
mov rcx, rax
call fcn.1800b12f3
mov eax, dword [0x180279100]
add eax, 0x95
lea r9, str.D:WorksQDPQDPV2.1.3_apex_sourcebaseeventPipeEventHandler.cpp
mov r8d, eax
lea rdx, str.create_Pipe_client_failed__
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 + 0x518], 0
mov rax, qword [rbp + 0x518]
mov byte [rax], 0
lea rcx, [rbp + 0x78]
call fcn.1800afca0
nop
lea rcx, [rbp + 0x28]
call fcn.1800af5c5
lea rcx, [rbp - 0x30]
lea rdx, reloc.WSOCK32.dll_inet_ntoa
call fcn.1800b29eb
mov rcx, qword [rbp + 0x788]
xor rcx, rbp
call fcn.1800afed5
lea rsp, [rbp + 0x798]
pop rdi
pop rbp
ret