Function at 0x49df30
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a66d0
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x61df80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], 0
mov ecx, dword [ebp - 0x134]
add ecx, 0x34
call sym.GNTKProProxy.exe_public:_void___thiscall_gloox::util::Mutex::lock_void_
mov eax, dword [ebp - 0x134]
movzx ecx, byte [eax + 0x4c]
test ecx, ecx
jne 0x49df9f
mov edx, dword [ebp - 0x134]
cmp dword [edx + 0x3c], 0
jl 0x49df9f
mov eax, dword [ebp - 0x134]
cmp dword [eax + 0x50], 0
jne 0x49dfb7
mov ecx, dword [ebp - 0x134]
add ecx, 0x34
call sym.GNTKProProxy.exe_public:_void___thiscall_gloox::util::Mutex::unlock_void_
mov eax, 0x12
jmp 0x49e157
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x134]
call sym.GNTKProProxy.exe_protected:_bool___thiscall_gloox::ConnectionTCPBase::dataAvailable_int_
movzx edx, al
test edx, edx
jne 0x49dfe2
mov ecx, dword [ebp - 0x134]
add ecx, 0x34
call sym.GNTKProProxy.exe_public:_void___thiscall_gloox::util::Mutex::unlock_void_
xor eax, eax
jmp 0x49e157
mov dword [ebp - 0x10], 0x80
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x134]
mov eax, dword [edx + 0x3c]
push eax
call dword [sym.imp.WS2_32.dll_accept]
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x134]
add ecx, 0x34
call sym.GNTKProProxy.exe_public:_void___thiscall_gloox::util::Mutex::unlock_void_
push 0xa
push 0x20
lea ecx, [ebp - 0xb4]
push ecx
push 0x41
lea edx, [ebp - 0x104]
push edx
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x49e056
mov eax, 7
jmp 0x49e157
push 0x50
call fcn.004bde6b
add esp, 4
mov dword [ebp - 0x110], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x110], 0
je 0x49e0cf
lea edx, [ebp - 0x104]
push edx
lea ecx, [ebp - 0x12c]
call fcn.00403100
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x130]
or eax, 1
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0xb4]
push ecx
call fcn.004c8b41
add esp, 4
push eax
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, dword [ebp - 0x110]
call sym.GNTKProProxy.exe_public:_void___thiscall_gloox::ConnectionTCPClient::constructor_class_gloox::LogSink_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int_
mov dword [ebp - 0x138], eax
jmp 0x49e0d9
mov dword [ebp - 0x138], 0
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x130]
and ecx, 1
je 0x49e11c
and dword [ebp - 0x130], 0xfffffffe
lea ecx, [ebp - 0x12c]
call fcn.00403180
mov edx, dword [ebp - 0x108]
push edx
mov ecx, dword [ebp - 0xbc]
call sym.GNTKProProxy.exe_public:_void___thiscall_gloox::ConnectionTCPBase::setSocket_int_
mov eax, dword [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x134]
mov eax, dword [edx + 0x50]
mov ecx, dword [ebp - 0x134]
mov ecx, dword [ecx + 0x50]
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c7d13
mov esp, ebp
pop ebp
ret 4