Function at 0x426f70
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x459089
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x18], ebp
lea ecx, [ebp + 4]
call fcn.00417500
mov al, byte [esp + 0x13]
xor ebx, ebx
mov dword [esp + 0x1b4], ebx
mov byte [ebp + 0x10], al
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
mov cl, byte [esp + 0x13]
mov dword [ebp + 0x30], ebx
mov byte [ebp + 0x2c], cl
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x38], ebx
mov dl, byte [esp + 0x13]
mov dword [ebp + 0x40], ebx
mov byte [ebp + 0x3c], dl
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], ebx
push 0xa
mov byte [esp + 0x1b8], 3
mov dword [ebp], 0x45bd2c
mov esi, 0x61616161
call sub.MFC42.DLL_operatornew
mov dword [eax], esi
add esp, 4
mov dword [eax + 4], esi
mov word [eax + 8], si
lea eax, [esp + 0x1c]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, 0x19
xor eax, eax
lea edi, [ebp + 0x50]
mov dword [ebp + 0x4c], ebx
rep stosd dword es:[edi], eax
mov dword [ebp + 0xb4], ebx
mov esi, dword [ebp + 0x34]
mov edi, dword [ebp + 0x30]
cmp esi, esi
mov dword [esp + 0x14], esi
je 0x42704e
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
mov ecx, edi
push edx
push ebx
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x14]
add esi, 0x10
add edi, 0x10
cmp esi, eax
jne 0x42702d
mov eax, dword [ebp + 0x34]
mov esi, edi
cmp edi, eax
mov dword [esp + 0x14], eax
je 0x427070
push 1
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0x14]
add esi, 0x10
cmp esi, eax
jne 0x42705b
mov dword [ebp + 0x34], edi
mov esi, dword [ebp + 0x44]
mov edi, dword [ebp + 0x40]
cmp esi, esi
mov dword [esp + 0x14], esi
je 0x4270a1
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [eax]
push ecx
push ebx
push esi
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x14]
add esi, 0x10
add edi, 0x10
cmp esi, eax
jne 0x427081
mov eax, dword [ebp + 0x44]
mov esi, edi
cmp edi, eax
mov dword [esp + 0x14], eax
je 0x4270c1
push ebx
mov ecx, esi
call fcn.004069d0
mov eax, dword [esp + 0x14]
add esi, 0x10
cmp esi, eax
jne 0x4270ae
mov dword [ebp + 0x44], edi
mov edi, 0x4660f4
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 0xb8], ebx
mov dword [ebp + 0xbc], ebx
mov byte [ebp + 0xc0], bl
mov dword [ebp + 0xc4], ebx
mov byte [ebp + 0xc8], bl
mov byte [ebp + 0xc9], bl
mov byte [ebp + 0xca], bl
mov dword [ebp + 0xd0], ebx
mov dword [ebp + 0x20], ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [ebp + 0x10]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x42713f
mov edi, dword [ebp + 0x14]
mov ecx, esi
mov edx, ecx
mov esi, 0x4660f4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x14]
mov dword [ebp + 0x18], eax
mov byte [ecx + eax], bl
mov ecx, dword [esp + 0x1ac]
pop edi
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0xc], ebx
mov byte [ebp + 8], bl
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a8
ret