Function at 0x4400a8
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe4c
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c48
xor eax, eax
push ebp
push 0x4403c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404788
lea eax, [ebp - 0x1c]
mov edx, dword [0x4087d8]
call fcn.004061b8
push 0x7fffffff
mov ebx, dword [0x53358c]
mov ebx, dword [ebx]
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x4403e0
call ebx
mov ecx, eax
lea eax, [ebp - 4]
mov edx, 1
call fcn.00404cfc
mov eax, dword [ebp - 4]
call fcn.00404a58
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x3e
jne 0x44014a
mov eax, dword [ebp - 4]
call fcn.00404a58
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00404cfc
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00404820
xor esi, esi
mov eax, dword [ebp - 0x18]
call fcn.00404a58
mov ebx, eax
cmp ebx, 1
jl 0x44018c
mov eax, dword [ebp - 0x18]
cmp byte [eax + ebx - 1], 0x2e
jne 0x440187
cmp esi, 2
jne 0x440186
lea eax, [ebp - 0x18]
mov ecx, ebx
mov edx, 1
call fcn.00404cfc
jmp 0x44018c
inc esi
dec ebx
test ebx, ebx
jne 0x440166
lea eax, [ebp - 0x1ac]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x44038a
lea eax, [ebp - 0x1c]
call fcn.0043f734
cmp dword [ebp - 0x1c], 0
je 0x440245
push ebp
push 0xf
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00405ee4
mov ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0043fd4c
pop ecx
cmp dword [ebp - 0x10], 0
je 0x4401eb
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
call fcn.004047dc
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x440385
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
call fcn.00404ba4
je 0x440385
push ebp
push 0xf
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00405ee4
mov ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.0043fd4c
pop ecx
cmp dword [ebp - 0x10], 0
je 0x440385
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
call fcn.004047dc
jmp 0x440385
push ebp
push 2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x4403ec
mov dword [ebp - 0x1b4], eax
mov eax, 0x440408
mov dword [ebp - 0x1b0], eax
lea edx, [ebp - 0x1b4]
mov ecx, 1
mov eax, dword [ebp - 0x18]
call fcn.0043fd4c
pop ecx
cmp dword [ebp - 0x10], 0
je 0x440385
push ebp
push 2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405ee4
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
call fcn.0043fd4c
pop ecx
mov ebx, 0xa
cmp dword [ebp - 0xc], 0
jne 0x4402eb
cmp dword [ebp - 0x14], 0
je 0x4402eb
push ebp
push 2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405ee4
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.0043fd4c
pop ecx
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [0x4087d8]
call fcn.004061f4
dec ebx
jne 0x4402aa
cmp dword [ebp - 0xc], 0
jne 0x440308
cmp dword [ebp - 0x10], 0
je 0x440308
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [0x4087d8]
call fcn.004061f4
push ebp
push 0xf
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405ee4
mov ecx, eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0043fd4c
pop ecx
cmp dword [ebp - 0x10], 0
je 0x44033c
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
call fcn.004047dc
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x440385
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
call fcn.00404ba4
je 0x440385
push ebp
push 0xf
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405ee4
mov ecx, eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
call fcn.0043fd4c
pop ecx
cmp dword [ebp - 0x10], 0
je 0x440385
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
call fcn.004047dc
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4403d0
lea eax, [ebp - 0x1c]
mov edx, dword [0x4087d8]
call fcn.004061b8
lea eax, [ebp - 0x18]
call fcn.00404788
lea eax, [ebp - 0x14]
mov edx, dword [0x4087d8]
mov ecx, 3
call fcn.004055ec
lea eax, [ebp - 4]
call fcn.00404788
ret