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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11dcdf9b
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push ebx
push 0
push str.ConnectEx
call fcn.11d56aa0
add esp, 8
test eax, eax
je 0x11d50f2a
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.11d60a80
mov eax, dword [0x11dfc748]
mov dword [esp + 0x1b0], 0
test eax, eax
je 0x11d50f60
push str.CCallback::InstallConnectEx__
push str.Connectex1
push 4
call fcn.11d354f0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x11d50f84
mov eax, dword [0x11dfc748]
test eax, eax
je 0x11d50fb4
push str.CCallback::InstallConnectEx___WSAStartup_Error
jmp 0x11d50fa5
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x11d50fe0
mov eax, dword [0x11dfc748]
test eax, eax
je 0x11d50fb4
push str.CCallback::InstallConnectEx___socket_Error
push str.Connectex1
push 4
call fcn.11d354f0
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.11d60ab0
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 0x11dd3560
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 0x11d5113c
mov eax, dword [0x11dfc748]
test eax, eax
je 0x11d5104a
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.11d354f0
add esp, 0x18
lea ecx, [esp + 8]
test ecx, ecx
je 0x11d5115b
mov eax, dword [0x11dfc748]
test eax, eax
je 0x11d51073
push str.TMAILHOOK:_Install_ConnectEx_1000_n
push str.Connectex1
push 4
call fcn.11d354f0
add esp, 0xc
mov eax, dword [esp + 8]
test eax, eax
je 0x11d5115b
mov eax, dword [0x11dfc748]
test eax, eax
je 0x11d510b9
push str.TMAILHOOK:_Install_ConnectEx_1001_n
push str.Connectex1
push 4
call fcn.11d354f0
mov eax, dword [0x11dfc748]
add esp, 0xc
test eax, eax
je 0x11d510b9
push str.TMAILHOOK:_Install_ConnectEx_1002_n
push str.Connectex1
push 4
call fcn.11d354f0
add esp, 0xc
push 8
call fcn.11d606c0
add esp, 4
test eax, eax
jne 0x11d5112b
mov eax, dword [0x11dfc748]
test eax, eax
je 0x11d510e4
push str.TMAILHOOK:_Install_ConnectEx_1003_n
push str.Connectex1
push 4
call fcn.11d354f0
add esp, 0xc
mov edx, dword [esp + 8]
push 0x64
push 0
push 0
push 0x11d50eb0
push edx
push 0x11de7ce0
push str.Mswsock.dll
call fcn.11d60720
mov esi, eax
mov eax, dword [0x11dfc748]
add esp, 0x1c
test eax, eax
je 0x11d51126
push esi
push str.TMAILHOOK:_Install_ConnectEx_Result___lu__n
push str.Connectex
push 4
call fcn.11d354f0
add esp, 0x10
call fcn.11d606e0
mov eax, dword [0x11dfc748]
test eax, eax
je 0x11d5115b
push esi
push str.TMAILHOOK:_Install_ConnectEx_End___lu__n
jmp 0x11d5114c
mov ecx, dword [0x11dfc748]
test ecx, ecx
je 0x11d5115b
push eax
push str.CCallback::InstallConnectEx___WSAIoctl_error:_d
push str.Connectex1
push 4
call fcn.11d354f0
add esp, 0x10
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1b4], 0xffffffff
call fcn.11d60ab0
mov ecx, dword [esp + 0x1ac]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b0
ret