Function at 0x446b00
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9524
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x60]
mov byte [eax + 0x44], 0
lea ecx, [ebp - 0x58]
call fcn.00410520
mov dword [ebp - 4], 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x60]
cmp dword [edx + 0xc], 0xffffffff
jne 0x446c16
mov byte [ebp - 0x58], 0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00408800
add esp, 8
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x90], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x90]
push eax
push str.create_socket_error:
lea ecx, [ebp - 0xc4]
push ecx
call fcn.00408be0
add esp, 0xc
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
push edx
lea ecx, [ebp - 0x54]
call fcn.0040f660
lea ecx, [ebp - 0xc4]
call fcn.00406730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10c]
call fcn.00406730
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov ecx, dword [ebp - 0x64]
or ecx, 1
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00409aa0
mov eax, dword [ebp + 8]
jmp 0x446f46
lea edx, [ebp - 0x184]
push edx
mov ecx, dword [ebp - 0x60]
call fcn.00446830
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00411ab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x184]
call fcn.00409aa0
movzx edx, byte [ebp - 0x58]
test edx, edx
jne 0x446c87
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov ecx, dword [ebp - 0x64]
or ecx, 1
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00409aa0
mov eax, dword [ebp + 8]
jmp 0x446f46
lea edx, [ebp - 0x1cc]
push edx
mov ecx, dword [ebp - 0x60]
call fcn.00446a30
lea ecx, [ebp - 0x1cc]
call fcn.00409aa0
push 0x10
call fcn.00460b25
add esp, 4
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x5c], eax
mov ecx, 2
mov edx, dword [ebp - 0x5c]
mov word [edx], cx
mov eax, dword [ebp - 0x60]
movzx ecx, word [eax + 0x28]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [ebp - 0x5c]
mov word [edx + 2], ax
mov ecx, dword [ebp - 0x60]
add ecx, 0x10
call fcn.004067b0
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 4], eax
push 0x10
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x446df5
mov byte [ebp - 0x58], 0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x13c]
push eax
call fcn.00408800
add esp, 8
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xac], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xac]
push edx
push 0x616714
lea eax, [ebp - 0xf4]
push eax
call fcn.00408be0
add esp, 0xc
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x54]
call fcn.0040f660
lea ecx, [ebp - 0xf4]
call fcn.00406730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.00406730
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
push edx
call fcn.00460b52
add esp, 4
cmp dword [ebp - 0x68], 0
jne 0x446db9
mov dword [ebp - 0x98], 0
jmp 0x446dc9
mov dword [ebp - 0x5c], 0x8123
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov edx, dword [ebp - 0x64]
or edx, 1
mov dword [ebp - 0x64], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00409aa0
mov eax, dword [ebp + 8]
jmp 0x446f46
push 0x14
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x446eeb
mov byte [ebp - 0x58], 0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0xdc]
push eax
call fcn.00408800
add esp, 8
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x8c]
push edx
push str.listen_error:
lea eax, [ebp - 0x124]
push eax
call fcn.00408be0
add esp, 0xc
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x54]
call fcn.0040f660
lea ecx, [ebp - 0x124]
call fcn.00406730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.00406730
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
push edx
call fcn.00460b52
add esp, 4
cmp dword [ebp - 0x70], 0
jne 0x446eb5
mov dword [ebp - 0x7c], 0
jmp 0x446ec2
mov dword [ebp - 0x5c], 0x8123
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov edx, dword [ebp - 0x64]
or edx, 1
mov dword [ebp - 0x64], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00409aa0
mov eax, dword [ebp + 8]
jmp 0x446f46
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00460b52
add esp, 4
cmp dword [ebp - 0x6c], 0
jne 0x446f0f
mov dword [ebp - 0x84], 0
jmp 0x446f1f
mov dword [ebp - 0x5c], 0x8123
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x84], edx
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov ecx, dword [ebp - 0x64]
or ecx, 1
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00409aa0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00588a69
mov esp, ebp
pop ebp
ret 4