Function at 0x409840
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x41cb16
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x427020]
xor eax, esp
mov dword [esp + 0x194], eax
push edi
mov eax, dword [0x427020]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
lea ecx, [esi + 0x1c]
mov dword [esp + 8], esi
mov dword [esi], vtable.CHttpAgent.0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor edi, edi
lea ecx, [esi + 0x38]
mov dword [esp + 0x1a8], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x54]
mov byte [esp + 0x1a8], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x70]
mov byte [esp + 0x1a8], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x8c]
mov byte [esp + 0x1a8], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0xa8]
mov byte [esp + 0x1a8], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0xc4]
mov byte [esp + 0x1a8], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0xe0]
mov byte [esp + 0x1a8], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0x1a8], 7
call fcn.0040dcf0
mov dword [esi + 0x100], eax
mov byte [eax + 0x45], 1
mov eax, dword [esi + 0x100]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x100]
mov dword [eax], eax
mov eax, dword [esi + 0x100]
mov dword [eax + 8], eax
mov dword [esi + 0x104], edi
lea ecx, [esi + 0x108]
mov byte [esp + 0x1a8], 8
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0x1a8], 9
call fcn.0040dcf0
mov dword [esi + 0x128], eax
mov byte [eax + 0x45], 1
mov eax, dword [esi + 0x128]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x128]
mov dword [eax], eax
mov eax, dword [esi + 0x128]
mov dword [eax + 8], eax
push 0x190
mov dword [esi + 0x12c], edi
lea eax, [esp + 0x10]
push edi
push eax
mov dword [esi + 0xc], 0x1e
mov dword [esi + 0x10], 0x1000
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0x14], edi
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov eax, esi
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00413588
add esp, 0x1a4
ret