Function at 0x10026929
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
mov eax, dword [0x1009d350]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebx]
or dword [ecx], 0xffffffff
mov dword [ebp - 0xdc], ecx
lea ecx, [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0xc4]
push ecx
push eax
xor esi, esi
push ebx
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xd4], edi
call fcn.1002614f
add esp, 0x10
mov dword [ebp - 0xd0], eax
test eax, eax
jne 0x10026bed
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.100268d0
add esp, 0xc
test eax, eax
jne 0x100269e3
call fcn.10051619
mov esi, eax
call fcn.10051619
push dword [esi]
mov edi, eax
push ebx
call fcn.10031aa6
push eax
push dword [edi]
mov edi, dword [ebp - 0xd4]
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push edi
call fcn.10025321
mov esi, dword [ebp - 0xc8]
add esp, 0x18
jmp 0x10026ad6
lea eax, [ebp - 0x34]
push eax
push str.__Trying__s..._n
push edi
call fcn.100253dd
xor eax, eax
add esp, 0xc
inc eax
cmp dword [ebp - 0xc4], 2
jne 0x10026a28
cmp dword [ebp - 0xc0], eax
jne 0x10026a28
cmp dword [edi + 0x42c], esi
mov esi, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
je 0x10026a34
push esi
push ebx
call fcn.10026209
pop ecx
pop ecx
jmp 0x10026a34
mov dword [ebp - 0xcc], esi
mov esi, dword [ebp - 0xc8]
push esi
call fcn.100260c5
cmp dword [ebp - 0xcc], 0
pop ecx
je 0x10026a56
cmp dword [edi + 0x574], 0
je 0x10026a56
push esi
push edi
call fcn.10026bfe
pop ecx
pop ecx
mov eax, dword [edi + 0x1e8]
test eax, eax
je 0x10026a7d
push 0
push esi
push dword [edi + 0x1ec]
call eax
add esp, 0xc
cmp eax, 2
jne 0x10026ac8
mov dword [ebp - 0xd8], 1
cmp dword [ebp - 0xc4], 2
jne 0x10026aea
lea eax, [ebp - 0xb4]
push eax
call fcn.10006055
push eax
push dword [ebp - 0xc4]
push esi
push ebx
call fcn.100264e1
mov edi, eax
add esp, 0x14
mov dword [ebp - 0xd0], edi
test edi, edi
je 0x10026aea
push esi
push ebx
call fcn.10025a4d
pop ecx
pop ecx
push 7
pop eax
cmp edi, 1
cmove edi, eax
mov eax, edi
jmp 0x10026bef
test eax, eax
je 0x10026a7d
mov dword [ebp - 0xcc], 0x2a
push esi
push ebx
call fcn.10025a4d
mov eax, dword [ebp - 0xcc]
pop ecx
pop ecx
jmp 0x10026bef
push 1
push esi
call fcn.10043b54
lea eax, [ebp - 0xf0]
push eax
call fcn.1001c850
lea edi, [ebx + 0x450]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
cmp dword [ebx + 0x460], 1
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xd4]
jle 0x10026b33
push 3
push dword [ebx + 0x46c]
push dword [ebx + 0x468]
push edi
call fcn.10018af7
add esp, 0x10
cmp dword [ebp - 0xd8], 0
jne 0x10026bdf
cmp dword [ebx + 0x94], 1
jne 0x10026bdf
mov esi, dword [ebp - 0xc8]
xor eax, eax
cmp dword [ebx + 0x438], eax
jne 0x10026b76
push dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x10026bcb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0xd0], eax
cmp eax, 0xb
je 0x10026bc7
cmp eax, 0x2732
jle 0x10026b95
cmp eax, 0x2734
jle 0x10026bc7
push eax
push ebx
call fcn.10031aa6
push eax
lea eax, [ebp - 0x34]
push eax
push str.Immediate_connect_fail_for__s:__s_n
push edi
call fcn.100253dd
mov eax, dword [ebp - 0xd0]
push esi
push ebx
mov dword [edi + 0x47e4], eax
call fcn.10025a4d
add esp, 0x20
push 7
pop eax
jmp 0x10026bef
xor eax, eax
jmp 0x10026bd1
mov eax, dword [ebp - 0xd0]
test eax, eax
jne 0x10026bef
mov ecx, dword [ebp - 0xdc]
mov dword [ecx], esi
jmp 0x10026bef
mov ecx, dword [ebp - 0xdc]
mov esi, dword [ebp - 0xc8]
mov dword [ecx], esi
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004bbda
leave
ret