Function at 0x100c0830
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x1014bb94]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x9c], 0
mov ebx, dword [edi]
mov dword [edx], 0xffffffff
mov dword [eax], 0
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x94]
push eax
push ecx
push edi
call fcn.100bff90
add esp, 0x10
test eax, eax
jne 0x100c0ab5
lea eax, [edi + 0xcc]
push eax
lea esi, [edi + 0x9e]
lea eax, [ebp - 0x84]
push esi
push eax
call fcn.100c07d0
add esp, 0xc
test eax, eax
jne 0x100c08ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push edi
call fcn.100cb2b0
push eax
push esi
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.100bf260
push dword [ebp - 0x98]
push edi
call fcn.100bf8c0
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [esi]
mov eax, dword [esi + 0x28]
lea ecx, [edi + 0x40]
push ecx
movups xmmword [ecx], xmm0
push str.__Trying__s..._n
movups xmm0, xmmword [esi + 0x10]
push ebx
movups xmmword [ecx + 0x10], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [ecx + 0x20], xmm0
mov dword [ecx + 0x28], eax
mov ax, word [esi + 0x2c]
mov word [ecx + 0x2c], ax
call fcn.100bf300
push edi
call fcn.100bfde0
mov esi, dword [ebp - 0x98]
add esp, 0x10
cmp dword [ebx + 0x33c], 0
je 0x100c0946
push esi
push edi
call fcn.100c0bb0
add esp, 8
push esi
call fcn.100bfea0
add esp, 4
cmp dword [ebx + 0x438], 0
je 0x100c0962
push esi
push ebx
call fcn.100c0ad0
add esp, 8
mov eax, dword [ebx + 0x1a0]
test eax, eax
je 0x100c0989
push 0
push esi
push dword [ebx + 0x1a4]
call eax
add esp, 0xc
cmp eax, 2
jne 0x100c09cd
mov dword [ebp - 0x9c], 1
push dword [ebp - 0x94]
push esi
push edi
call fcn.100c02b0
add esp, 0xc
mov dword [ebp - 0x98], eax
test eax, eax
je 0x100c09f1
push esi
push edi
call fcn.100bf8c0
mov eax, dword [ebp - 0x98]
add esp, 8
cmp eax, 1
je 0x100c0ab5
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x100c0989
push esi
push edi
call fcn.100bf8c0
add esp, 8
mov eax, 0x2a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret
push 1
push esi
call fcn.100de9c0
add esp, 8
call fcn.100b7100
cmp dword [edi + 0x210], 1
mov dword [edi + 0x208], eax
mov dword [edi + 0x20c], edx
jle 0x100c0a25
push dword [edi + 0x214]
push ebx
call fcn.100b3360
add esp, 8
cmp dword [ebp - 0x9c], 0
jne 0x100c0aad
cmp dword [edi + 0x74], 1
jne 0x100c0aad
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x100c0aad
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
mov dword [ebp - 0x9c], eax
sub ecx, 0xb
je 0x100c0aad
sub ecx, 0x2728
je 0x100c0aad
sub ecx, 1
je 0x100c0aad
push eax
push edi
call fcn.100cb2b0
push eax
lea eax, [edi + 0x40]
push eax
push str.Failed_to_connect_to__s:__s
push ebx
call fcn.100bf260
mov eax, dword [ebp - 0x9c]
push esi
push edi
mov dword [ebx + 0x85bc], eax
call fcn.100bf8c0
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xa0]
mov dword [eax], esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret