Function at 0x445e40
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ebx
lea edx, [ebp - 8]
sub esp, 0xa4
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x54], 0x607c20
mov dword [ebp - 0x4c], edx
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x44], esp
mov dword [ebp - 0x50], 0x60ee6a
mov dword [ebp - 0x48], 0x446386
mov dword [esp], edx
call fcn.004cf190
mov ecx, dword [ebp - 0x70]
mov eax, dword [ecx + 0x88]
mov byte [ecx + 0x1ac], 0
mov edx, dword [eax + 0xc]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ecx]
mov dword [esp], eax
mov dword [ebp - 0x68], 0xffffffff
call dword [sym.imp.WS2_32.dll_connect]
sub esp, 0xc
cmp eax, 0xffffffff
je 0x445f70
cmp dword [0x612504], 3
jg 0x445ee0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x70], 0x2748
mov byte [eax + 0x1ac], 1
lea eax, [ebp - 0x6c]
mov dword [esp], eax
call fcn.004cf200
mov eax, dword [ebp - 0x70]
mov ebx, dword [ebp - 4]
leave
ret
test byte [0x74abf1], 0x40
je 0x445ebb
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x20]
mov edx, dword [ecx + 0x88]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [ebp - 0x68], 0xffffffff
call fcn.00444f20
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x18], eax
mov ecx, dword [ebp - 0x70]
mov eax, dword [ecx]
mov dword [esp + 0x10], str._Connected_to_sockfd__d:__s
mov dword [esp + 0xc], 0x3b2
mov dword [esp + 8], str.network_socket.cxx
mov dword [esp + 4], str.connect
mov dword [esp], 4
mov dword [esp + 0x14], eax
mov dword [ebp - 0x68], 6
call fcn.0042c140
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
cmp eax, edx
je 0x445ebb
mov dword [esp], eax
call fcn.00606c40
jmp 0x445ebb
mov eax, dword [sym.imp.msvcrt.dll__errno]
mov dword [ebp - 0x74], eax
call eax
mov edx, dword [eax]
test edx, edx
jne 0x446060
cmp dword [0x612504], 3
jle 0x445f96
test byte [0x74abf1], 0x40
jne 0x445fc0
mov eax, dword [ebp - 0x70]
mov byte [eax + 0x1ac], 1
mov dword [ebp - 0x68], 0xffffffff
mov eax, dword [ebp - 0x74]
call eax
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
jmp 0x445ecc
mov dword [ebp - 0x68], 0xffffffff
mov eax, dword [ebp - 0x74]
call eax
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x20]
mov edx, dword [ecx + 0x88]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00444f20
mov eax, dword [ebp - 0x7c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x18], eax
mov ecx, dword [ebp - 0x70]
mov eax, dword [ecx]
mov dword [esp + 0x10], str.Connected_to_sockfd__d:__s_:__s
mov dword [esp + 0xc], 0x3a3
mov dword [esp + 8], str.network_socket.cxx
mov dword [esp + 4], str.connect
mov dword [esp], 4
mov dword [esp + 0x14], eax
mov dword [ebp - 0x68], 1
call fcn.0042c140
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
cmp eax, edx
je 0x445f96
mov dword [esp], eax
call fcn.00606c40
jmp 0x445f96
mov eax, dword [ebp - 0x74]
call eax
cmp dword [eax], 0x2748
je 0x445f84
mov dword [ebp - 0x68], 0xffffffff
mov eax, dword [ebp - 0x74]
call eax
cmp dword [eax], 0x2733
je 0x446230
mov dword [ebp - 0x68], 0xffffffff
mov eax, dword [ebp - 0x74]
call eax
cmp dword [eax], 0x2734
je 0x446230
mov eax, dword [ebp - 0x74]
call eax
cmp dword [eax], 0x2735
je 0x446230
mov eax, dword [0x612504]
test eax, eax
jle 0x4460c8
test byte [0x74abf1], 0x40
jne 0x4462e8
lea ebx, [ebp - 0x30]
mov dword [esp], 0x20
call fcn.00606e10
mov dword [ebp - 0x38], ebx
lea ebx, [ebp - 0x38]
mov dword [ebp - 0x78], eax
mov dword [esp + 4], 0x63ad73
mov dword [esp], 0x63ad6c
mov ecx, ebx
mov dword [ebp - 0x68], 4
call fcn.00443f80
sub esp, 8
mov dword [ebp - 0x68], 5
mov ebx, dword [ebp - 0x74]
call ebx
mov eax, dword [eax]
mov ecx, dword [ebp - 0x78]
mov dword [ecx], 0x7427f8
mov dword [ecx + 4], eax
mov dword [esp], eax
mov dword [ebp - 0x68], 7
call sub.msvcrt.dll_strerror
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x38]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00443f80
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x1c]
sub esp, 8
cmp eax, 1
jbe 0x4463af
lea ecx, [ebp - 0x20]
mov dword [esp + 4], 2
mov dword [esp], 0x63ac2f
mov dword [ebp - 0x68], 8
call fcn.005defe0
mov ecx, dword [ebp - 0x70]
sub esp, 8
mov dword [ebp - 0x74], eax
mov dword [esp], ecx
call sub.msvcrt.dll_strlen
mov ebx, dword [ebp - 0x74]
mov edx, 0x7fffffff
sub edx, dword [ebx + 4]
cmp eax, edx
ja 0x4463a3
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x68], 8
call fcn.005defe0
mov ebx, dword [ebp - 0x78]
sub esp, 8
mov edx, ebx
mov ecx, ebx
add edx, 0x10
add ecx, 8
mov dword [ebx + 8], edx
mov ebx, dword [eax + 4]
mov edx, dword [eax]
add ebx, edx
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.00443f80
mov eax, dword [ebp - 0x20]
lea ebx, [ebp - 0x18]
sub esp, 8
cmp eax, ebx
je 0x4461f3
mov dword [esp], eax
call fcn.00606c40
mov eax, dword [ebp - 0x38]
lea ebx, [ebp - 0x30]
cmp eax, ebx
je 0x446205
mov dword [esp], eax
call fcn.00606c40
mov dword [esp + 8], 0x52a2b0
mov dword [esp + 4], 0x73db40
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
mov dword [ebp - 0x68], 0xffffffff
call fcn.00607a50
mov esi, esi
lea edi, [edi]
cmp dword [0x612504], 3
jle 0x445fa0
test byte [0x74abf1], 0x40
je 0x445fa0
mov dword [ebp - 0x68], 0xffffffff
mov eax, dword [ebp - 0x74]
call eax
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
call ebx
mov ecx, dword [ebp - 0x70]
mov ebx, dword [eax]
lea eax, [ebp - 0x20]
mov edx, dword [ecx + 0x88]
mov dword [ebp - 0x80], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00444f20
mov eax, dword [ebp - 0x7c]
mov dword [esp + 0x1c], eax
mov ebx, dword [ebp - 0x80]
mov dword [esp + 0x18], ebx
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x10], str.Connect_attempt_to__s_:__d___s
mov dword [esp + 0xc], 0x3aa
mov dword [esp + 8], str.network_socket.cxx
mov dword [esp + 4], str.connect
mov dword [esp + 0x14], eax
mov dword [esp], 4
mov dword [ebp - 0x68], 2
call fcn.0042c140
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
cmp eax, edx
je 0x445fa0
mov dword [esp], eax
call fcn.00606c40
jmp 0x445fa0
mov dword [ebp - 0x68], 0xffffffff
mov eax, dword [ebp - 0x74]
call eax
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
call ebx
mov ecx, dword [ebp - 0x70]
mov ebx, dword [eax]
lea eax, [ebp - 0x20]
mov edx, dword [ecx + 0x88]
mov dword [ebp - 0x80], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00444f20
mov eax, dword [ebp - 0x7c]
mov dword [esp + 0x1c], eax
mov ebx, dword [ebp - 0x80]
mov dword [esp + 0x18], ebx
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x10], str.Connect_to__s_failed:__d___s
mov dword [esp + 0xc], 0x3af
mov dword [esp + 8], str.network_socket.cxx
mov dword [esp + 4], str.connect
mov dword [esp + 0x14], eax
mov dword [esp], 1
mov dword [ebp - 0x68], 3
call fcn.0042c140
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
cmp eax, edx
je 0x4460c8
mov dword [esp], eax
call fcn.00606c40
jmp 0x4460c8
mov dword [esp], 0x63ac1a
call fcn.005fec50
mov dword [esp], 0x63ac1a
mov dword [ebp - 0x68], 8
call fcn.005fec50
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
cmp eax, edx
je 0x4463d4
mov dword [esp], eax
call fcn.00606c40
mov ecx, dword [ebp - 0x78]
call fcn.005fcb10
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x30]
cmp eax, edx
je 0x4463ee
mov dword [esp], eax
call fcn.00606c40
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call fcn.00607340
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
mov dword [ebp - 0x68], 0xffffffff
call fcn.004cf4a0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
cmp eax, edx
je 0x44641d
mov dword [esp], eax
call fcn.00606c40
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
mov dword [ebp - 0x68], 0xffffffff
call fcn.004cf4a0
ud2