Function at 0x4cf160
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x51784c
mov eax, dword fs:[0]
push eax
sub esp, 0x8d0
mov eax, dword [0x5a4aa8]
xor eax, esp
mov dword [esp + 0x8cc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a4aa8]
xor eax, esp
push eax
lea eax, [esp + 0x8e4]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Target::ResolveAddress______n
mov esi, ecx
call ebx
mov ecx, esi
call sym.Setup.exe_public:_int___thiscall_Target::isAddressResolved_void_
test eax, eax
jne 0x4cf239
mov eax, dword [esi + 0x34]
xor ebp, ebp
cmp eax, ebp
jne 0x4cf1ce
push str.No_agent_address_set____n
call ebx
lea eax, [ebp - 0x34]
jmp 0x4cf245
push eax
call sym.Setup.exe_public:_static_int___cdecl_Target::isValidIPv4Address_char__
add esp, 4
test eax, eax
je 0x4cf26d
mov eax, dword [esi + 0x34]
push eax
lea ecx, [esp + 0xe0]
push str.Identified_agent_address__s__as_valid_IPv4_address_n
push ecx
call fcn.004fc0ed
add esp, 0xc
lea edx, [esp + 0xdc]
push edx
call ebx
mov eax, dword [esi + 0x34]
push eax
lea ecx, [esp + 0x3c]
call sym.Setup.exe_public:_void___thiscall_IPAddress::constructor_char__
push eax
mov ecx, esi
mov dword [esp + 0x8f0], ebp
call sym.Setup.exe_private:_int___thiscall_Target::setNetworkAddress_class_NetworkAddress__
lea ecx, [esp + 0x38]
mov dword [esp + 0x8ec], 0xffffffff
call sym.Setup.exe_public_virtual:_void___thiscall_IPAddress::destructor_void_
mov dword [esi + 0x38], 1
mov eax, dword [esi + 0x38]
neg eax
sbb eax, eax
neg eax
sub eax, 1
mov ecx, dword [esp + 0x8e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8cc]
xor ecx, esp
call fcn.004fa103
add esp, 0x8dc
ret
mov ecx, dword [esi + 0x34]
push ecx
call sym.Setup.exe_public:_static_int___cdecl_Target::isValidIPv6Address_char__
add esp, 4
test eax, eax
je 0x4cf2dd
mov edx, dword [esi + 0x34]
push edx
lea eax, [esp + 0xe0]
push str.Identified_agent_address__s__as_valid_IPv6_address_n
push eax
call fcn.004fc0ed
add esp, 0xc
lea ecx, [esp + 0xdc]
push ecx
call ebx
mov edx, dword [esi + 0x34]
push edx
lea ecx, [esp + 0x3c]
call sym.Setup.exe_public:_void___thiscall_IPv6Address::constructor_char__
mov ebp, 1
push eax
mov ecx, esi
mov dword [esp + 0x8f0], ebp
call sym.Setup.exe_private:_int___thiscall_Target::setNetworkAddress_class_NetworkAddress__
lea ecx, [esp + 0x38]
mov dword [esp + 0x8ec], 0xffffffff
call sym.Setup.exe_public_virtual:_void___thiscall_IPv6Address::destructor_void_
mov dword [esi + 0x38], ebp
jmp 0x4cf239
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x34]
push eax
lea ecx, [esp + 0x60]
push str.Resolving___s__address..._n
push ecx
mov dword [esp + 0x20], ebp
call fcn.004fc0ed
add esp, 0xc
lea edx, [esp + 0x5c]
push edx
call ebx
mov edx, dword [esi + 0x34]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x52be58
push edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], 0x11
call fcn.004ce570
cmp eax, 0x2afc
jne 0x4cf364
push str.getaddrinfo_failed_WSANO_DATA__n
call ebx
mov eax, 0xffffffe2
jmp 0x4cf245
cmp eax, ebp
jne 0x4cf4c4
mov edi, dword [esp + 0x14]
cmp edi, ebp
je 0x4cf239
mov ebp, 1
lea ecx, [ecx]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x18]
push 2
push 0
push 0
push 0x401
lea eax, [esp + 0x4ec]
push eax
push ecx
push edx
call fcn.004ce5b0
test eax, eax
jne 0x4cf47f
mov eax, dword [edi + 4]
push eax
lea ecx, [esp + 0x4e0]
push ecx
lea edx, [esp + 0x64]
push str.Remote_agent_address___s__Family:__d__n
push edx
call fcn.004fc0ed
add esp, 0x10
lea eax, [esp + 0x5c]
push eax
call ebx
mov eax, dword [edi + 4]
sub eax, 2
je 0x4cf437
sub eax, 0x15
je 0x4cf3fd
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
push edx
lea eax, [esp + 0x60]
push str.Unknown_type_of_family_____d_n
push eax
call fcn.004fc0ed
add esp, 0xc
lea ecx, [esp + 0x5c]
push ecx
call ebx
jmp 0x4cf472
lea edx, [esp + 0x4dc]
push edx
lea ecx, [esp + 0x54]
call sym.Setup.exe_public:_void___thiscall_IPv6Address::constructor_char__
push eax
mov ecx, esi
mov dword [esp + 0x8f0], 3
call sym.Setup.exe_public:_int___thiscall_Target::setIPv6Address_class_IPv6Address__
lea ecx, [esp + 0x50]
mov dword [esp + 0x8ec], 0xffffffff
call sym.Setup.exe_public_virtual:_void___thiscall_IPv6Address::destructor_void_
jmp 0x4cf46f
lea eax, [esp + 0x4dc]
push eax
lea ecx, [esp + 0x48]
call sym.Setup.exe_public:_void___thiscall_IPAddress::constructor_char__
push eax
mov ecx, esi
mov dword [esp + 0x8f0], 2
call sym.Setup.exe_public:_int___thiscall_Target::setIPAddress_class_IPAddress__
lea ecx, [esp + 0x44]
mov dword [esp + 0x8ec], 0xffffffff
call sym.Setup.exe_public_virtual:_void___thiscall_IPAddress::destructor_void_
mov dword [esi + 0x38], ebp
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x4cf380
jmp 0x4cf499
push eax
lea ecx, [esp + 0x60]
push str.getnameinfo___failed._Error:__d_n
push ecx
call fcn.004fc0ed
add esp, 0xc
lea edx, [esp + 0x5c]
push edx
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4cf239
mov edi, eax
mov eax, dword [0x5a74cc]
test eax, eax
jne 0x4cf4bc
push 2
call fcn.004ce3c0
mov dword [0x5a74cc], eax
push edi
call eax
jmp 0x4cf239
push eax
mov eax, dword [esi + 0x34]
push eax
lea ecx, [esp + 0x64]
push str.getaddrinfo__s__NULL__...__failed__rc___d_n
push ecx
call fcn.004fc0ed
add esp, 0x10
lea edx, [esp + 0x5c]
push edx
call ebx
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x4cf4f0
push eax
call fcn.004ce600
mov eax, 0xffffffe0
jmp 0x4cf245