Function at 0x501660
Capabilities:
Initialize winsock library

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, 0x51997c
mov edi, 0x52d340
mov ebp, 0x519938
xor eax, eax
mov dword [0x52c71c], eax
xor eax, eax
mov dword [0x52c7c8], eax
mov eax, dword [0x504214]
mov byte [eax], 0x2e
mov dword [0x52d304], 0x1c
mov dword [0x52d308], 2
push 0x52d344
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, 0x104
call fcn.004026f8
mov dword [0x52d338], eax
mov eax, 8
call fcn.004026f8
mov dword [0x52d33c], eax
mov eax, dword [0x52d33c]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x52d33c]
mov dword [eax + 4], 1
mov eax, dword [0x504170]
cmp byte [eax], 0
xor eax, eax
mov dword [0x52c708], eax
xor eax, eax
mov dword [0x52c70c], eax
xor eax, eax
mov dword [0x52c6d4], eax
mov dl, 1
mov eax, dword [0x40c75c]
call fcn.00403054
mov dword [0x519934], eax
mov dl, 1
mov eax, dword [0x40c75c]
call fcn.00403054
mov dword [ebp], eax
mov dl, 1
mov eax, dword [0x40c75c]
call fcn.00403054
mov dword [0x51993c], eax
mov dl, 1
mov eax, dword [0x40c75c]
call fcn.00403054
mov dword [0x519940], eax
xor edx, edx
mov eax, dword [0x519934]
call fcn.0040fb00
xor edx, edx
mov eax, dword [ebp]
call fcn.0040fb00
mov byte [0x52c7d8], 1
mov ebx, 0x32
xor edx, edx
mov eax, dword [ebp]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec ebx
jne 0x501760
mov dl, 1
mov eax, dword [0x40c9c8]
call fcn.00403054
mov dword [0x519978], eax
mov dl, 1
mov eax, dword [0x40c9c8]
call fcn.00403054
mov dword [esi], eax
xor eax, eax
mov dword [0x52c6e8], eax
mov dword [0x52c6ec], eax
mov byte [edi], 0
mov ebx, 0x32
mov edx, 0x52c6e8
mov ecx, 8
mov eax, dword [0x519978]
mov ebp, dword [eax]
call dword [ebp + 8]
mov edx, edi
mov ecx, 1
mov eax, dword [esi]
mov ebp, dword [eax]
call dword [ebp + 8]
mov edx, edi
mov ecx, 1
mov eax, dword [esi]
mov ebp, dword [eax]
call dword [ebp + 8]
mov edx, edi
mov ecx, 1
mov eax, dword [esi]
mov ebp, dword [eax]
call dword [ebp + 8]
dec ebx
jne 0x5017a2
xor edx, edx
mov eax, dword [esi]
call fcn.0040fb68
xor edx, edx
mov eax, dword [0x519978]
call fcn.0040fb68
mov byte [0x52c721], 0
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x514f88], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x514f8c], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x51505c], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x51512c], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x5151fc], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x5152cc], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x51539c], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x51546c], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x51553c], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x51560c], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x5156dc], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x5157ac], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x51587c], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x51594c], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x515a1c], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x515aec], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x515bbc], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x515c8c], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x515d5c], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x515e2c], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x515efc], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x515fcc], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x51609c], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x51616c], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x51623c], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x516240], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x516310], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x5163e0], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x5164b0], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x516580], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x516650], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x5167ec], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x5168bc], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x51698c], eax
mov dl, 1
mov eax, dword [0x40c75c]
call fcn.00403054
mov dword [0x52c7cc], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x516990], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x516a60], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x516b30], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x516c00], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x516cd0], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x516da0], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x516e70], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x516f40], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x517010], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x5170e0], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x5171b0], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x519340], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x519410], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x5194e0], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x5195b0], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x519680], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x519684], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x519688], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x51968c], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x519690], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x519694], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x519698], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x519768], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x519838], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x51983c], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x519840], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x519844], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x519848], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x51984c], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x519850], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x519854], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x519858], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x519944], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x519948], eax
mov dl, 1
mov eax, dword [0x40c9c8]
call fcn.00403054
mov dword [0x519954], eax
xor edx, edx
mov eax, dword [0x519954]
call fcn.0040fb68
mov dl, 1
mov eax, dword [0x40c9c8]
call fcn.00403054
mov dword [0x519958], eax
xor edx, edx
mov eax, dword [0x519958]
call fcn.0040fb68
mov dl, 1
mov eax, dword [0x40c9c8]
call fcn.00403054
mov dword [0x51995c], eax
xor edx, edx
mov eax, dword [0x51995c]
call fcn.0040fb68
mov dl, 1
mov eax, dword [0x40c9c8]
call fcn.00403054
mov dword [0x519960], eax
xor edx, edx
mov eax, dword [0x519960]
call fcn.0040fb68
mov dl, 1
mov eax, dword [0x40c9c8]
call fcn.00403054
mov dword [0x519964], eax
xor edx, edx
mov eax, dword [0x519964]
call fcn.0040fb68
mov dl, 1
mov eax, dword [0x40c9c8]
call fcn.00403054
mov dword [0x519968], eax
xor edx, edx
mov eax, dword [0x519968]
call fcn.0040fb68
mov dl, 1
mov eax, dword [0x40c9c8]
call fcn.00403054
mov dword [0x51996c], eax
xor edx, edx
mov eax, dword [0x51996c]
call fcn.0040fb68
mov dl, 1
mov eax, dword [0x40c9c8]
call fcn.00403054
mov dword [0x519970], eax
xor edx, edx
mov eax, dword [0x519970]
call fcn.0040fb68
mov dl, 1
mov eax, dword [0x40c9c8]
call fcn.00403054
mov dword [0x519974], eax
xor edx, edx
mov eax, dword [0x519974]
call fcn.0040fb68
mov dl, 1
mov eax, dword [0x40c9c8]
call fcn.00403054
mov dword [0x519980], eax
xor edx, edx
mov eax, dword [0x519980]
call fcn.0040fb68
mov dl, 1
mov eax, dword [0x40c9c8]
call fcn.00403054
mov dword [0x519984], eax
xor edx, edx
mov eax, dword [0x519984]
call fcn.0040fb68
mov dl, 1
mov eax, dword [0x40c9c8]
call fcn.00403054
mov dword [0x519988], eax
xor edx, edx
mov eax, dword [0x519988]
call fcn.0040fb68
mov dl, 1
mov eax, dword [0x40c9c8]
call fcn.00403054
mov dword [0x51998c], eax
xor edx, edx
mov eax, dword [0x51998c]
call fcn.0040fb68
mov dl, 1
mov eax, dword [0x40c9c8]
call fcn.00403054
mov dword [0x519990], eax
xor edx, edx
mov eax, dword [0x519990]
call fcn.0040fb68
mov dl, 1
mov eax, dword [0x40c9c8]
call fcn.00403054
mov dword [0x519994], eax
xor edx, edx
mov eax, dword [0x519994]
call fcn.0040fb68
mov dl, 1
mov eax, dword [0x40c9c8]
call fcn.00403054
mov dword [0x519998], eax
xor edx, edx
mov eax, dword [0x519998]
call fcn.0040fb68
mov dl, 1
mov eax, dword [0x40c9c8]
call fcn.00403054
mov dword [0x5246d0], eax
mov dl, 1
mov eax, dword [0x4153a4]
call fcn.0041b560
mov dword [0x51992c], eax
mov dl, 1
mov eax, dword [0x4154cc]
call fcn.0041cf54
mov dword [0x519930], eax
mov dl, 1
mov eax, dword [0x456ed0]
call fcn.00403054
mov dword [0x52d300], eax
mov dl, 1
mov eax, dword [0x40c75c]
call fcn.00403054
mov dword [0x52c7d0], eax
mov dl, 1
mov eax, dword [0x40c344]
call fcn.00403054
mov dword [0x52c7d4], eax
pop ebp
pop edi
pop esi
pop ebx
ret