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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11d1bcbb
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push ebx
push 0
push str.ConnectEx
call fcn.11ca6220
add esp, 8
test eax, eax
je 0x11ca073a
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.11cb0040
mov eax, dword [0x11d49ee0]
mov dword [esp + 0x1b0], 0
test eax, eax
je 0x11ca0770
push str.CCallback::InstallConnectEx__
push str.Connectex1
push 4
call fcn.11c854f0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x11ca0794
mov eax, dword [0x11d49ee0]
test eax, eax
je 0x11ca07c4
push str.CCallback::InstallConnectEx___WSAStartup_Error
jmp 0x11ca07b5
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x11ca07f0
mov eax, dword [0x11d49ee0]
test eax, eax
je 0x11ca07c4
push str.CCallback::InstallConnectEx___socket_Error
push str.Connectex1
push 4
call fcn.11c854f0
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.11cb0070
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 0x11d21560
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 0x11ca094c
mov eax, dword [0x11d49ee0]
test eax, eax
je 0x11ca085a
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 0x893
push str._CCallback::WSAIoctlCallback__Connectex_Line:_d__Get_Connectex_OutBuff__08x__OriPoi__08x_
push str.Connectex1
push 4
call fcn.11c854f0
add esp, 0x18
lea ecx, [esp + 8]
test ecx, ecx
je 0x11ca096b
mov eax, dword [0x11d49ee0]
test eax, eax
je 0x11ca0883
push str.TMAILHOOK:_Install_ConnectEx_1000_n
push str.Connectex1
push 4
call fcn.11c854f0
add esp, 0xc
mov eax, dword [esp + 8]
test eax, eax
je 0x11ca096b
mov eax, dword [0x11d49ee0]
test eax, eax
je 0x11ca08c9
push str.TMAILHOOK:_Install_ConnectEx_1001_n
push str.Connectex1
push 4
call fcn.11c854f0
mov eax, dword [0x11d49ee0]
add esp, 0xc
test eax, eax
je 0x11ca08c9
push str.TMAILHOOK:_Install_ConnectEx_1002_n
push str.Connectex1
push 4
call fcn.11c854f0
add esp, 0xc
push 8
call fcn.11cafc80
add esp, 4
test eax, eax
jne 0x11ca093b
mov eax, dword [0x11d49ee0]
test eax, eax
je 0x11ca08f4
push str.TMAILHOOK:_Install_ConnectEx_1003_n
push str.Connectex1
push 4
call fcn.11c854f0
add esp, 0xc
mov edx, dword [esp + 8]
push 0x64
push 0
push 0
push 0x11ca06c0
push edx
push 0x11d35640
push str.Mswsock.dll
call fcn.11cafce0
mov esi, eax
mov eax, dword [0x11d49ee0]
add esp, 0x1c
test eax, eax
je 0x11ca0936
push esi
push str.TMAILHOOK:_Install_ConnectEx_Result___lu__n
push str.Connectex
push 4
call fcn.11c854f0
add esp, 0x10
call fcn.11cafca0
mov eax, dword [0x11d49ee0]
test eax, eax
je 0x11ca096b
push esi
push str.TMAILHOOK:_Install_ConnectEx_End___lu__n
jmp 0x11ca095c
mov ecx, dword [0x11d49ee0]
test ecx, ecx
je 0x11ca096b
push eax
push str.CCallback::InstallConnectEx___WSAIoctl_error:_d
push str.Connectex1
push 4
call fcn.11c854f0
add esp, 0x10
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1b4], 0xffffffff
call fcn.11cb0070
mov ecx, dword [esp + 0x1ac]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b0
ret