Function at 0x10073000
Capabilities:
Connect socket

Disassembly:
sub esp, 0xec
mov eax, dword [0x100c7070]
xor eax, esp
mov dword [esp + 0xe8], eax
mov ecx, dword [esp + 0xf8]
mov eax, dword [esp + 0xf4]
push ebx
mov ebx, dword [esp + 0xf4]
push ebp
push esi
push edi
mov esi, dword [ebx]
xor ebp, ebp
mov dword [esp + 0x20], ecx
mov dword [ecx], 0xffffffff
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], 0xffffffff
push ecx
push eax
push ebx
mov byte [esp + 0x23], 0
mov dword [esp + 0x24], esi
call fcn.10072660
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x100732cd
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10072f70
add esp, 0xc
test al, al
jne 0x100730c2
call fcn.10050937
mov esi, eax
call fcn.10050937
push dword [esi]
mov edi, eax
push ebx
call fcn.1006d960
push eax
push dword [edi]
mov eax, dword [esp + 0x24]
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push eax
call fcn.10071390
push dword [esp + 0x30]
push ebx
call fcn.10071d50
add esp, 0x20
jmp 0x100732cd
lea eax, [esp + 0xc8]
push eax
push str.__Trying__s..._n
push esi
call fcn.100714b0
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp eax, 2
je 0x100730e6
cmp eax, 0x17
jne 0x100730f1
cmp dword [esp + 0x3c], 1
jne 0x100730f1
mov al, 1
jmp 0x100730f3
xor al, al
mov esi, dword [esp + 0x18]
mov byte [esp + 0x12], al
test al, al
je 0x10073116
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x3a6], 0
je 0x10073116
push esi
push ebx
call fcn.10072750
add esp, 8
push esi
call fcn.100725c0
mov eax, dword [esp + 0x18]
add esp, 4
cmp byte [esp + 0x12], 0
je 0x10073141
cmp byte [eax + 0x4e0], 0
je 0x10073141
push esi
push eax
call fcn.100732f0
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [eax + 0x1d8]
test ecx, ecx
je 0x10073165
push 0
push esi
push dword [eax + 0x1dc]
call ecx
mov ebp, eax
add esp, 0xc
cmp ebp, 2
jne 0x100731ae
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x38]
cmp eax, 2
je 0x10073173
cmp eax, 0x17
jne 0x100731c6
lea eax, [esp + 0x48]
push eax
call fcn.1008eb70
push eax
push dword [esp + 0x40]
push esi
push ebx
call fcn.10072aa0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x100731c6
push esi
push ebx
call fcn.10071d50
add esp, 8
mov eax, 7
cmp edi, 1
cmove edi, eax
mov eax, edi
jmp 0x100732cf
test ebp, ebp
je 0x10073165
push esi
push ebx
call fcn.10071d50
add esp, 8
mov eax, 0x2a
jmp 0x100732cf
push 1
push esi
call fcn.1008ec00
lea eax, [esp + 0x30]
push eax
call fcn.1006eec0
add esp, 0xc
cmp dword [ebx + 0x3c0], 1
movups xmm0, xmmword [eax]
movups xmmword [ebx + 0x3b0], xmm0
jle 0x10073209
mov eax, dword [esp + 0x14]
push 3
push dword [ebx + 0x3cc]
push dword [ebx + 0x3c8]
push eax
call fcn.1006e260
add esp, 0x10
cmp byte [esp + 0x13], 0
jne 0x100732c7
cmp dword [ebx + 0x94], 1
jne 0x100732c7
cmp byte [ebx + 0x3aa], 0
jne 0x10073243
push dword [esp + 0x44]
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x1007324b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
cmp dword [esp + 0x38], 0x17
sete al
cmp dword [esp + 0x1c], 0xffffffff
mov byte [ebx + 0x397], al
jne 0x100732b9
cmp ebp, 0xb
je 0x100732ad
cmp ebp, 0x2732
jle 0x10073275
cmp ebp, 0x2734
jle 0x100732ad
push ebp
push ebx
call fcn.1006d960
mov edi, dword [esp + 0x1c]
push eax
lea eax, [esp + 0xd4]
push eax
push str.Immediate_connect_fail_for__s:__s_n
push edi
call fcn.100714b0
push esi
push ebx
mov dword [edi + 0x4744], ebp
call fcn.10071d50
mov edi, 7
add esp, 0x20
mov eax, edi
jmp 0x100732cf
mov eax, dword [esp + 0x20]
xor edi, edi
mov dword [eax], esi
mov eax, edi
jmp 0x100732cf
test edi, edi
jne 0x100732c3
mov eax, dword [esp + 0x20]
mov dword [eax], esi
mov eax, edi
jmp 0x100732cf
mov eax, dword [esp + 0x20]
mov dword [eax], esi
xor eax, eax
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10044baf
add esp, 0xec
ret