Function at 0x401500
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405cdb
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x408018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1a8], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, 0xf
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ebx
mov byte [esi + 0x20], bl
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ebx
mov byte [esi + 0x58], bl
mov dword [esi + 0x88], eax
mov dword [esi + 0x84], ebx
mov byte [esi + 0x74], bl
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa0], ebx
mov byte [esi + 0x90], bl
mov byte [ebp - 4], 0xb
push 0xc
mov dword [esi + 0xb0], ebx
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, ebx
je 0x401712
mov dword [esi + 0xac], eax
mov dword [eax], eax
mov eax, dword [esi + 0xac]
mov dword [eax + 4], eax
lea eax, [ebp + 0x94]
push eax
or eax, 0xffffffff
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 0xc
call fcn.004039c0
lea ecx, [ebp + 0x24]
push ecx
or eax, 0xffffffff
lea ecx, [esi + 0x20]
mov dword [esi], 0x19
call fcn.004039c0
lea edx, [ebp + 0x40]
push edx
or eax, 0xffffffff
lea ecx, [esi + 0x3c]
call fcn.004039c0
lea eax, [ebp + 0x5c]
push eax
or eax, 0xffffffff
lea ecx, [esi + 0x58]
call fcn.004039c0
lea ecx, [ebp + 0x78]
push ecx
or eax, 0xffffffff
lea ecx, [esi + 0x74]
call fcn.004039c0
lea edx, [ebp + 8]
push edx
or eax, 0xffffffff
lea ecx, [esi + 4]
call fcn.004039c0
lea eax, [ebp - 0x1a0]
push eax
push 0x102
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edi, 0x10
mov dword [esi + 0x4c0], ebx
cmp dword [ebp + 0x1c], edi
jb 0x401649
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], ebx
mov byte [ebp + 8], bl
cmp dword [ebp + 0x38], edi
jb 0x401668
mov edx, dword [ebp + 0x24]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp + 0x38], 0xf
mov dword [ebp + 0x34], ebx
mov byte [ebp + 0x24], bl
cmp dword [ebp + 0x54], edi
jb 0x401687
mov eax, dword [ebp + 0x40]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp + 0x54], 0xf
mov dword [ebp + 0x50], ebx
mov byte [ebp + 0x40], bl
cmp dword [ebp + 0x70], edi
jb 0x4016a6
mov ecx, dword [ebp + 0x5c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp + 0x70], 0xf
mov dword [ebp + 0x6c], ebx
mov byte [ebp + 0x5c], bl
cmp dword [ebp + 0x8c], edi
jb 0x4016c8
mov edx, dword [ebp + 0x78]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp + 0x8c], 0xf
mov dword [ebp + 0x88], ebx
mov byte [ebp + 0x78], bl
cmp dword [ebp + 0xa8], edi
jb 0x4016f3
mov eax, dword [ebp + 0x94]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040518a
mov esp, ebp
pop ebp
ret 0xa8
lea ecx, [ebp - 0x1a4]
push ecx
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x1a4], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x406a40
lea edx, [ebp - 0x1b4]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3