Function at 0x4d27a0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b69e9
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x148
mov eax, dword [0x68ddfc]
xor eax, ebp
mov dword [ebp - 0x34], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14c], ecx
mov eax, dword [ebp + 0x1c]
mov byte [eax], 0
mov ecx, dword [ebp - 0x14c]
mov dword [ecx + 0x138], 0
mov edx, dword [ebp + 0x18]
mov byte [edx], 0
mov ecx, dword [ebp - 0x14c]
add ecx, 0x110
call fcn.00428dc0
cmp dword [ebp + 8], 0
jne 0x4d2834
mov eax, dword [ebp - 0x14c]
mov dword [eax + 0x138], 1
push 0x619db4
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
call eax
xor al, al
jmp 0x4d340b
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0042a970
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00428790
push 0x618741
push 0x619dd8
lea ecx, [ebp - 0x70]
call fcn.0042bc20
push 0x618742
push 0x619de0
lea ecx, [ebp - 0x70]
call fcn.0042bc20
push 0x2f
lea ecx, [ebp - 0x70]
call fcn.0042dbe0
lea ecx, [ebp - 0x70]
call fcn.004b8460
test eax, eax
jne 0x4d28cc
mov edx, dword [ebp - 0x14c]
mov dword [edx + 0x138], 1
push 0x619dec
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
call eax
mov byte [ebp - 0x13d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0042b2a0
mov al, byte [ebp - 0x13d]
jmp 0x4d340b
push 0x619e14
lea ecx, [ebp - 0x70]
call fcn.0042e430
movzx ecx, al
test ecx, ecx
je 0x4d2903
push 0x619e20
mov ecx, dword [ebp - 0x14c]
add ecx, 0x110
call fcn.0042da10
push 0x619e2c
lea ecx, [ebp - 0x70]
call fcn.0042da10
movzx edx, byte [0x685afc]
test edx, edx
je 0x4d291a
mov eax, dword [ebp + 0x10]
push eax
call fcn.004cffb0
add esp, 4
lea ecx, [ebp - 0xc0]
call fcn.0042aed0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.00429d20
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xc4], 0
push 0x20
push 0
lea edx, [ebp - 0x98]
push edx
call fcn.00592d80
add esp, 0xc
mov dword [ebp - 0x98], 8
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 1
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x70]
call fcn.004f3d80
push eax
push 2
call fcn.004d3430
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x4d29c8
push str.This_is_an_IPV4_numeric_address...
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0x94], 2
mov eax, dword [ebp - 0x98]
or eax, 4
mov dword [ebp - 0x98], eax
jmp 0x4d2a7c
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004f3d80
push eax
push 0x17
call fcn.004d3430
add esp, 0xc
movzx edx, al
test edx, edx
je 0x4d2a13
push str.This_is_an_IPV6_numeric_address...
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x94], 0x17
mov ecx, dword [ebp - 0x98]
or ecx, 4
mov dword [ebp - 0x98], ecx
jmp 0x4d2a7c
lea ecx, [ebp - 0x70]
call fcn.004f3d80
push eax
push str.connectingTo
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0x2c]
call edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14c]
call fcn.004d1c20
mov byte [ebp - 0x13e], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.0042b2a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0042b2a0
mov al, byte [ebp - 0x13e]
jmp 0x4d340b
cmp dword [0x692f10], 0
jne 0x4d2ad3
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14c]
call fcn.004d1c20
mov byte [ebp - 0x13f], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.0042b2a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0042b2a0
mov al, byte [ebp - 0x13f]
jmp 0x4d340b
cmp dword [ebp + 0x14], 0
je 0x4d2aef
lea ecx, [ebp - 0x70]
call fcn.004f3d80
push eax
push 0x619e90
mov ecx, dword [ebp + 0x14]
call fcn.0045c3a0
mov byte [ebp - 0x76], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc0]
call fcn.004f3d80
mov dword [ebp - 0x150], eax
lea ecx, [ebp - 0x70]
call fcn.004f3d80
mov dword [ebp - 0x154], eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x98]
push edx
mov eax, dword [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
call dword [0x692f10]
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x1c], edx
jmp 0x4d2b57
mov dword [ebp - 4], 1
movzx eax, byte [ebp - 0x76]
test eax, eax
je 0x4d2c15
push str.Failed_to_get_host_address_info.__8_
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
call eax
lea ecx, [ebp - 0x70]
call fcn.004f3d80
push eax
push 0x619ec8
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x2c]
call eax
lea ecx, [ebp - 0xc0]
call fcn.004f3d80
push eax
push 0x619ed8
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x2c]
call eax
push 0x619ee0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14c]
call fcn.004d1c20
mov byte [ebp - 0x140], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.0042b2a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0042b2a0
mov al, byte [ebp - 0x140]
jmp 0x4d340b
cmp dword [ebp - 0x1c], 0
je 0x4d2cfa
push str.Failed_to_get_host_address_info.__1_
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
call eax
push 0x619f28
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
call eax
push 0x619f78
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004d0b50
add esp, 4
lea ecx, [ebp - 0x70]
call fcn.004f3d80
push eax
push 0x619fec
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0x2c]
call edx
lea ecx, [ebp - 0xc0]
call fcn.004f3d80
push eax
push 0x619ffc
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x2c]
call eax
push str.reverting_to_gethostbyname...
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14c]
call fcn.004d1c20
mov byte [ebp - 0x141], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.0042b2a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0042b2a0
mov al, byte [ebp - 0x141]
jmp 0x4d340b
cmp dword [ebp - 0x20], 0
je 0x4d2e3f
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x14c]
call fcn.004d25f0
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x14c]
call fcn.004d2700
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jne 0x4d2d4a
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14c]
call fcn.004d2750
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jne 0x4d2d5c
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xc4], ecx
mov edx, dword [ebp - 0xc4]
cmp dword [edx + 4], 2
jne 0x4d2d7c
push str.Connect_using_IPV4.
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
call eax
jmp 0x4d2d8e
push str.Connect_using_IPV6.
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0xcc], 0
mov ecx, dword [ebp - 0xc4]
cmp dword [ecx + 4], 2
jne 0x4d2dc4
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
add ecx, 4
mov dword [ebp - 0xcc], ecx
jmp 0x4d2de2
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
add ecx, 8
mov dword [ebp - 0xcc], ecx
mov ecx, dword [ebp - 0x14c]
add ecx, 0x110
call fcn.00428dc0
mov edx, dword [ebp - 0x14c]
add edx, 0x110
push edx
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ecx + 4]
push edx
call fcn.004cef90
add esp, 0xc
mov ecx, dword [ebp - 0x14c]
add ecx, 0x110
call fcn.004f3d80
push eax
push str.ipAddress1
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x2c]
call eax
jmp 0x4d2e9e
push str.Failed_to_get_host_address_info.__5_
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.004d3480
add esp, 8
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 0x1c]
mov byte [eax], 1
mov byte [ebp - 0x142], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.0042b2a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0042b2a0
mov al, byte [ebp - 0x142]
jmp 0x4d340b
push 1
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc4]
push edx
mov ecx, dword [ebp - 0x14c]
call fcn.004d0400
mov byte [ebp - 0x29], al
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x4d2ed0
mov ecx, dword [ebp - 0x14c]
cmp dword [ecx + 0xa4], 0xffffffff
jne 0x4d2f39
mov edx, dword [ebp - 0x14c]
mov dword [edx + 0x138], 5
push str.Cannot_connect__invalid_socket__2_
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.004d3480
add esp, 8
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x143], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.0042b2a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0042b2a0
mov al, byte [ebp - 0x143]
jmp 0x4d340b
mov eax, dword [ebp - 0x14c]
cmp dword [eax + 0x104], 0
je 0x4d2f53
mov ecx, dword [ebp - 0x14c]
call fcn.004cfbf0
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ecx + 0x104]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x74], 0x64
call fcn.00441b20
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0x18], 0
je 0x4d2fb4
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x74]
jb 0x4d2fa9
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x74]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0x64
jae 0x4d2fa7
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x30], 0x64
jmp 0x4d2fb4
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x30], 0x64
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x75], 0
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 0xa4]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4d3050
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2733
je 0x4d3050
cmp dword [ebp - 0x24], 0x2726
jne 0x4d303f
lea ecx, [ebp - 0x70]
call fcn.004f3d80
push eax
push 0x61a0a4
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0x2c]
call edx
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 0xa4]
push ecx
push 0x61a0b4
mov ecx, dword [ebp + 0x10]
call fcn.00442cb0
mov edx, dword [ebp - 0x24]
push edx
push 0x61a0c4
mov ecx, dword [ebp + 0x10]
call fcn.00442c10
cmp dword [ebp - 0x28], 0
je 0x4d322b
cmp dword [ebp - 0x30], 0
je 0x4d322b
cmp dword [ebp - 0x24], 0x2733
jne 0x4d322b
lea eax, [ebp - 0xd5]
push eax
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xd6]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 1
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x14c]
call fcn.004d5170
mov byte [ebp - 0xd7], al
movzx edx, byte [ebp - 0xd7]
test edx, edx
je 0x4d318e
mov ecx, dword [ebp - 0x14c]
call fcn.004cfc30
mov eax, dword [ebp - 0x14c]
mov byte [eax + 0xa0], 1
lea ecx, [ebp - 0x100]
call fcn.0042aed0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x104]
push edx
lea eax, [ebp - 0x100]
push eax
mov ecx, dword [ebp - 0x14c]
call fcn.004d1230
lea ecx, [ebp - 0x100]
call fcn.004f3d80
push eax
push str.myIP_3
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x2c]
call eax
mov ecx, dword [ebp - 0x104]
push ecx
push str.myPort_3
mov ecx, dword [ebp + 0x10]
call fcn.00442c10
push str.connect_successful__2_
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0x18]
call edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004d3480
add esp, 8
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x144], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x100]
call fcn.0042b2a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.0042b2a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0042b2a0
mov al, byte [ebp - 0x144]
jmp 0x4d340b
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x4d3224
call fcn.00441b20
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x10c], 0x64
mov eax, dword [ebp - 0x108]
cmp eax, dword [ebp - 0xc8]
jbe 0x4d31cf
mov ecx, dword [ebp - 0x108]
sub ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x10c]
jbe 0x4d3224
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x10c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x3e8
jbe 0x4d3205
mov dword [ebp - 0x74], 0x3e8
push 0x3e8
call fcn.00441b10
add esp, 4
jmp 0x4d3216
mov dword [ebp - 0x74], 0x64
push 0x64
call fcn.00441b10
add esp, 4
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
jmp 0x4d2f74
mov byte [ebp - 0xd8], 1
mov edx, dword [ebp - 0x14c]
cmp dword [edx + 0x104], 0
je 0x4d3245
mov ecx, dword [ebp - 0x14c]
call fcn.004cfc30
cmp dword [ebp - 0x28], 0
jne 0x4d3343
mov eax, dword [ebp - 0x14c]
mov byte [eax + 0xa0], 1
mov ecx, dword [ebp - 0x14c]
add ecx, 0x10
call fcn.004db0f0
mov ecx, dword [ebp - 0x14c]
add ecx, 0x58
call fcn.004db0f0
lea ecx, [ebp - 0x138]
call fcn.0042aed0
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x13c]
push edx
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x14c]
call fcn.004d1230
lea ecx, [ebp - 0x138]
call fcn.004f3d80
push eax
push str.myIP_4
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x2c]
call eax
mov ecx, dword [ebp - 0x13c]
push ecx
push str.myPort_4
mov ecx, dword [ebp + 0x10]
call fcn.00442c10
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.004d3480
add esp, 8
mov dword [ebp - 0x20], 0
push str.connect_successful..
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
call eax
mov byte [ebp - 0x145], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
call fcn.0042b2a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.0042b2a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0042b2a0
mov al, byte [ebp - 0x145]
jmp 0x4d340b
movzx ecx, byte [ebp - 0x75]
test ecx, ecx
je 0x4d3377
mov edx, dword [ebp - 0x14c]
mov eax, dword [edx + 0x104]
push eax
push str.ConnectTimeoutMs__3
mov ecx, dword [ebp + 0x10]
call fcn.00442c10
mov ecx, dword [ebp - 0x14c]
mov dword [ecx + 0x138], 6
jmp 0x4d3387
mov edx, dword [ebp - 0x14c]
mov dword [edx + 0x138], 7
push str.Connect_function_failed..
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.004d0b80
add esp, 8
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004d3480
add esp, 8
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x146], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.0042b2a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0042b2a0
mov al, byte [ebp - 0x146]
jmp 0x4d340b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.0058f627
mov esp, ebp
pop ebp
ret 0x18