Function at 0x10074aa0
Capabilities:
Connect socket

Disassembly:
sub esp, 0x1e4
mov eax, dword [0x1010607c]
xor eax, esp
mov dword [esp + 0x1e0], eax
mov eax, dword [esp + 0x1f4]
mov ecx, dword [esp + 0x1f0]
push ebx
mov ebx, dword [esp + 0x1ec]
push ebp
mov ebp, dword [esp + 0x1f4]
lea eax, [eax*4 + 0x150]
add eax, ebp
mov byte [esp + 0xb], 0
push edi
mov dword [esp + 0x18], eax
mov dword [eax], 0xffffffff
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
push ecx
push ebx
call fcn.100740f0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10074d8f
push esi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xc4]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x4c]
push eax
call fcn.100734e0
add esp, 0x10
test al, al
jne 0x10074b6f
call fcn.100bcf67
mov esi, eax
call fcn.100bcf67
mov edi, eax
lea eax, [esp + 0xf0]
push 0x100
push eax
push dword [esi]
call fcn.10084a90
push eax
push dword [edi]
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.10072c50
push dword [esp + 0x34]
push ebp
push ebx
call fcn.10073570
add esp, 0x28
jmp 0x10074d8c
push dword [esp + 0x14]
lea eax, [esp + 0xc4]
push eax
push str.__Trying__s:_d..._n
push ebx
call fcn.10072d10
mov eax, dword [esp + 0x40]
add esp, 0x10
cmp eax, 2
je 0x10074b97
cmp eax, 0x17
jne 0x10074ba2
cmp dword [esp + 0x34], 1
jne 0x10074ba2
mov al, 1
jmp 0x10074ba4
xor al, al
mov esi, dword [esp + 0x18]
mov byte [esp + 0x12], al
test al, al
je 0x10074bc3
cmp byte [ebx + 0x717], 0
je 0x10074bc3
push esi
push ebx
call fcn.10074ea0
add esp, 8
push esi
call fcn.10074050
add esp, 4
cmp byte [esp + 0x12], 0
je 0x10074be6
cmp byte [ebx + 0x720], 0
je 0x10074be6
push esi
push ebx
call fcn.10074db0
add esp, 8
cmp dword [ebx + 0x1b8], 0
je 0x10074c25
push 1
push ebx
call fcn.10064540
mov eax, dword [ebx + 0x1b8]
push 0
push esi
push dword [ebx + 0x1bc]
call eax
push 0
push ebx
mov dword [esp + 0x30], eax
call fcn.10064540
mov eax, dword [esp + 0x30]
add esp, 0x1c
cmp eax, 2
jne 0x10074c6f
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x30]
cmp eax, 2
je 0x10074c33
cmp eax, 0x17
jne 0x10074c88
lea eax, [esp + 0x40]
push eax
call fcn.1009eb10
push eax
push dword [esp + 0x38]
push esi
push ebx
call fcn.10074440
mov edi, eax
add esp, 0x14
test edi, edi
je 0x10074c88
push esi
push ebp
push ebx
call fcn.10073570
add esp, 0xc
mov eax, 7
cmp edi, 1
cmove edi, eax
mov eax, edi
jmp 0x10074d8e
test eax, eax
je 0x10074c25
push esi
push ebp
push ebx
call fcn.10073570
add esp, 0xc
mov eax, 0x2a
jmp 0x10074d8e
push 1
push esi
call fcn.1009eba0
lea eax, [esp + 0x28]
push eax
call fcn.1007a0e0
add esp, 0xc
cmp dword [ebp + 0x26c], 1
movups xmm0, xmmword [eax]
movups xmmword [ebp + 0x270], xmm0
jle 0x10074cdb
push 3
push dword [ebp + 0x284]
push dword [ebp + 0x280]
push ebx
call fcn.10064050
push 4
push dword [ebp + 0x28c]
push dword [ebp + 0x288]
push ebx
call fcn.10064050
add esp, 0x20
cmp byte [esp + 0x13], 0
jne 0x10074d86
cmp dword [ebp + 0x58], 4
je 0x10074d86
cmp byte [ebp + 0x262], 0
jne 0x10074d1c
push dword [esp + 0x3c]
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x10074d1c
test edi, edi
jne 0x10074d82
mov eax, dword [esp + 0x1c]
mov dword [eax], esi
mov eax, edi
jmp 0x10074d8e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0xb
je 0x10074d7a
cmp edi, 0x2732
jle 0x10074d39
cmp edi, 0x2734
jle 0x10074d7a
push 0x100
lea eax, [esp + 0xf4]
push eax
push edi
call fcn.10084a90
push eax
lea eax, [esp + 0xd0]
push eax
push str.Immediate_connect_fail_for__s:__s_n
push ebx
call fcn.10072d10
push esi
push ebp
push ebx
mov dword [ebx + 0x964], edi
call fcn.10073570
mov edi, 7
add esp, 0x28
mov eax, edi
jmp 0x10074d8e
mov eax, dword [esp + 0x1c]
xor edi, edi
mov dword [eax], esi
mov eax, edi
jmp 0x10074d8e
mov eax, dword [esp + 0x1c]
mov dword [eax], esi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1ec]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.100ab558
add esp, 0x1e4
ret