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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488ffe
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x4a0270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 8], 0
jne 0x42275e
xor eax, eax
jmp 0x422aba
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x34
call fcn.00428040
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x30], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x24]
mov dword [eax + 0x38c], ecx
lea eax, [ebp - 0x1a8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4227b3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.WSAStartup_Failed:__d_n
call fcn.00425e00
add esp, 8
xor eax, eax
jmp 0x422aba
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0xffffffff
jne 0x4227ef
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Listen_Socket_Creation_Failed:__d_n
call fcn.00425e00
add esp, 8
xor eax, eax
jmp 0x422aba
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1b4], eax
mov word [ebp - 0x1b8], 2
mov ax, word [ebp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1b6], ax
push 0x10
lea eax, [ebp - 0x1b8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x422860
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Bind_Failed:__d_n
call fcn.00425e00
add esp, 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x10], 0
xor eax, eax
jmp 0x422aba
push SysReAllocString
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x4228a9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Change_to_Listen_Mode_Error:__d_n
call fcn.00425e00
add esp, 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x10], 0
xor eax, eax
jmp 0x422aba
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
je 0x4228c2
push str.Socket_Initiation_Success
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
call fcn.0044f110
lea eax, [ebp - 0x1bc]
push eax
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
call fcn.00426b70
test eax, eax
jne 0x4228f5
mov eax, dword [ebp - 0x1bc]
push eax
push str.Create_IO_Completion_Port_Error:__d_n
call fcn.00425e00
add esp, 8
xor eax, eax
jmp 0x422aba
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x34
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
call fcn.00426d30
test eax, eax
jne 0x422923
push str.Create_Thread_Pool_Failed_n
call fcn.00425e00
add esp, 4
xor eax, eax
jmp 0x422aba
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xc], 1
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
je 0x422946
push str.IOCP_Initiation_Success
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
call fcn.0044f110
push 0x30
call fcn.0045fd52
add esp, 4
mov dword [ebp - 0x200], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x200], 0
je 0x42297d
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp - 0x200]
call fcn.0044fc50
mov dword [ebp - 0x208], eax
jmp 0x422987
mov dword [ebp - 0x208], 0
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0x204], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x204]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x44], 0
jne 0x4229b6
xor eax, eax
jmp 0x422aba
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
je 0x4229cf
push str.Socket_Context_Pool_Creation_Success
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
call fcn.0044f110
mov eax, dword [ebp - 0x14]
mov cl, byte [ebp + 0x18]
mov byte [eax + 0x390], cl
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 0x394], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x20]
mov dword [eax + 0x398], ecx
cmp dword [ebp + 0x28], 0
jne 0x422a32
push str.IOBufferPool
mov eax, dword [0x4a1e94]
push eax
mov ecx, dword [0x4a1e88]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x60
call fcn.00426580
push str.CloseBufferPool
push 0
push 0x3e8
mov ecx, dword [ebp - 0x14]
add ecx, 0x1dc
call fcn.00426580
jmp 0x422a63
push str.IOBufferPool
push 0
push 0x5dc
mov ecx, dword [ebp - 0x14]
add ecx, 0x60
call fcn.00426580
push str.CloseBufferPool
push 0
push 0xc8
mov ecx, dword [ebp - 0x14]
add ecx, 0x1dc
call fcn.00426580
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
push 0x421c60
push 0
push 0
call fcn.004627c1
add esp, 0x18
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x37c], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x380], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x384], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ee62
mov esp, ebp
pop ebp
ret 0x24