Function at 0x4bab30
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6045
mov eax, dword fs:[0]
push eax
sub esp, 0x3b8
mov eax, dword [0x61df80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
push eax
call sym.GNTKProProxy.exe_public:_static_int___cdecl_gloox::DNS::getSocket_class_gloox::LogSink_const__
add esp, 4
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jge 0x4bab78
mov eax, dword [ebp - 0x44]
jmp 0x4bb2f6
mov ecx, dword [ebp + 8]
call fcn.00403210
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4bac42
mov ecx, dword [ebp + 8]
push ecx
push str.gethostbyname___failed_for
lea edx, [ebp - 0x60]
push edx
call fcn.00426690
add esp, 0xc
mov dword [ebp - 0x308], eax
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x30c], eax
mov dword [ebp - 4], 0
push 0x5decb8
mov ecx, dword [ebp - 0x30c]
push ecx
lea edx, [ebp - 0x7c]
push edx
call fcn.004090d0
add esp, 0xc
mov dword [ebp - 0x310], eax
mov eax, dword [ebp - 0x310]
mov dword [ebp - 0x314], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x314]
push ecx
push 0x20
mov ecx, dword [ebp + 0x10]
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 - 0x7c]
call fcn.00403180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00403180
mov edx, dword [ebp + 0x10]
push edx
call sym.GNTKProProxy.exe_private:_static_void___cdecl_gloox::DNS::cleanup_class_gloox::LogSink_const__
add esp, 4
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call sym.GNTKProProxy.exe_public:_static_void___cdecl_gloox::DNS::closeSocket_int__class_gloox::LogSink_const__
add esp, 8
mov eax, 0xfffffff6
jmp 0x4bb2f6
mov edx, 2
mov word [ebp - 0x24], dx
movzx eax, word [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
mov ecx, dword [ebp - 0x10]
movsx edx, word [ecx + 0xa]
cmp edx, 4
je 0x4bacc8
push str.gethostbyname___returned_unexpected_structure.
lea ecx, [ebp - 0x98]
call fcn.00403100
mov dword [ebp - 4], 2
lea eax, [ebp - 0x98]
push eax
push 0x20
mov ecx, dword [ebp + 0x10]
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 - 0x98]
call fcn.00403180
mov ecx, dword [ebp + 0x10]
push ecx
call sym.GNTKProProxy.exe_private:_static_void___cdecl_gloox::DNS::cleanup_class_gloox::LogSink_const__
add esp, 4
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x44]
push eax
call sym.GNTKProProxy.exe_public:_static_void___cdecl_gloox::DNS::closeSocket_int__class_gloox::LogSink_const__
add esp, 8
mov eax, 0xfffffff6
jmp 0x4bb2f6
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xb4]
push eax
call fcn.004b9f90
add esp, 8
mov dword [ebp - 0x318], eax
mov ecx, dword [ebp - 0x318]
mov dword [ebp - 0x31c], ecx
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
push edx
push str.Connecting_to
lea eax, [ebp - 0xd0]
push eax
call fcn.00426690
add esp, 0xc
mov dword [ebp - 0x320], eax
mov ecx, dword [ebp - 0x320]
mov dword [ebp - 0x324], ecx
mov byte [ebp - 4], 4
push 0x5ded10
mov edx, dword [ebp - 0x324]
push edx
lea eax, [ebp - 0xec]
push eax
call fcn.004090d0
add esp, 0xc
mov dword [ebp - 0x328], eax
mov ecx, dword [ebp - 0x328]
mov dword [ebp - 0x32c], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov eax, dword [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.004090d0
add esp, 0xc
mov dword [ebp - 0x330], eax
mov edx, dword [ebp - 0x330]
mov dword [ebp - 0x334], edx
mov byte [ebp - 4], 6
push 0x5ded0c
mov eax, dword [ebp - 0x334]
push eax
lea ecx, [ebp - 0x124]
push ecx
call fcn.004090d0
add esp, 0xc
mov dword [ebp - 0x338], eax
mov edx, dword [ebp - 0x338]
mov dword [ebp - 0x33c], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x31c]
push eax
mov ecx, dword [ebp - 0x33c]
push ecx
lea edx, [ebp - 0x140]
push edx
call fcn.00409180
add esp, 0xc
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 0x340]
mov dword [ebp - 0x344], eax
mov byte [ebp - 4], 8
push 0x5ded08
mov ecx, dword [ebp - 0x344]
push ecx
lea edx, [ebp - 0x15c]
push edx
call fcn.004090d0
add esp, 0xc
mov dword [ebp - 0x348], eax
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x34c], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x34c]
push ecx
push 0x20
mov ecx, dword [ebp + 0x10]
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], 8
lea ecx, [ebp - 0x15c]
call fcn.00403180
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x140]
call fcn.00403180
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x124]
call fcn.00403180
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x108]
call fcn.00403180
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xec]
call fcn.00403180
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd0]
call fcn.00403180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.00403180
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
push 0x10
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x4bb0a5
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x178]
push eax
call fcn.004b9f90
add esp, 8
mov dword [ebp - 0x350], eax
mov ecx, dword [ebp - 0x350]
mov dword [ebp - 0x354], ecx
mov dword [ebp - 4], 0xa
mov edx, dword [ebp + 8]
push edx
push str.Connected_to
lea eax, [ebp - 0x194]
push eax
call fcn.00426690
add esp, 0xc
mov dword [ebp - 0x358], eax
mov ecx, dword [ebp - 0x358]
mov dword [ebp - 0x35c], ecx
mov byte [ebp - 4], 0xb
push 0x5ded2c
mov edx, dword [ebp - 0x35c]
push edx
lea eax, [ebp - 0x1b0]
push eax
call fcn.004090d0
add esp, 0xc
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0x360]
mov dword [ebp - 0x364], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov eax, dword [ebp - 0x364]
push eax
lea ecx, [ebp - 0x1cc]
push ecx
call fcn.004090d0
add esp, 0xc
mov dword [ebp - 0x368], eax
mov edx, dword [ebp - 0x368]
mov dword [ebp - 0x36c], edx
mov byte [ebp - 4], 0xd
push 0x5ded28
mov eax, dword [ebp - 0x36c]
push eax
lea ecx, [ebp - 0x1e8]
push ecx
call fcn.004090d0
add esp, 0xc
mov dword [ebp - 0x370], eax
mov edx, dword [ebp - 0x370]
mov dword [ebp - 0x374], edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x354]
push eax
mov ecx, dword [ebp - 0x374]
push ecx
lea edx, [ebp - 0x204]
push edx
call fcn.00409180
add esp, 0xc
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0x378]
mov dword [ebp - 0x37c], eax
mov byte [ebp - 4], 0xf
push 0x5ded24
mov ecx, dword [ebp - 0x37c]
push ecx
lea edx, [ebp - 0x220]
push edx
call fcn.004090d0
add esp, 0xc
mov dword [ebp - 0x380], eax
mov eax, dword [ebp - 0x380]
mov dword [ebp - 0x384], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x384]
push ecx
push 0x20
mov ecx, dword [ebp + 0x10]
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], 0xf
lea ecx, [ebp - 0x220]
call fcn.00403180
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x204]
call fcn.00403180
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1e8]
call fcn.00403180
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1cc]
call fcn.00403180
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1b0]
call fcn.00403180
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x194]
call fcn.00403180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x178]
call fcn.00403180
mov eax, dword [ebp - 0x44]
jmp 0x4bb2f6
call sub.WS2_32.dll_WSAGetLastError
push eax
lea edx, [ebp - 0x23c]
push edx
call fcn.004b9f90
add esp, 8
mov dword [ebp - 0x388], eax
mov eax, dword [ebp - 0x388]
mov dword [ebp - 0x38c], eax
mov dword [ebp - 4], 0x11
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x258]
push edx
call fcn.004b9f90
add esp, 8
mov dword [ebp - 0x390], eax
mov eax, dword [ebp - 0x390]
mov dword [ebp - 0x394], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp + 8]
push ecx
push str.Connection_to
lea edx, [ebp - 0x274]
push edx
call fcn.00426690
add esp, 0xc
mov dword [ebp - 0x398], eax
mov eax, dword [ebp - 0x398]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 4], 0x13
push 0x5ded60
mov ecx, dword [ebp - 0x39c]
push ecx
lea edx, [ebp - 0x290]
push edx
call fcn.004090d0
add esp, 0xc
mov dword [ebp - 0x3a0], eax
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 0x3a4], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov edx, dword [ebp - 0x3a4]
push edx
lea eax, [ebp - 0x2ac]
push eax
call fcn.004090d0
add esp, 0xc
mov dword [ebp - 0x3a8], eax
mov ecx, dword [ebp - 0x3a8]
mov dword [ebp - 0x3ac], ecx
mov byte [ebp - 4], 0x15
push 0x5ded5c
mov edx, dword [ebp - 0x3ac]
push edx
lea eax, [ebp - 0x2c8]
push eax
call fcn.004090d0
add esp, 0xc
mov dword [ebp - 0x3b0], eax
mov ecx, dword [ebp - 0x3b0]
mov dword [ebp - 0x3b4], ecx
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x394]
push edx
mov eax, dword [ebp - 0x3b4]
push eax
lea ecx, [ebp - 0x2e4]
push ecx
call fcn.00409180
add esp, 0xc
mov dword [ebp - 0x3b8], eax
mov edx, dword [ebp - 0x3b8]
mov dword [ebp - 0x3bc], edx
mov byte [ebp - 4], 0x17
push 0x5ded40
mov eax, dword [ebp - 0x3bc]
push eax
lea ecx, [ebp - 0x300]
push ecx
call fcn.004090d0
add esp, 0xc
mov dword [ebp - 0x3c0], eax
mov edx, dword [ebp - 0x3c0]
mov dword [ebp - 0x3c4], edx
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x38c]
push eax
mov ecx, dword [ebp - 0x3c4]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00409180
add esp, 0xc
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x300]
call fcn.00403180
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x2e4]
call fcn.00403180
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x2c8]
call fcn.00403180
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x2ac]
call fcn.00403180
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x290]
call fcn.00403180
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x274]
call fcn.00403180
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x258]
call fcn.00403180
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x23c]
call fcn.00403180
lea eax, [ebp - 0x40]
push eax
push 0x20
mov ecx, dword [ebp + 0x10]
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 ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call sym.GNTKProProxy.exe_public:_static_void___cdecl_gloox::DNS::closeSocket_int__class_gloox::LogSink_const__
add esp, 8
mov dword [ebp - 0x304], 0xfffffff7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00403180
mov eax, dword [ebp - 0x304]
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