Function at 0x440800
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe50
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405ed4
xor eax, eax
push ebp
push 0x440b15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00405828
lea eax, [ebp - 0x18]
mov edx, dword [0x40b6b4]
call fcn.00407f38
push 0x7fffffff
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x440b30
call fcn.0040c45c
mov ecx, eax
lea eax, [ebp - 4]
mov edx, 1
call fcn.00405fc8
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x3e
jne 0x4408aa
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00405fc8
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004058d8
xor esi, esi
lea eax, [ebp - 8]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
mov ebx, eax
cmp ebx, 1
jl 0x4408f3
mov eax, dword [ebp - 8]
cmp byte [eax + ebx - 1], 0x2e
jne 0x4408ee
cmp esi, 2
jne 0x4408ed
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, 1
call fcn.00405fc8
jmp 0x4408f3
inc esi
dec ebx
test ebx, ebx
jne 0x4408cd
lea eax, [ebp - 0x1a8]
push eax
push 0x101
call fcn.0042f0e8
test eax, eax
jne 0x440ae7
lea eax, [ebp - 0x18]
call fcn.0043fe38
cmp dword [ebp - 0x18], 0
je 0x4409a7
push ebp
push 0xf
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00407c58
mov ecx, eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00440464
pop ecx
cmp dword [ebp - 0x10], 0
je 0x440951
mov eax, edi
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
call fcn.0040587c
cmp dword [edi], 0
jne 0x440ae2
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405ecc
je 0x440ae2
push ebp
push 0xf
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00407c58
mov ecx, eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00440464
pop ecx
cmp dword [ebp - 0x10], 0
je 0x440ae2
mov eax, edi
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
call fcn.0040587c
jmp 0x440ae2
push ebp
push 2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x440b40
mov dword [ebp - 0x1b0], eax
mov eax, 0x440b60
mov dword [ebp - 0x1ac], eax
lea edx, [ebp - 0x1b0]
mov ecx, 1
mov eax, dword [ebp - 8]
call fcn.00440464
pop ecx
cmp dword [ebp - 0x10], 0
je 0x440ae2
push ebp
push 2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00407c58
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00440464
pop ecx
mov ebx, 0xa
cmp dword [ebp - 0xc], 0
jne 0x440a4d
cmp dword [ebp - 0x14], 0
je 0x440a4d
push ebp
push 2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00407c58
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00440464
pop ecx
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [0x40b6b4]
call fcn.00407f74
dec ebx
jne 0x440a0c
cmp dword [ebp - 0xc], 0
jne 0x440a6a
cmp dword [ebp - 0x10], 0
je 0x440a6a
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [0x40b6b4]
call fcn.00407f74
push ebp
push 0xf
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407c58
mov ecx, eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00440464
pop ecx
cmp dword [ebp - 0x10], 0
je 0x440a9d
mov eax, edi
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
call fcn.0040587c
cmp dword [edi], 0
jne 0x440ae2
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405ecc
je 0x440ae2
push ebp
push 0xf
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407c58
mov ecx, eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00440464
pop ecx
cmp dword [ebp - 0x10], 0
je 0x440ae2
mov eax, edi
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
call fcn.0040587c
call fcn.0042f0f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440b1c
lea eax, [ebp - 0x18]
mov edx, dword [0x40b6b4]
mov ecx, 4
call fcn.00407170
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040584c
ret