Function at 0x4ba7d0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4980
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x61df80]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4baacc
call sub.WS2_32.dll_WSAGetLastError
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004b9f90
add esp, 8
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x70]
push eax
call fcn.004b9f90
add esp, 8
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x164], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x8c]
push eax
call fcn.004b9f90
add esp, 8
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x16c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xa8]
push eax
call fcn.004b9f90
add esp, 8
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x174], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x174]
push edx
push str.getSocket_
lea eax, [ebp - 0xc4]
push eax
call fcn.00426690
add esp, 0xc
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], ecx
mov byte [ebp - 4], 4
push 0x5deca8
mov edx, dword [ebp - 0x17c]
push edx
lea eax, [ebp - 0xe0]
push eax
call fcn.004090d0
add esp, 0xc
mov dword [ebp - 0x180], eax
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x184], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x16c]
push edx
mov eax, dword [ebp - 0x184]
push eax
lea ecx, [ebp - 0xfc]
push ecx
call fcn.00409180
add esp, 0xc
mov dword [ebp - 0x188], eax
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x18c], edx
mov byte [ebp - 4], 6
push 0x5deca4
mov eax, dword [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x118]
push ecx
call fcn.004090d0
add esp, 0xc
mov dword [ebp - 0x190], eax
mov edx, dword [ebp - 0x190]
mov dword [ebp - 0x194], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x194]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.00409180
add esp, 0xc
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 8
push str.___failed._WSAGetLastError:
mov ecx, dword [ebp - 0x19c]
push ecx
lea edx, [ebp - 0x150]
push edx
call fcn.004090d0
add esp, 0xc
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x15c]
push ecx
mov edx, dword [ebp - 0x1a4]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.00409180
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x150]
call fcn.00403180
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x134]
call fcn.00403180
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x118]
call fcn.00403180
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xfc]
call fcn.00403180
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xe0]
call fcn.00403180
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xc4]
call fcn.00403180
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xa8]
call fcn.00403180
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x8c]
call fcn.00403180
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x70]
call fcn.00403180
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x54]
call fcn.00403180
lea ecx, [ebp - 0x38]
push ecx
push 0x20
mov ecx, dword [ebp + 0x14]
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 edx, dword [ebp + 0x14]
push edx
call sym.GNTKProProxy.exe_private:_static_void___cdecl_gloox::DNS::cleanup_class_gloox::LogSink_const__
add esp, 4
mov dword [ebp - 0x154], 0xfffffff7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00403180
mov eax, dword [ebp - 0x154]
jmp 0x4bab0e
mov dword [ebp - 0x14], 0x1388
mov dword [ebp - 0x10], 1
push 4
lea eax, [ebp - 0x14]
push eax
push 0x1005
push 0xffff
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea edx, [ebp - 0x10]
push edx
push 4
push 0xffff
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004c7d13
mov esp, ebp
pop ebp
ret