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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11e160db
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push ebx
push 0
push str.ConnectEx
call fcn.11d88e50
add esp, 8
test eax, eax
je 0x11d8336a
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.11d95860
mov eax, dword [0x11e4b918]
mov dword [esp + 0x1b0], 0
test eax, eax
je 0x11d833a0
push str.CCallback::InstallConnectEx__
push str.Connectex1
push 4
call fcn.11d65710
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x11d833c4
mov eax, dword [0x11e4b918]
test eax, eax
je 0x11d833f4
push str.CCallback::InstallConnectEx___WSAStartup_Error
jmp 0x11d833e5
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x11d83420
mov eax, dword [0x11e4b918]
test eax, eax
je 0x11d833f4
push str.CCallback::InstallConnectEx___socket_Error
push str.Connectex1
push 4
call fcn.11d65710
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.11d95890
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 0x11e1d6a8
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 0x11d8357c
mov eax, dword [0x11e4b918]
test eax, eax
je 0x11d8348a
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 0x8f6
push str._CCallback::WSAIoctlCallback__Connectex_Line:_d__Get_Connectex_OutBuff__08x__OriPoi__08x_
push str.Connectex1
push 4
call fcn.11d65710
add esp, 0x18
lea ecx, [esp + 8]
test ecx, ecx
je 0x11d8359b
mov eax, dword [0x11e4b918]
test eax, eax
je 0x11d834b3
push str.TMAILHOOK:_Install_ConnectEx_1000_n
push str.Connectex1
push 4
call fcn.11d65710
add esp, 0xc
mov eax, dword [esp + 8]
test eax, eax
je 0x11d8359b
mov eax, dword [0x11e4b918]
test eax, eax
je 0x11d834f9
push str.TMAILHOOK:_Install_ConnectEx_1001_n
push str.Connectex1
push 4
call fcn.11d65710
mov eax, dword [0x11e4b918]
add esp, 0xc
test eax, eax
je 0x11d834f9
push str.TMAILHOOK:_Install_ConnectEx_1002_n
push str.Connectex1
push 4
call fcn.11d65710
add esp, 0xc
push 8
call fcn.11d954a0
add esp, 4
test eax, eax
jne 0x11d8356b
mov eax, dword [0x11e4b918]
test eax, eax
je 0x11d83524
push str.TMAILHOOK:_Install_ConnectEx_1003_n
push str.Connectex1
push 4
call fcn.11d65710
add esp, 0xc
mov edx, dword [esp + 8]
push 0x64
push 0
push 0
push 0x11d832f0
push edx
push 0x11e35414
push str.Mswsock.dll
call fcn.11d95500
mov esi, eax
mov eax, dword [0x11e4b918]
add esp, 0x1c
test eax, eax
je 0x11d83566
push esi
push str.TMAILHOOK:_Install_ConnectEx_Result___lu__n
push str.Connectex
push 4
call fcn.11d65710
add esp, 0x10
call fcn.11d954c0
mov eax, dword [0x11e4b918]
test eax, eax
je 0x11d8359b
push esi
push str.TMAILHOOK:_Install_ConnectEx_End___lu__n
jmp 0x11d8358c
mov ecx, dword [0x11e4b918]
test ecx, ecx
je 0x11d8359b
push eax
push str.CCallback::InstallConnectEx___WSAIoctl_error:_d
push str.Connectex1
push 4
call fcn.11d65710
add esp, 0x10
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1b4], 0xffffffff
call fcn.11d95890
mov ecx, dword [esp + 0x1ac]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b0
ret