Function at 0x4015a0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40770b
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x40b018]
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 0x4017b1
mov dword [esi + 0xac], eax
mov dword [eax], eax
mov eax, dword [esi + 0xac]
mov dword [eax + 4], eax
lea eax, [ebp + 0x98]
push eax
or eax, 0xffffffff
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 0xc
call fcn.00403af0
mov ecx, dword [ebp + 8]
lea edx, [ebp + 0x28]
mov dword [esi], ecx
push edx
or eax, 0xffffffff
lea ecx, [esi + 0x20]
call fcn.00403af0
lea eax, [ebp + 0x44]
push eax
or eax, 0xffffffff
lea ecx, [esi + 0x3c]
call fcn.00403af0
lea ecx, [ebp + 0x60]
push ecx
or eax, 0xffffffff
lea ecx, [esi + 0x58]
call fcn.00403af0
lea edx, [ebp + 0x7c]
push edx
or eax, 0xffffffff
lea ecx, [esi + 0x74]
call fcn.00403af0
lea eax, [ebp + 0xc]
push eax
or eax, 0xffffffff
lea ecx, [esi + 4]
call fcn.00403af0
lea ecx, [ebp - 0x1a0]
push ecx
push 0x102
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edi, 0x10
mov dword [esi + 0x4c0], ebx
cmp dword [ebp + 0x20], edi
jb 0x4016e8
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp + 0x20], 0xf
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
cmp dword [ebp + 0x3c], edi
jb 0x401707
mov eax, dword [ebp + 0x28]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp + 0x3c], 0xf
mov dword [ebp + 0x38], ebx
mov byte [ebp + 0x28], bl
cmp dword [ebp + 0x58], edi
jb 0x401726
mov ecx, dword [ebp + 0x44]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp + 0x58], 0xf
mov dword [ebp + 0x54], ebx
mov byte [ebp + 0x44], bl
cmp dword [ebp + 0x74], edi
jb 0x401745
mov edx, dword [ebp + 0x60]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp + 0x74], 0xf
mov dword [ebp + 0x70], ebx
mov byte [ebp + 0x60], bl
cmp dword [ebp + 0x90], edi
jb 0x401767
mov eax, dword [ebp + 0x7c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp + 0x90], 0xf
mov dword [ebp + 0x8c], ebx
mov byte [ebp + 0x7c], bl
cmp dword [ebp + 0xac], edi
jb 0x401792
mov ecx, dword [ebp + 0x98]
push ecx
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.00406bba
mov esp, ebp
pop ebp
ret 0xac
lea edx, [ebp - 0x1a4]
push edx
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 0x408b28
lea eax, [ebp - 0x1b4]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3