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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11dce5db
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push ebx
push 0
push str.ConnectEx
call fcn.11d56b60
add esp, 8
test eax, eax
je 0x11d5100a
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.11d60b40
mov eax, dword [0x11dfd760]
mov dword [esp + 0x1b0], 0
test eax, eax
je 0x11d51040
push str.CCallback::InstallConnectEx__
push str.Connectex1
push 4
call fcn.11d355b0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x11d51064
mov eax, dword [0x11dfd760]
test eax, eax
je 0x11d51094
push str.CCallback::InstallConnectEx___WSAStartup_Error
jmp 0x11d51085
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x11d510c0
mov eax, dword [0x11dfd760]
test eax, eax
je 0x11d51094
push str.CCallback::InstallConnectEx___socket_Error
push str.Connectex1
push 4
call fcn.11d355b0
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.11d60b70
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 0x11dd4560
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 0x11d5121c
mov eax, dword [0x11dfd760]
test eax, eax
je 0x11d5112a
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 0x89f
push str._CCallback::WSAIoctlCallback__Connectex_Line:_d__Get_Connectex_OutBuff__08x__OriPoi__08x_
push str.Connectex1
push 4
call fcn.11d355b0
add esp, 0x18
lea ecx, [esp + 8]
test ecx, ecx
je 0x11d5123b
mov eax, dword [0x11dfd760]
test eax, eax
je 0x11d51153
push str.TMAILHOOK:_Install_ConnectEx_1000_n
push str.Connectex1
push 4
call fcn.11d355b0
add esp, 0xc
mov eax, dword [esp + 8]
test eax, eax
je 0x11d5123b
mov eax, dword [0x11dfd760]
test eax, eax
je 0x11d51199
push str.TMAILHOOK:_Install_ConnectEx_1001_n
push str.Connectex1
push 4
call fcn.11d355b0
mov eax, dword [0x11dfd760]
add esp, 0xc
test eax, eax
je 0x11d51199
push str.TMAILHOOK:_Install_ConnectEx_1002_n
push str.Connectex1
push 4
call fcn.11d355b0
add esp, 0xc
push 8
call fcn.11d60780
add esp, 4
test eax, eax
jne 0x11d5120b
mov eax, dword [0x11dfd760]
test eax, eax
je 0x11d511c4
push str.TMAILHOOK:_Install_ConnectEx_1003_n
push str.Connectex1
push 4
call fcn.11d355b0
add esp, 0xc
mov edx, dword [esp + 8]
push 0x64
push 0
push 0
push 0x11d50f90
push edx
push 0x11de8d68
push str.Mswsock.dll
call fcn.11d607e0
mov esi, eax
mov eax, dword [0x11dfd760]
add esp, 0x1c
test eax, eax
je 0x11d51206
push esi
push str.TMAILHOOK:_Install_ConnectEx_Result___lu__n
push str.Connectex
push 4
call fcn.11d355b0
add esp, 0x10
call fcn.11d607a0
mov eax, dword [0x11dfd760]
test eax, eax
je 0x11d5123b
push esi
push str.TMAILHOOK:_Install_ConnectEx_End___lu__n
jmp 0x11d5122c
mov ecx, dword [0x11dfd760]
test ecx, ecx
je 0x11d5123b
push eax
push str.CCallback::InstallConnectEx___WSAIoctl_error:_d
push str.Connectex1
push 4
call fcn.11d355b0
add esp, 0x10
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1b4], 0xffffffff
call fcn.11d60b70
mov ecx, dword [esp + 0x1ac]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b0
ret