Function at 0x4387c0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe5c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1a4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.004039c4
mov eax, dword [ebp - 4]
call fcn.004039c4
mov eax, dword [ebp - 0xc]
call fcn.004039c4
mov eax, dword [ebp + 0x34]
call fcn.004039c4
mov eax, dword [ebp + 0x30]
call fcn.004039c4
mov eax, dword [ebp + 0x2c]
call fcn.00404580
mov eax, dword [ebp + 0x28]
call fcn.00404580
mov eax, dword [ebp + 0x24]
call fcn.00404580
mov eax, dword [ebp + 0x20]
call fcn.00404960
mov eax, dword [ebp + 0x1c]
call fcn.004039c4
mov eax, dword [ebp + 0x18]
call fcn.004039c4
mov eax, dword [ebp + 0x14]
call fcn.004039c4
mov eax, dword [ebp + 8]
call fcn.00404960
xor eax, eax
push ebp
push 0x4389eb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x1a0]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x438988
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x20]
push 0
push 0x3e8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, 0x438a08
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp dword [ebp - 8], 0
je 0x4388a7
push ebp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
call fcn.00438098
pop ecx
mov ebx, eax
jmp 0x438971
cmp dword [ebp - 0xc], 0
je 0x438971
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x1c], 0
jne 0x438938
lea eax, [ebp - 0xc]
call fcn.004349c0
mov esi, eax
test esi, esi
jle 0x4388de
push ebp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dl, 1
call fcn.00436790
pop ecx
mov dword [ebp - 0x10], eax
dec esi
jne 0x4388ca
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
lea eax, [ebp - 0xc]
call fcn.004349c0
mov esi, eax
test esi, esi
jle 0x438971
mov edi, 1
push ebp
lea eax, [ebp - 0x1a4]
push eax
mov cl, 0x2c
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.0040826c
mov edx, dword [ebp - 0x1a4]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
call fcn.00437320
pop ecx
or bl, al
mov edx, dword [ebp - 0x10]
imul edx, edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
inc edi
dec esi
jne 0x4388fb
jmp 0x438971
push ebp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
xor edx, edx
call fcn.00436790
pop ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
push ebp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.00437320
pop ecx
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
call sub.wsock32.dll_WSACleanup
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x438988
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4389f2
lea eax, [ebp - 0x1a4]
call fcn.004035f4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403618
lea eax, [ebp + 8]
call fcn.00404900
lea eax, [ebp + 0x14]
mov edx, 3
call fcn.00403618
lea eax, [ebp + 0x20]
call fcn.00404900
lea eax, [ebp + 0x24]
mov edx, dword [0x405cb0]
mov ecx, 3
call fcn.00403e38
lea eax, [ebp + 0x30]
mov edx, 2
call fcn.00403618
ret