Function at 0x10066c70
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create thread
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b9c37
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x10248f44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
xorps xmm0, xmm0
mov dword [ebp - 0x1bc], esi
movq qword [esi], xmm0
lea eax, [esi + 8]
mov dword [ebp - 4], 0
push 2
push eax
call fcn.1018d17a
lea eax, [esi + 0x48]
push eax
call fcn.1018cae6
add esp, 0xc
lea eax, [esi + 0x74]
mov byte [esi + 0x70], 0
push eax
call fcn.1018cae6
add esp, 4
lea eax, [esi + 0x9c]
push 2
push eax
call fcn.1018d17a
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 0
xor eax, eax
xorps xmm0, xmm0
mov word [esi + 0xd8], ax
movups xmmword [esi + 0xdc], xmm0
lea eax, [esi + 0xf0]
mov dword [esi + 0xec], 0xffffffff
push 2
push eax
call fcn.1018d17a
add esp, 0x10
lea eax, [ebp - 0x1b8]
mov byte [ebp - 4], 8
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x5e
push str.ipcMag_contruct__d
call fcn.10088f90
push 0x1000000
call fcn.1019ce70
add esp, 0xc
mov dword [esi + 0x38], eax
test eax, eax
je 0x10066d81
mov dword [esi + 0x3c], 0x1000000
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
xor eax, eax
mov word [esi + 0xd8], ax
call fcn.10070e10
test eax, eax
je 0x10066d9e
mov ax, word [eax + 0x18]
mov word [esi + 0xd8], ax
push 0x67
push str.ipcMag_contruct__d
call fcn.10088f90
add esp, 8
cmp dword [esi + 0xec], 0xffffffff
jne 0x10066e35
cmp word [esi + 0xd8], 0
je 0x10066e35
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0xec], eax
cmp eax, 0xffffffff
je 0x10066e35
xorps xmm0, xmm0
mov eax, 2
push str.127.0.0.1
movlpd qword [ebp - 0x18], xmm0
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1c], eax
movzx eax, word [esi + 0xd8]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x20]
push 0x10
push eax
push dword [esi + 0xec]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x10066e35
push dword [esi + 0xec]
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0xec], 0xffffffff
push 0x69
push str.ipcMag_contruct__d
call fcn.10088f90
push 0x6b
push str.ipcMag_contruct__d
call fcn.10088f90
push 4
call fcn.1018a730
add esp, 0x14
mov dword [ebp - 0x24], eax
mov dword [eax], esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
push ecx
push 0
push eax
push 0x1006a2d0
push 0
push 0
call fcn.1019d81f
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10066f9c
mov byte [ebp - 4], 8
cmp dword [esi + 4], 0
jne 0x10066faa
mov eax, dword [ebp - 0x14]
push 0x6d
push str.ipcMag_contruct__d
mov dword [esi], ecx
mov dword [esi + 4], eax
call fcn.10088f90
push 4
call fcn.1018a730
add esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [eax], esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
push ecx
push 0
push eax
push 0x1006a330
push 0
push 0
call fcn.1019d81f
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10066f9c
mov byte [ebp - 4], 8
cmp dword [esi + 0xe0], 0
jne 0x10066faf
mov eax, dword [ebp - 0x14]
push 0x6f
push str.ipcMag_contruct__d
mov dword [esi + 0xdc], ecx
mov dword [esi + 0xe0], eax
call fcn.10088f90
push 4
call fcn.1018a730
add esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [eax], esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
push ecx
push 0
push eax
push 0x1006a390
push 0
push 0
call fcn.1019d81f
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10066f9c
mov byte [ebp - 4], 8
cmp dword [esi + 0xe8], 0
jne 0x10066fb4
mov eax, dword [ebp - 0x14]
push 0x71
push str.ipcMag_contruct__d
mov dword [esi + 0xe4], ecx
mov dword [esi + 0xe8], eax
call fcn.10088f90
add esp, 8
mov ecx, esi
call fcn.10068280
push 0x73
push str.ipcMag_contruct__d
call fcn.10088f90
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1018a722
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x14], 0
call fcn.1018ce60
call fcn.1019d8b0
call fcn.1019d8b0
call fcn.1019d8b0
int3