Function at 0x4ba550
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a49fd
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x61df80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1a4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4ba630
call sub.WS2_32.dll_WSAGetLastError
push eax
lea ecx, [ebp - 0x1e4]
push ecx
call fcn.004b9f90
add esp, 8
mov dword [ebp - 0x274], eax
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x278], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x278]
push eax
push str.WSAStartup___failed._WSAGetLastError:
lea ecx, [ebp - 0x200]
push ecx
call fcn.00426690
add esp, 0xc
mov dword [ebp - 0x27c], eax
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x280], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x280]
push eax
push 0x20
mov ecx, dword [ebp + 8]
call sym.GNTKProProxy.exe_public:_void___thiscall_gloox::LogSink::dbg_enum_gloox::LogArea__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__const
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x200]
call fcn.00403180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e4]
call fcn.00403180
mov eax, 0xfffffff6
jmp 0x4ba7b3
mov dword [ebp - 0x1a8], 6
push 0x5dec2c
call dword [sym.imp.WS2_32.dll_getprotobyname]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
je 0x4ba669
mov ecx, dword [ebp - 0x1ac]
movsx edx, word [ecx + 8]
mov dword [ebp - 0x1a8], edx
jmp 0x4ba79c
push 6
lea eax, [ebp - 0x21c]
push eax
call fcn.004b9f90
add esp, 8
mov dword [ebp - 0x284], eax
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 0x288], ecx
mov dword [ebp - 4], 2
call sub.WS2_32.dll_WSAGetLastError
push eax
lea edx, [ebp - 0x238]
push edx
call fcn.004b9f90
add esp, 8
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x290]
push ecx
push str.getprotobyname___tcp____failed._WSAGetLastError:
lea edx, [ebp - 0x254]
push edx
call fcn.00426690
add esp, 0xc
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 4
push str.._Falling_back_to_IPPROTO_TCP:
mov ecx, dword [ebp - 0x298]
push ecx
lea edx, [ebp - 0x270]
push edx
call fcn.004090d0
add esp, 0xc
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x288]
push ecx
mov edx, dword [ebp - 0x2a0]
push edx
lea eax, [ebp - 0x1c8]
push eax
call fcn.00409180
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x270]
call fcn.00403180
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x254]
call fcn.00403180
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x238]
call fcn.00403180
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x21c]
call fcn.00403180
lea ecx, [ebp - 0x1c8]
push ecx
push 0x20
mov ecx, dword [ebp + 8]
call sym.GNTKProProxy.exe_public:_void___thiscall_gloox::LogSink::dbg_enum_gloox::LogArea__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__const
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c8]
call fcn.00403180
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1a8]
push eax
push 1
push 2
call sym.GNTKProProxy.exe_private:_static_int___cdecl_gloox::DNS::getSocket_int__int__int__class_gloox::LogSink_const__
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c7d13
mov esp, ebp
pop ebp
ret