Function at 0x11c2ef90
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11ca8b7b
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push ebx
push 0
push str.ConnectEx
call fcn.11c33db0
add esp, 8
test eax, eax
je 0x11c2efda
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
add esp, 0x1b0
ret
push 0xfff7
lea ecx, [esp + 0x10]
call fcn.11c3db60
mov eax, dword [0x11cd69b8]
mov dword [esp + 0x1b0], 0
test eax, eax
je 0x11c2f010
push str.CCallback::InstallConnectEx__
push str.Connectex1
push 4
call fcn.11c154f0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x11c2f034
mov eax, dword [0x11cd69b8]
test eax, eax
je 0x11c2f064
push str.CCallback::InstallConnectEx___WSAStartup_Error
jmp 0x11c2f055
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x11c2f090
mov eax, dword [0x11cd69b8]
test eax, eax
je 0x11c2f064
push str.CCallback::InstallConnectEx___socket_Error
push str.Connectex1
push 4
call fcn.11c154f0
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.11c3db90
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
add esp, 0x1b0
ret
push esi
xor esi, esi
push esi
lea ecx, [esp + 0x10]
push esi
push ecx
lea edx, [esp + 0x14]
push 4
push edx
push 0x10
push 0x11cae550
push 0xc8000006
push ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
jne 0x11c2f1ec
mov eax, dword [0x11cd69b8]
test eax, eax
je 0x11c2f0fa
mov edx, dword [esp + 8]
lea eax, [esp + 8]
neg eax
sbb eax, eax
and eax, edx
push eax
lea eax, [esp + 0xc]
push eax
push 0x865
push str._CCallback::WSAIoctlCallback__Connectex_Line:_d__Get_Connectex_OutBuff__08x__OriPoi__08x_
push str.Connectex1
push 4
call fcn.11c154f0
add esp, 0x18
lea ecx, [esp + 8]
test ecx, ecx
je 0x11c2f20b
mov eax, dword [0x11cd69b8]
test eax, eax
je 0x11c2f123
push str.TMAILHOOK:_Install_ConnectEx_1000_n
push str.Connectex1
push 4
call fcn.11c154f0
add esp, 0xc
mov eax, dword [esp + 8]
test eax, eax
je 0x11c2f20b
mov eax, dword [0x11cd69b8]
test eax, eax
je 0x11c2f169
push str.TMAILHOOK:_Install_ConnectEx_1001_n
push str.Connectex1
push 4
call fcn.11c154f0
mov eax, dword [0x11cd69b8]
add esp, 0xc
test eax, eax
je 0x11c2f169
push str.TMAILHOOK:_Install_ConnectEx_1002_n
push str.Connectex1
push 4
call fcn.11c154f0
add esp, 0xc
push 8
call fcn.11c3d7a0
add esp, 4
test eax, eax
jne 0x11c2f1db
mov eax, dword [0x11cd69b8]
test eax, eax
je 0x11c2f194
push str.TMAILHOOK:_Install_ConnectEx_1003_n
push str.Connectex1
push 4
call fcn.11c154f0
add esp, 0xc
mov edx, dword [esp + 8]
push 0x64
push 0
push 0
push 0x11c2ef60
push edx
push 0x11cc2504
push str.Mswsock.dll
call fcn.11c3d800
mov esi, eax
mov eax, dword [0x11cd69b8]
add esp, 0x1c
test eax, eax
je 0x11c2f1d6
push esi
push str.TMAILHOOK:_Install_ConnectEx_Result___lu__n
push str.Connectex
push 4
call fcn.11c154f0
add esp, 0x10
call fcn.11c3d7c0
mov eax, dword [0x11cd69b8]
test eax, eax
je 0x11c2f20b
push esi
push str.TMAILHOOK:_Install_ConnectEx_End___lu__n
jmp 0x11c2f1fc
mov ecx, dword [0x11cd69b8]
test ecx, ecx
je 0x11c2f20b
push eax
push str.CCallback::InstallConnectEx___WSAIoctl_error:_d
push str.Connectex1
push 4
call fcn.11c154f0
add esp, 0x10
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1b4], 0xffffffff
call fcn.11c3db90
mov ecx, dword [esp + 0x1ac]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b0
ret