Function at 0x448720
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4c8758
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x506040]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov dword [esp + 0x24], ecx
call fcn.004a8940
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
mov dword [esp + 0x20], edi
call fcn.004a8940
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
cmp edi, 0xffffffff
jne 0x4487a1
or edi, edi
mov dword [esp + 0x20], edi
jmp 0x4487b4
call fcn.004a8940
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x70], 0
cmp edi, 0xffffffff
jne 0x4487d8
test eax, eax
je 0x4487d8
push str.socket_select_interrupter
lea eax, [esp + 0x38]
push eax
call fcn.0040ad10
mov dword [esp + 0x3c], 1
cmp edi, 0xffffffff
je 0x448813
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
lea eax, [esp + 0x40]
push eax
push 4
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, eax
call fcn.004a8940
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
jne 0x448818
call fcn.004a8940
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0x10
mov eax, 2
movdqa xmmword [esp + 0x44], xmm0
push 0x7f000001
mov word [esp + 0x48], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 0x48], eax
xor eax, eax
mov word [esp + 0x46], ax
cmp edi, 0xffffffff
jne 0x448865
call fcn.004a8940
mov ecx, 0x2719
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
jmp 0x4488e7
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0x10
lea eax, [esp + 0x48]
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
mov dword [esp + 0x18], eax
call fcn.004a8940
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
test eax, eax
jne 0x4488e2
call fcn.004a8940
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
mov ecx, edi
push eax
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x4c]
call fcn.00448390
add esp, 8
cmp eax, 0xffffffff
jne 0x4488fa
cmp dword [esp + 0x34], 0
je 0x4488fa
push str.socket_select_interrupter
lea eax, [esp + 0x38]
push eax
call fcn.0040ad10
cmp eax, 0xffffffff
jne 0x4488af
test ecx, ecx
je 0x4488af
push str.socket_select_interrupter
lea eax, [esp + 0x38]
push eax
call fcn.0040ad10
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push 0
call esi
cmp dword [esp + 0x48], eax
jne 0x448915
push 0x7f000001
call esi
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
mov ecx, edi
push eax
call fcn.00448070
add esp, 4
cmp eax, 0xffffffff
jne 0x44893f
cmp dword [esp + 0x34], 0
je 0x44893f
push str.socket_select_interrupter
lea eax, [esp + 0x38]
push eax
call fcn.0040ad10
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 dword [esp + 0x18], eax
call fcn.004a8940
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x34], eax
cmp esi, 0xffffffff
jne 0x448983
or esi, esi
mov dword [esp + 0x18], esi
jmp 0x448996
call fcn.004a8940
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], esi
mov byte [esp + 0x70], 1
cmp esi, 0xffffffff
jne 0x4489ce
test eax, eax
je 0x4489b7
push str.socket_select_interrupter
lea eax, [esp + 0x38]
push eax
call fcn.0040ad10
call fcn.004a8940
mov ecx, 0x2719
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
jmp 0x448a55
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [esp + 0x1c]
lea eax, [esp + 0x48]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
mov dword [esp + 0x1c], eax
call fcn.004a8940
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
test eax, eax
jne 0x448a50
call fcn.004a8940
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push eax
push ecx
mov ecx, edi
call fcn.00447c60
mov esi, eax
add esp, 8
mov dword [esp + 0x30], esi
mov byte [esp + 0x70], 2
cmp esi, 0xffffffff
jne 0x448a68
cmp dword [esp + 0x34], 0
je 0x448a68
push str.socket_select_interrupter
lea eax, [esp + 0x38]
push eax
call fcn.0040ad10
cmp eax, 0xffffffff
jne 0x448a1a
test ecx, ecx
je 0x448a1a
push str.socket_select_interrupter
lea eax, [esp + 0x38]
push eax
call fcn.0040ad10
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 1
push eax
push ecx
lea edx, [esp + 0x23]
mov byte [esp + 0x23], 0
mov ecx, edi
call fcn.00448430
add esp, 0xc
test eax, eax
je 0x448aac
cmp dword [esp + 0x34], 0
je 0x448aac
push str.socket_select_interrupter
lea eax, [esp + 0x38]
push eax
call fcn.0040ad10
mov dword [esp + 0x3c], 1
cmp edi, 0xffffffff
jne 0x448ac8
call fcn.004a8940
mov dword [esp + 0x34], 0x2719
jmp 0x448b0f
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
lea eax, [esp + 0x40]
push eax
push 1
push 6
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [esp + 0x1c], eax
call fcn.004a8940
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
jne 0x448b13
call fcn.004a8940
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x40], 1
push eax
lea eax, [esp + 0x44]
mov byte [esp + 0x1b], 0
push eax
push ecx
lea edx, [esp + 0x23]
mov ecx, esi
call fcn.00448430
add esp, 0xc
test eax, eax
je 0x448b53
cmp dword [esp + 0x34], 0
je 0x448b53
push str.socket_select_interrupter
lea eax, [esp + 0x38]
push eax
call fcn.0040ad10
mov dword [esp + 0x3c], 1
cmp esi, 0xffffffff
je 0x448b8b
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
lea eax, [esp + 0x40]
push eax
push 1
push 6
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.004a8940
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test edi, edi
jne 0x448b90
call fcn.004a8940
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x70], 0xffffffff
mov dword [ecx], esi
mov esi, dword [esp + 0x20]
mov dword [ecx + 4], eax
cmp esi, 0xffffffff
je 0x448be2
xorps xmm0, xmm0
movq qword [esp + 0x34], xmm0
mov dword [esp + 0x34], 0
call fcn.004a8940
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push eax
push 1
lea eax, [esp + 0x1f]
mov byte [esp + 0x1f], 0
push eax
push esi
call fcn.00440c10
add esp, 0x10
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret