Function at 0x41e9e8
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe54
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b28
xor eax, eax
push ebp
push 0x41ec3c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404688
push 0xffffffffffffffff
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x41ec54
call fcn.004083b8
mov ecx, eax
lea eax, [ebp - 4]
mov edx, 1
call fcn.00404bd8
mov eax, dword [ebp - 4]
call fcn.00404940
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x3e
jne 0x41ea70
mov eax, dword [ebp - 4]
call fcn.00404940
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00404bd8
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00404720
xor esi, esi
mov eax, dword [ebp - 0x14]
call fcn.00404940
mov ebx, eax
cmp ebx, 1
jl 0x41eab2
mov eax, dword [ebp - 0x14]
cmp byte [eax + ebx - 1], 0x2e
jne 0x41eaad
cmp esi, 2
jne 0x41eaac
lea eax, [ebp - 0x14]
mov ecx, ebx
mov edx, 1
call fcn.00404bd8
jmp 0x41eab2
inc esi
dec ebx
test ebx, ebx
jne 0x41ea8c
lea eax, [ebp - 0x1a4]
push eax
push 0x101
call fcn.0041b0fc
test eax, eax
jne 0x41ec0b
push ebp
push 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, 0x41ec60
mov dword [ebp - 0x1ac], eax
mov eax, 0x41ec7c
mov dword [ebp - 0x1a8], eax
lea edx, [ebp - 0x1ac]
mov ecx, 1
mov eax, dword [ebp - 0x14]
call fcn.0041e644
pop ecx
cmp dword [ebp - 0xc], 0
je 0x41ec06
push ebp
push 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405c00
mov ecx, eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call fcn.0041e644
pop ecx
mov ebx, 0xa
cmp dword [ebp - 8], 0
jne 0x41eb71
cmp dword [ebp - 0x10], 0
je 0x41eb71
push ebp
push 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405c00
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.0041e644
pop ecx
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x407de8]
call fcn.00405f10
dec ebx
jne 0x41eb30
cmp dword [ebp - 8], 0
jne 0x41eb8e
cmp dword [ebp - 0xc], 0
je 0x41eb8e
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x407de8]
call fcn.00405f10
push ebp
push 0xf
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00405c00
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0041e644
pop ecx
cmp dword [ebp - 0xc], 0
je 0x41ebc1
mov eax, edi
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call fcn.004046dc
cmp dword [edi], 0
jne 0x41ec06
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
call fcn.00404a84
je 0x41ec06
push ebp
push 0xf
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00405c00
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.0041e644
pop ecx
cmp dword [ebp - 0xc], 0
je 0x41ec06
mov eax, edi
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call fcn.004046dc
call fcn.0041b104
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ec43
lea eax, [ebp - 0x14]
call fcn.00404688
lea eax, [ebp - 0x10]
mov edx, dword [0x407de8]
mov ecx, 3
call fcn.004051bc
lea eax, [ebp - 4]
call fcn.00404688
ret