Function at 0x401000
Capabilities:
Initialize winsock library

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x402702
push eax
mov eax, 0x12b0
mov dword fs:[0], esp
call fcn.004020f0
push ebx
push esi
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov eax, dword [esp + 0x12c8]
xor ebx, ebx
cmp eax, 3
mov dword [esp + 0x12c0], ebx
jne 0x4011d0
lea eax, [esp + 0x1128]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov esi, dword [esp + 0x12cc]
mov edx, dword [esi + 8]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov eax, dword [esi + 4]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0x12fc], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov edx, dword [esi]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
mov byte [esp + 0x1318], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x84]
mov byte [esp + 0x1314], bl
call fcn.00401550
lea ecx, [esp + 0x30]
mov byte [esp + 0x12c0], 3
call fcn.00401300
test al, al
je 0x4011c0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4030ec
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x4c]
call fcn.00401370
cmp al, bl
lea ecx, [esp + 0x30]
je 0x4011c4
call fcn.004014f0
test al, al
je 0x4011c0
mov eax, dword [esi + 8]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov edx, dword [esi + 4]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x12fc], 4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov eax, dword [esi]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push eax
mov byte [esp + 0x1318], 5
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x900]
mov byte [esp + 0x1314], 3
call fcn.00401550
lea ecx, [esp + 0x8ac]
mov byte [esp + 0x12c0], 6
call fcn.00401300
test al, al
je 0x4011ac
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4030e8
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x8c8]
call fcn.00401370
cmp al, bl
lea ecx, [esp + 0x8ac]
je 0x4011b3
call fcn.004014f0
lea ecx, [esp + 0x8ac]
mov byte [esp + 0x12c0], 3
call fcn.00401290
lea ecx, [esp + 0x30]
mov byte [esp + 0x12c0], bl
call fcn.00401290
lea ecx, [esp + 0x14]
mov dword [esp + 0x12c0], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x12b8]
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x12bc
ret