Function at 0x444c60
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Set socket configuration
Start tcp server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56408d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5d21e8]
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 - 0x44], ecx
call fcn.0052c940
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov edi, eax
call fcn.0052c940
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x24], esi
mov ecx, eax
mov dword [ebp - 0x28], ecx
cmp edi, 0xffffffff
jne 0x444ccd
or edi, edi
jmp 0x444cda
call fcn.0052c940
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 4], 0
mov ebx, fcn.004245e0
cmp edi, 0xffffffff
jne 0x444cff
xor edx, edx
mov eax, ebx
test ecx, ecx
cmove eax, edx
test eax, eax
jne 0x44520e
mov dword [ebp - 0x3c], 1
cmp edi, 0xffffffff
jne 0x444d51
call fcn.0052c940
xorps xmm0, xmm0
mov eax, 2
push 0x7f000001
movlpd qword [ebp - 0x18], xmm0
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov word [ebp - 0x1e], ax
mov dword [ebp - 0x2c], 0x10
call fcn.0052c940
mov ecx, 0x2719
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x444e5b
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
lea eax, [ebp - 0x3c]
push eax
push 4
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, eax
call fcn.0052c940
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
jne 0x444da8
call fcn.0052c940
xorps xmm0, xmm0
mov eax, 2
push 0x7f000001
movlpd qword [ebp - 0x18], xmm0
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x2c], 0x10
jmp 0x444dcb
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0x10
mov eax, 2
movlpd qword [ebp - 0x18], xmm0
push 0x7f000001
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x1c], eax
xor eax, eax
push eax
mov word [ebp - 0x1e], ax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0x10
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
mov dword [ebp - 0x30], eax
call fcn.0052c940
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
test eax, eax
jne 0x444e56
call fcn.0052c940
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x10
push eax
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
call fcn.0052c940
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], ecx
test eax, eax
jne 0x444e83
call fcn.0052c940
jmp 0x444e99
cmp eax, 0xffffffff
jne 0x444e0c
xor edx, edx
mov eax, ebx
test ecx, ecx
cmove eax, edx
test eax, eax
jne 0x44520e
cmp edi, 0xffffffff
jne 0x444e0c
call fcn.0052c940
mov ecx, 0x2719
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x444e88
cmp eax, 0xffffffff
jne 0x444e99
xor edx, edx
mov eax, ebx
test ecx, ecx
cmove eax, edx
test eax, eax
jne 0x44520e
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push 0
call esi
cmp dword [ebp - 0x1c], eax
jne 0x444eb2
push 0x7f000001
call esi
mov dword [ebp - 0x1c], eax
cmp edi, 0xffffffff
jne 0x444ec9
call fcn.0052c940
mov ecx, 0x2719
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x444f46
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push bind
push edi
call dword [sym.imp.WS2_32.dll_listen]
mov dword [ebp - 0x38], eax
call fcn.0052c940
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], ecx
test eax, eax
jne 0x444f41
call fcn.0052c940
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov ebx, eax
mov dword [ebp - 0x30], ebx
call fcn.0052c940
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x24], esi
mov ecx, eax
mov dword [ebp - 0x28], ecx
cmp ebx, 0xffffffff
jne 0x444f59
or ebx, ebx
mov dword [ebp - 0x30], ebx
jmp 0x444f66
cmp eax, 0xffffffff
jne 0x444f01
xor edx, edx
mov eax, ebx
test ecx, ecx
cmove eax, edx
test eax, eax
jne 0x44520e
jmp 0x444f01
call fcn.0052c940
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 4], 1
cmp ebx, 0xffffffff
jne 0x444f9a
xor edx, edx
mov esi, fcn.004245e0
test ecx, ecx
mov eax, esi
cmove eax, edx
test eax, eax
jne 0x44521c
call fcn.0052c940
mov ecx, 0x2719
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x444fed
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
mov ebx, eax
call fcn.0052c940
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x24], esi
mov ecx, eax
mov dword [ebp - 0x28], ecx
test ebx, ebx
jne 0x444fe3
call fcn.0052c940
cmp edi, 0xffffffff
jne 0x444ffe
call fcn.0052c940
mov ecx, 0x2719
or ebx, edi
jmp 0x445038
cmp ebx, 0xffffffff
jne 0x444fd0
mov esi, fcn.004245e0
xor eax, eax
test ecx, ecx
cmove esi, eax
test esi, esi
jne 0x44521c
jmp 0x444fd0
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push 0
push edi
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
call fcn.0052c940
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x24], esi
mov ecx, eax
mov dword [ebp - 0x28], ecx
cmp ebx, 0xffffffff
jne 0x445031
or ebx, ebx
jmp 0x44503e
call fcn.0052c940
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x50], ebx
mov byte [ebp - 4], 2
cmp ebx, 0xffffffff
jne 0x445052
test ecx, ecx
jne 0x44522a
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x40], 1
cmp esi, 0xffffffff
jne 0x445073
mov esi, 0x2719
call fcn.0052c940
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
jmp 0x4450c4
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea eax, [ebp - 0x40]
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [ebp - 0x2c], eax
call fcn.0052c940
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], esi
test eax, eax
js 0x4450bd
xor esi, esi
call fcn.0052c940
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], esi
jmp 0x4450c0
mov esi, dword [ebp - 0x38]
test eax, eax
je 0x4450cc
test esi, esi
jne 0x44522a
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x3c], 1
cmp esi, 0xffffffff
je 0x445105
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
lea eax, [ebp - 0x3c]
push eax
push 1
push 6
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, eax
call fcn.0052c940
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
jne 0x44510a
call fcn.0052c940
mov dword [ebp - 0x40], 1
cmp ebx, 0xffffffff
jne 0x445128
mov esi, 0x2719
call fcn.0052c940
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
jmp 0x445179
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea eax, [ebp - 0x40]
push eax
push 0x8004667e
push ebx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [ebp - 0x2c], eax
call fcn.0052c940
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], esi
test eax, eax
js 0x445172
xor esi, esi
call fcn.0052c940
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], esi
jmp 0x445175
mov esi, dword [ebp - 0x38]
test eax, eax
je 0x445181
test esi, esi
jne 0x44522a
mov dword [ebp - 0x3c], 1
cmp ebx, 0xffffffff
je 0x4451b7
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
lea eax, [ebp - 0x3c]
push eax
push 1
push 6
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, eax
call fcn.0052c940
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
jne 0x4451bc
call fcn.0052c940
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x30]
mov dword [eax], ebx
mov dword [eax + 4], esi
cmp edi, 0xffffffff
je 0x4451f2
mov dword [ebp - 0x28], 0
call fcn.0052c940
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 0x31]
mov byte [ebp - 0x31], 0
push eax
push edi
call fcn.0043e230
add esp, 0x10
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.005329db
mov esp, ebp
pop ebp
ret
push str.socket_select_interrupter
lea eax, [ebp - 0x28]
push eax
call fcn.00423c00
push str.socket_select_interrupter
lea eax, [ebp - 0x28]
push eax
call fcn.00423c00
push str.socket_select_interrupter
lea eax, [ebp - 0x28]
push eax
call fcn.00423c00
int3