Function at 0x44ed88
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
mov edx, dword [0x43567c]
call fcn.00405a48
xor eax, eax
push ebp
push 0x44f1d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.004374e8
mov word [ebp - 0x16], 0
mov dword [ebp - 0x14], 0xffffffff
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 8], 0
jne 0x44edfa
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x44ee00
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
xor eax, eax
push ebp
push 0x44f11a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0x10
cmp dword [ebp - 0x30], 0
jne 0x44eebb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0040634c
dec eax
test eax, eax
jl 0x44eedd
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + edx*4]
push eax
call sub.wsock32.dll_accept
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x44eeb1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x34]
mov ax, word [eax + edx*2]
mov word [ebp - 0x16], ax
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wsock32.dll_WSAAsyncSelect
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 0x8004667e
mov eax, dword [ebp - 0x14]
push eax
call sub.wsock32.dll_ioctlsocket
push dword [ebp - 0x48]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.0040523c
jmp 0x44eedd
inc dword [ebp - 0x34]
dec dword [ebp - 0x3c]
jne 0x44ee3e
jmp 0x44eedd
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x30]
mov ax, word [eax + 0x5e]
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x30]
mov edx, dword [edx + 0x58]
call fcn.004050dc
cmp dword [ebp - 0x14], 0xffffffff
jne 0x44eee9
mov eax, dword [ebp - 0xc]
mov byte [eax], 1
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
jne 0x44f002
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x43abd0]
call fcn.0043ac98
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x1c]
mov dx, word [ebp - 0x16]
mov word [eax + 0x5e], dx
mov eax, dword [ebp - 0x1c]
add eax, 0x28
mov edx, dword [ebp - 0x20]
call fcn.00405098
mov eax, dword [ebp - 0x1c]
add eax, 0x58
mov edx, dword [ebp - 0x20]
call fcn.00405098
mov eax, dword [ebp - 0x1c]
add eax, 0x54
mov edx, dword [ebp - 0x20]
call fcn.00405098
xor eax, eax
push ebp
push 0x44ef75
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x2a], 0xfe13
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44efee
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
add edx, 0x18
mov ecx, dword [0x435648]
call fcn.00405d7c
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0
jne 0x44f02c
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
jne 0x44f02c
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x44e718]
call fcn.0044e790
mov edx, dword [ebp - 0x1c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
je 0x44f0c4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x68]
push eax
push 0x44f21c
push dword [ebp - 0x20]
push 0x44f21c
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.004053c4
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0xb
lea edx, [ebp - 0x58]
mov eax, 0x44f228
xor ecx, ecx
call fcn.0040b2a0
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 8]
mov eax, dword [ebp - 0xc]
call fcn.004374a0
xor eax, eax
push ebp
push 0x44f0ad
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x1c], 0
je 0x44f0a3
mov eax, dword [ebp - 0x1c]
call fcn.00404214
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44f0b7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44f1a0
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x4429c4]
call fcn.00442a2c
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov word [ebp - 0x2a], 0xfe15
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x1c]
call fcn.00436314
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x2e], 2
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
call fcn.00422c34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44f1a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f1e0
lea eax, [ebp - 0x74]
mov edx, 7
call fcn.00405068
lea eax, [ebp - 0x50]
call fcn.00405044
lea eax, [ebp - 0x2c]
mov edx, dword [0x43567c]
call fcn.00405b18
lea eax, [ebp - 0x20]
call fcn.00405044
ret