Function at 0x100e2d10
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e8
mov eax, dword [0x102beb54]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
add eax, 0x10a
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebx + eax*4]
mov byte [ebp - 0x1c6], 0
mov edi, dword [ebx]
mov dword [ebp - 0x1d8], eax
mov dword [eax], 0xffffffff
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x1cc], edi
push eax
push ecx
push ebx
call fcn.100e2120
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100e30a9
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x1b4]
push eax
call fcn.100e15f0
add esp, 0x10
test al, al
jne 0x100e2dee
call fcn.1020d7b8
mov esi, dword [eax]
call fcn.1020d7b8
mov edi, eax
lea eax, [ebp - 0x134]
push 0x100
push eax
push esi
call fcn.100fee90
push eax
push dword [edi]
mov eax, dword [ebp - 0x1cc]
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push eax
call fcn.100bdbb0
push dword [ebp - 0x1d4]
push ebx
call fcn.100e1690
add esp, 0x24
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x1d0]
lea eax, [ebp - 0x34]
push eax
push str.__Trying__s:_ld..._n
push edi
call fcn.100bdc90
mov eax, dword [ebp - 0x1c4]
add esp, 0x10
mov edi, dword [ebp - 0x1d4]
cmp eax, 2
je 0x100e2e1c
cmp eax, 0x17
jne 0x100e2e47
cmp dword [ebp - 0x1c0], 1
jne 0x100e2e47
mov eax, dword [ebp - 0x1cc]
mov byte [ebp - 0x1c5], 1
cmp byte [eax + 0xb3f], 0
je 0x100e2e4e
push edi
push ebx
call fcn.100e31a0
add esp, 8
jmp 0x100e2e4e
mov byte [ebp - 0x1c5], 0
push edi
call fcn.100e2080
mov eax, dword [ebp - 0x1cc]
add esp, 4
cmp byte [ebp - 0x1c5], 0
je 0x100e2e7f
cmp byte [eax + 0xb47], 0
je 0x100e2e7f
push edi
push eax
call fcn.100e30c0
mov eax, dword [ebp - 0x1cc]
add esp, 8
cmp dword [eax + 0x608], 0
je 0x100e2ed0
push 1
push eax
call fcn.100d5c30
mov eax, dword [ebp - 0x1cc]
push 0
push edi
push dword [eax + 0x60c]
mov eax, dword [eax + 0x608]
call eax
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1cc]
push 0
push eax
call fcn.100d5c30
mov eax, dword [ebp - 0x1d0]
add esp, 0x1c
cmp eax, 2
jne 0x100e2f2b
mov byte [ebp - 0x1c6], 1
mov eax, dword [ebp - 0x1c4]
cmp eax, 2
je 0x100e2ee0
cmp eax, 0x17
jne 0x100e2f4f
lea eax, [ebp - 0x1b4]
push eax
call fcn.101009a0
push eax
push dword [ebp - 0x1c4]
push edi
push ebx
call fcn.100e2600
mov esi, eax
add esp, 0x14
test esi, esi
je 0x100e2f4f
push edi
push ebx
call fcn.100e1690
add esp, 8
mov eax, 7
cmp esi, 1
cmove esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x100e2ed0
push edi
push ebx
call fcn.100e1690
add esp, 8
mov eax, 0x2a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret
push 1
push edi
call fcn.101019d0
lea eax, [ebp - 0x1e8]
push eax
call fcn.100d9e40
add esp, 0xc
cmp dword [ebx + 0x540], 1
movups xmm0, xmmword [eax]
movups xmmword [ebx + 0x530], xmm0
jle 0x100e2fae
push 3
push dword [ebx + 0x54c]
push dword [ebx + 0x548]
push dword [ebp - 0x1cc]
call fcn.100d53d0
push 4
push dword [ebx + 0x554]
push dword [ebx + 0x550]
push dword [ebp - 0x1cc]
call fcn.100d53d0
add esp, 0x20
cmp byte [ebp - 0x1c6], 0
jne 0x100e309f
cmp dword [ebx + 0x2f8], 4
je 0x100e309f
cmp byte [ebx + 0x521], 0
jne 0x100e300d
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x1b4]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x100e300d
test esi, esi
jne 0x100e308c
mov eax, dword [ebp - 0x1d8]
mov dword [eax], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x1d0], eax
cmp eax, 0xb
je 0x100e3082
cmp eax, 0x2732
jle 0x100e302c
cmp eax, 0x2734
jle 0x100e3082
push 0x100
lea ecx, [ebp - 0x134]
push ecx
push eax
call fcn.100fee90
mov esi, dword [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x34]
push eax
push str.Immediate_connect_fail_for__s:__s_n
push esi
call fcn.100bdc90
mov eax, dword [ebp - 0x1d0]
push edi
push ebx
mov dword [esi + 0xd8c], eax
call fcn.100e1690
add esp, 0x24
mov esi, 7
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1d8]
xor esi, esi
mov dword [eax], edi
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1d8]
mov dword [eax], edi
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101e95a5
mov esp, ebp
pop ebp
ret