Function at 0x448e80
Capabilities:
Connect socket

Disassembly:
sub esp, 0xac
mov eax, dword [0x4dfb64]
xor eax, esp
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xb4]
push ebp
mov ebp, dword [esp + 0xb4]
push esi
push edi
mov edi, dword [ebp]
xor esi, esi
mov dword [ecx], 0xffffffff
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x24], edx
mov dword [edx], esi
lea edx, [esp + 0x28]
push edx
push eax
push ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], edi
call fcn.00448da0
add esp, 0x10
cmp eax, esi
jne 0x449176
push ebx
lea edi, [ebp + 0x9e]
lea ebx, [ebp + 0xcc]
lea esi, [esp + 0x38]
call fcn.00448a80
test eax, eax
jne 0x448f2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebp
call fcn.0044c400
push eax
mov eax, dword [esp + 0x1c]
push esi
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push eax
call fcn.00448030
mov ecx, dword [esp + 0x34]
push ecx
push ebp
call fcn.00448d50
add esp, 0x20
jmp 0x449173
lea eax, [ebp + 0x40]
mov esi, edi
mov edi, eax
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
mov esi, dword [esp + 0x14]
push str.__Trying__s..._n
push esi
call fcn.00447fa0
push ebp
call fcn.00448a20
mov ebx, dword [esp + 0x2c]
add esp, 0x10
cmp dword [esi + 0x314], 0
je 0x448f6e
mov edx, ebx
mov edi, ebp
call fcn.00448c20
push ebx
call fcn.00448c80
add esp, 4
cmp dword [esi + 0x408], 0
je 0x448f8d
mov edi, dword [esp + 0x10]
mov esi, ebx
call fcn.00448470
mov esi, edi
mov eax, dword [esi + 0x16c]
test eax, eax
je 0x448fc1
mov edx, dword [esi + 0x170]
push 0
push ebx
push edx
call eax
add esp, 0xc
cmp eax, 2
mov dword [esp + 0x14], eax
jne 0x448fb9
mov dword [esp + 0x18], 1
jmp 0x448fc1
test eax, eax
jne 0x449105
mov eax, dword [esp + 0x28]
push eax
push ebx
push ebp
call fcn.004485e0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x448fe7
push ebx
push ebp
call fcn.00448d50
add esp, 8
mov eax, edi
jmp 0x449175
push 1
push ebx
call fcn.00462bd0
add esp, 8
cmp dword [esp + 0x18], 0
jne 0x44909d
cmp dword [ebp + 0x74], 1
jne 0x44909d
mov ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x3c]
push edx
push ebx
call dword [sym.imp.WS2_32.dll_connect]
mov edi, eax
cmp edi, 0xffffffff
jne 0x449029
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x14], eax
call fcn.0044d0d0
cmp dword [ebp + 0x20c], 1
mov dword [ebp + 0x204], eax
mov dword [ebp + 0x208], edx
jle 0x449053
mov eax, dword [ebp + 0x210]
push eax
push esi
call fcn.0044c8f0
add esp, 8
cmp edi, 0xffffffff
jne 0x449116
mov eax, dword [esp + 0x14]
cmp eax, 0xb
je 0x4490ec
cmp eax, 0x2732
jle 0x449077
cmp eax, 0x2734
jle 0x4490ec
push eax
push ebp
call fcn.0044c400
push eax
lea eax, [ebp + 0x40]
push eax
push str.Failed_to_connect_to__s:__s
push esi
call fcn.00448030
mov ecx, dword [esp + 0x2c]
add esp, 0x18
mov dword [esi + 0x858c], ecx
jmp 0x4490a5
xor edi, edi
cmp dword [esp + 0x18], edi
jne 0x4490c2
push ebx
lea esi, [esp + 0x18]
call fcn.004489b0
add esp, 4
test edi, edi
jne 0x44912c
test eax, eax
je 0x449145
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
push str.connected_n
push esi
mov dword [eax], 1
call fcn.00447fa0
push ebx
push ebp
call fcn.00448ac0
mov ecx, dword [esp + 0x30]
add esp, 0x10
mov dword [ecx], ebx
jmp 0x449173
mov eax, dword [esp + 0xc8]
push ebp
mov edi, ebx
call fcn.00448570
mov edi, eax
add esp, 4
cmp edi, 3
jne 0x449116
push ebx
push ebp
call fcn.00448d50
add esp, 8
mov eax, 0x2a
jmp 0x449175
cmp edi, 1
jne 0x4490a5
cmp dword [esi + 0x540], 2
jne 0x4490a5
mov edx, dword [esp + 0x20]
mov dword [edx], ebx
jmp 0x449173
cmp edi, 1
jne 0x449145
mov edx, dword [esp + 0x10]
push str.Timeout_n
push edx
call fcn.00447fa0
add esp, 8
jmp 0x449169
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
push eax
push ebp
mov dword [esi + 0x858c], eax
call fcn.0044c400
push eax
push 0x4b66f4
push esi
call fcn.00447fa0
add esp, 0x14
push ebx
push ebp
call fcn.00448d50
add esp, 8
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0048b5ab
add esp, 0xac
ret