Function at 0x401d90
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406b8d
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x40a008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 0x1a8], esi
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
lea edi, [esi + 0x1c]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ebx, [esi + 0x34]
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0xf
mov byte [esi + 0x4c], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0xf
mov byte [esi + 0x64], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0xf
mov byte [esi + 0x7c], 0
mov byte [ebp - 4], 0xb
push 0xc
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
call fcn.00405c4d
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x94], eax
lea eax, [ebp + 0x84]
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x7c]
cmp ecx, eax
je 0x401ec9
cmp dword [ebp + 0x98], 0x10
push dword [ebp + 0x94]
cmovae eax, dword [ebp + 0x84]
push eax
call fcn.004014f0
lea eax, [ebp + 0x24]
mov dword [esi], 0x24b
cmp edi, eax
je 0x401ee9
cmp dword [ebp + 0x38], 0x10
mov ecx, edi
push dword [ebp + 0x34]
cmovae eax, dword [ebp + 0x24]
push eax
call fcn.004014f0
lea eax, [ebp + 0x3c]
cmp ebx, eax
je 0x401f03
cmp dword [ebp + 0x50], 0x10
mov ecx, ebx
push dword [ebp + 0x4c]
cmovae eax, dword [ebp + 0x3c]
push eax
call fcn.004014f0
lea eax, [ebp + 0x54]
lea ecx, [esi + 0x4c]
cmp ecx, eax
je 0x401f1e
cmp dword [ebp + 0x68], 0x10
push dword [ebp + 0x64]
cmovae eax, dword [ebp + 0x54]
push eax
call fcn.004014f0
lea eax, [ebp + 0x6c]
lea ecx, [esi + 0x64]
cmp ecx, eax
je 0x401f3c
cmp dword [ebp + 0x80], 0x10
push dword [ebp + 0x7c]
cmovae eax, dword [ebp + 0x6c]
push eax
call fcn.004014f0
lea eax, [ebp + 0xc]
lea ecx, [esi + 4]
cmp ecx, eax
je 0x401f57
cmp dword [ebp + 0x20], 0x10
push dword [ebp + 0x1c]
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.004014f0
lea eax, [ebp - 0x1a0]
push eax
push 0x102
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edx, dword [ebp + 0x20]
mov dword [esi + 0x4a4], 0
cmp edx, 0x10
jb 0x401fa7
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401f9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4020ff
push edx
push ecx
call fcn.00405c7d
add esp, 8
mov edx, dword [ebp + 0x38]
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
cmp edx, 0x10
jb 0x401fed
mov ecx, dword [ebp + 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401fe3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4020ff
push edx
push ecx
call fcn.00405c7d
add esp, 8
mov edx, dword [ebp + 0x50]
mov dword [ebp + 0x34], 0
mov dword [ebp + 0x38], 0xf
mov byte [ebp + 0x24], 0
cmp edx, 0x10
jb 0x402033
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402029
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4020ff
push edx
push ecx
call fcn.00405c7d
add esp, 8
mov edx, dword [ebp + 0x68]
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
cmp edx, 0x10
jb 0x402079
mov ecx, dword [ebp + 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40206f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4020ff
push edx
push ecx
call fcn.00405c7d
add esp, 8
mov edx, dword [ebp + 0x80]
mov dword [ebp + 0x64], 0
mov dword [ebp + 0x68], 0xf
mov byte [ebp + 0x54], 0
cmp edx, 0x10
jb 0x4020be
mov ecx, dword [ebp + 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4020b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4020ff
push edx
push ecx
call fcn.00405c7d
add esp, 8
mov edx, dword [ebp + 0x98]
mov dword [ebp + 0x7c], 0
mov dword [ebp + 0x80], 0xf
mov byte [ebp + 0x6c], 0
cmp edx, 0x10
jb 0x40210f
mov ecx, dword [ebp + 0x84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402105
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402105
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00405c7d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00405c3f
mov esp, ebp
pop ebp
ret 0x94