Function at 0x44e830
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x44eafe
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x44eac6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x29]
sub al, 1
jb 0x44e884
je 0x44e9d1
dec al
je 0x44ea79
jmp 0x44ea99
test bl, bl
jne 0x44e89c
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1c], edx
jmp 0x44ea99
test esi, esi
je 0x44e94a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x44e8bd
mov eax, 0x400
call fcn.004be340
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
push 0x400
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
push eax
lea eax, [ebp - 0xc]
mov edx, esi
mov ecx, 0
call fcn.004c1db0
mov eax, dword [ebp - 0xc]
call fcn.004c1bdc
push eax
push 0x403
mov eax, dword [ebp - 4]
call fcn.0044ef30
push eax
call sub.WSOCK32.DLL_WSAAsyncGetHostByName
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], edi
test edi, edi
sete al
and eax, 0x7f
mov edx, 0x44eb1c
call fcn.0044e520
mov eax, dword [ebp - 4]
add eax, 0x4c
mov edx, dword [ebp + 0x14]
call fcn.004c1644
mov eax, dword [ebp - 4]
movzx edx, word [ebp + 0x10]
mov word [eax + 0x50], dx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x54], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x52], bl
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44eae3
test edi, edi
je 0x44e97d
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 1
lea eax, [ebp - 0x10]
mov edx, edi
mov ecx, 0
call fcn.004c1db0
mov eax, dword [ebp - 0x10]
call fcn.004c1bdc
push eax
call sub.WSOCK32.DLL_inet_addr
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
jmp 0x44ea99
mov dword [ebp - 8], 0x456
lea eax, [ebp - 8]
push eax
mov cl, 6
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004bfa18
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 8], 0
je 0x44e9c4
mov ecx, dword [0x7e8ce0]
mov dl, 1
mov eax, dword [0x44b9cc]
call fcn.004a8fd8
call fcn.004c09e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44eae3
cmp dword [ebp + 0x14], 0
je 0x44ea5f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x44e9f4
mov eax, 0x400
call fcn.004be340
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
push 0x400
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
push eax
push 0x44eb48
lea eax, [ebp - 0x14]
mov edx, dword [ebp + 0x14]
mov ecx, 0
call fcn.004c1db0
mov eax, dword [ebp - 0x14]
call fcn.004c1bdc
push eax
push 0x403
mov eax, dword [ebp - 4]
call fcn.0044ef30
push eax
call sub.WSOCK32.DLL_WSAAsyncGetServByName
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], ebx
test ebx, ebx
sete al
and eax, 0x7f
mov edx, 0x44eb58
call fcn.0044e520
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44eae3
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 2
movzx eax, word [ebp + 0x10]
push eax
call sub.WSOCK32.DLL_htons
mov edx, dword [ebp - 4]
mov word [edx + 0x1a], ax
jmp 0x44ea99
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 0
test bl, bl
je 0x44ea8e
mov eax, dword [ebp - 4]
call fcn.0044eeb8
jmp 0x44ea99
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0044ee24
mov eax, dword [ebp - 4]
cmp byte [eax + 0x29], 0
je 0x44eabc
mov eax, dword [ebp + 0x14]
push eax
movzx eax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov ecx, edi
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0044e830
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44eae3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44eb05
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004c12f4
ret