Function at 0x438950
Capabilities:
Connect socket
Get socket status
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a697a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e0
mov eax, dword [0x5015f0]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1bc], ecx
mov ecx, dword [ebp - 0x1bc]
call sym.MANAGER.exe_protected:_void___thiscall_WireTap::CoIoDescriptor::constructor_void_
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1bc]
mov dword [eax], vtable.WireTap::CoIoTcpDescriptor.0
cmp dword [ebp + 8], 0
je 0x4389ab
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c0], ecx
jmp 0x4389b5
mov dword [ebp - 0x1c0], 0x4b76d6
mov edx, dword [ebp - 0x1c0]
push edx
mov ecx, dword [ebp - 0x1bc]
add ecx, 0x30
call dword [0x4b0510]
mov byte [ebp - 4], 1
call sym.MANAGER.exe_public:_static_void___cdecl_WireTap::CoIoTcpDescriptor::init_void_
push 0x20
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.0041ce38
add esp, 0xc
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp + 0xc]
push ecx
push 0x4b76d8
lea edx, [ebp - 0x24]
push edx
call dword [0x4b07b4]
add esp, 0xc
movzx eax, byte [0x50420c]
test eax, eax
je 0x438a86
push 0x52
push 0x4b76dc
call sym.MANAGER.exe_public:_static_void___cdecl_WireTap::CoMsg::setModule_char_const___int_
add esp, 8
push sym.MANAGER.exe_public:_static_void___cdecl_WireTap::CoMsg::postDebug_char_const___char_const___char__
lea ecx, [ebp - 0x198]
call sym.MANAGER.exe_public:_void___thiscall_WireTap::CoMsgBuilder_0_::constructor_void____cdecl___char_const___char_const___char___
mov dword [ebp - 0x1c4], eax
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x1bc]
add ecx, 0x30
call dword [0x4b069c]
push eax
push str.Calling_getaddrinfo___s___s__.
mov eax, dword [ebp - 0x1c8]
push eax
call sym.MANAGER.exe_public:_void___cdecl_WireTap::CoMsgBuilder_0_::operator___char_const__
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x198]
call sym.MANAGER.exe_public_virtual:_void___thiscall_WireTap::CoMsgBuilder_0_::destructor_void_
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x1bc]
add ecx, 0x30
call dword [0x4b069c]
push eax
call dword [0x4b0a14]
test eax, eax
je 0x438abe
push 7
mov ecx, dword [ebp - 0x1bc]
call sym.MANAGER.exe_protected:_char_const____thiscall_WireTap::CoIoDescriptor::setLastError_enum_WireTap::CoIoDescriptor::IoError_
jmp 0x438ee1
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x48], ecx
jmp 0x438acf
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x438ed7
push 0
mov ecx, dword [ebp - 0x1bc]
call sym.MANAGER.exe_protected:_char_const____thiscall_WireTap::CoIoDescriptor::setLastError_enum_WireTap::CoIoDescriptor::IoError_
movzx ecx, byte [0x50420c]
test ecx, ecx
je 0x438c23
push 0x63
push 0x4b7730
call sym.MANAGER.exe_public:_static_void___cdecl_WireTap::CoMsg::setModule_char_const___int_
add esp, 8
push sym.MANAGER.exe_public:_static_void___cdecl_WireTap::CoMsg::postDebug_char_const___char_const___char__
lea ecx, [ebp - 0x1a0]
call sym.MANAGER.exe_public:_void___thiscall_WireTap::CoMsgBuilder_0_::constructor_void____cdecl___char_const___char_const___char___
mov dword [ebp - 0x1cc], eax
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 4]
push eax
push str.Trying_family__d_with_addr__len__d_:
mov ecx, dword [ebp - 0x1d0]
push ecx
call sym.MANAGER.exe_public:_void___cdecl_WireTap::CoMsgBuilder_0_::operator___char_const__
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a0]
call sym.MANAGER.exe_public_virtual:_void___thiscall_WireTap::CoMsgBuilder_0_::destructor_void_
lea ecx, [ebp - 0x68]
call dword [0x4b06b0]
mov byte [ebp - 4], 4
mov dword [ebp - 0x6c], 0
jmp 0x438b7a
mov edx, dword [ebp - 0x6c]
add edx, 1
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [eax + 0x10]
jae 0x438bb4
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x6c]
movzx edx, byte [eax + ecx]
push edx
push str._02x
lea eax, [ebp - 0x74]
push eax
call dword [0x4b07b4]
add esp, 0xc
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x68]
call dword [0x4b0518]
jmp 0x438b71
push 0x6b
push 0x4b7794
call sym.MANAGER.exe_public:_static_void___cdecl_WireTap::CoMsg::setModule_char_const___int_
add esp, 8
push sym.MANAGER.exe_public:_static_void___cdecl_WireTap::CoMsg::postDebug_char_const___char_const___char__
lea ecx, [ebp - 0x1a8]
call sym.MANAGER.exe_public:_void___thiscall_WireTap::CoMsgBuilder_0_::constructor_void____cdecl___char_const___char_const___char___
mov dword [ebp - 0x1d4], eax
mov edx, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call dword [0x4b069c]
push eax
push 0x4b77c8
mov eax, dword [ebp - 0x1d8]
push eax
call sym.MANAGER.exe_public:_void___cdecl_WireTap::CoMsgBuilder_0_::operator___char_const__
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a8]
call sym.MANAGER.exe_public_virtual:_void___thiscall_WireTap::CoMsgBuilder_0_::destructor_void_
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call dword [0x4b0504]
push 0
push 1
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 4]
push edx
call dword [0x4b0a18]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x438c4f
push 1
mov ecx, dword [ebp - 0x1bc]
call sym.MANAGER.exe_protected:_char_const____thiscall_WireTap::CoIoDescriptor::setLastError_enum_WireTap::CoIoDescriptor::IoError_
jmp 0x438ac6
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x1bc]
call sym.MANAGER.exe_protected:_void___thiscall_WireTap::CoIoDescriptor::setId_int_
push 1
mov ecx, dword [ebp - 0x1bc]
call sym.MANAGER.exe_protected:_void___thiscall_WireTap::CoIoTcpDescriptor::setNoDelaySocketOption_bool_
cmp dword [ebp + 0x10], 0
jle 0x438c80
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x1bc]
call sym.MANAGER.exe_protected:_void___thiscall_WireTap::CoIoDescriptor::setSendBufferSizeSocketOption_int_
cmp dword [ebp + 0x14], 0
jle 0x438c95
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp - 0x1bc]
call sym.MANAGER.exe_protected:_void___thiscall_WireTap::CoIoDescriptor::setReceiveBufferSizeSocketOption_int_
push 1
mov ecx, dword [ebp - 0x1bc]
call sym.MANAGER.exe_protected:_bool___thiscall_WireTap::CoIoTcpDescriptor::setNonBlocking_bool_
movzx eax, al
test eax, eax
jne 0x438cb9
mov ecx, dword [ebp - 0x1bc]
call sym.MANAGER.exe_public_virtual:_bool___thiscall_WireTap::CoIoDescriptor::close_void_
jmp 0x438ac6
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [0x4b0a1c]
test eax, eax
je 0x438e65
call dword [0x4b0a24]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0x1dc], 0x2733
je 0x438d03
jmp 0x438e43
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x190], 0
jmp 0x438d3b
mov edx, dword [ebp - 0x190]
add edx, 1
mov dword [ebp - 0x190], edx
mov eax, dword [ebp - 0x190]
cmp eax, dword [ebp - 0x184]
jae 0x438d5f
mov ecx, dword [ebp - 0x190]
mov edx, dword [ebp + ecx*4 - 0x180]
cmp edx, dword [ebp - 0x4c]
jne 0x438d5d
jmp 0x438d5f
jmp 0x438d2c
mov eax, dword [ebp - 0x190]
cmp eax, dword [ebp - 0x184]
jne 0x438d95
cmp dword [ebp - 0x184], 0x40
jae 0x438d95
mov ecx, dword [ebp - 0x190]
mov edx, dword [ebp - 0x4c]
mov dword [ebp + ecx*4 - 0x180], edx
mov eax, dword [ebp - 0x184]
add eax, 1
mov dword [ebp - 0x184], eax
xor ecx, ecx
jne 0x438d20
lea edx, [ebp - 0x18c]
push edx
push 0
lea eax, [ebp - 0x184]
push eax
push 0
push 0x40
call dword [0x4b0a28]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x438dd6
push 5
mov ecx, dword [ebp - 0x1bc]
call sym.MANAGER.exe_protected:_char_const____thiscall_WireTap::CoIoDescriptor::setLastError_enum_WireTap::CoIoDescriptor::IoError_
mov ecx, dword [ebp - 0x1bc]
call sym.MANAGER.exe_public_virtual:_bool___thiscall_WireTap::CoIoDescriptor::close_void_
jmp 0x438e41
push 0xa9
push 0x4b77cc
call sym.MANAGER.exe_public:_static_void___cdecl_WireTap::CoMsg::setModule_char_const___int_
add esp, 8
push sym.MANAGER.exe_public:_static_void___cdecl_WireTap::CoMsg::postDebug_char_const___char_const___char__
lea ecx, [ebp - 0x1b0]
call sym.MANAGER.exe_public:_void___thiscall_WireTap::CoMsgBuilder_0_::constructor_void____cdecl___char_const___char_const___char___
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x1e0]
mov dword [ebp - 0x1e4], ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1bc]
add ecx, 0x30
call dword [0x4b069c]
push eax
push str.Connected_to_host_:__s
mov edx, dword [ebp - 0x1e4]
push edx
call sym.MANAGER.exe_public:_void___cdecl_WireTap::CoMsgBuilder_0_::operator___char_const__
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1b0]
call sym.MANAGER.exe_public_virtual:_void___thiscall_WireTap::CoMsgBuilder_0_::destructor_void_
jmp 0x438e5b
push 1
mov ecx, dword [ebp - 0x1bc]
call sym.MANAGER.exe_protected:_char_const____thiscall_WireTap::CoIoDescriptor::setLastError_enum_WireTap::CoIoDescriptor::IoError_
mov ecx, dword [ebp - 0x1bc]
call sym.MANAGER.exe_public_virtual:_bool___thiscall_WireTap::CoIoDescriptor::close_void_
cmp dword [ebp - 0x78], 0
je 0x438e63
jmp 0x438ed7
jmp 0x438ed2
push 0xb5
push 0x4b7818
call sym.MANAGER.exe_public:_static_void___cdecl_WireTap::CoMsg::setModule_char_const___int_
add esp, 8
push sym.MANAGER.exe_public:_static_void___cdecl_WireTap::CoMsg::postDebug_char_const___char_const___char__
lea ecx, [ebp - 0x1b8]
call sym.MANAGER.exe_public:_void___thiscall_WireTap::CoMsgBuilder_0_::constructor_void____cdecl___char_const___char_const___char___
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1bc]
add ecx, 0x30
call dword [0x4b069c]
push eax
push str.Connected_to_host:__s
mov ecx, dword [ebp - 0x1ec]
push ecx
call sym.MANAGER.exe_public:_void___cdecl_WireTap::CoMsgBuilder_0_::operator___char_const__
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1b8]
call sym.MANAGER.exe_public_virtual:_void___thiscall_WireTap::CoMsgBuilder_0_::destructor_void_
jmp 0x438ed7
jmp 0x438ac6
mov edx, dword [ebp - 0x10]
push edx
call dword [0x4b0a20]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0041c9ce
mov esp, ebp
pop ebp
ret 0x14