Function at 0x100a60c0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x101025ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xd0], ecx
mov byte [ebp - 0xc5], 0
mov ebx, dword [edi]
mov dword [ecx], 0xffffffff
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0xc4]
push ecx
push eax
push edi
call fcn.100a5820
add esp, 0x10
test eax, eax
je 0x100a6121
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002f7bd
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.100a6060
add esp, 0xc
test al, al
jne 0x100a617e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push edi
call fcn.100b0630
push eax
push esi
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.100a4b40
push dword [ebp - 0xcc]
push edi
call fcn.100a5120
add esp, 0x20
xor eax, eax
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002f7bd
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x34]
push eax
push str.__Trying__s..._n
push ebx
call fcn.100a4be0
mov esi, dword [ebp - 0xcc]
add esp, 0xc
cmp byte [ebx + 0x2e6], 0
je 0x100a61a9
push esi
push edi
call fcn.100a6450
add esp, 8
push esi
call fcn.100a5710
add esp, 4
cmp byte [ebx + 0x3dc], 0
je 0x100a61c5
push esi
push ebx
call fcn.100a6370
add esp, 8
mov eax, dword [ebx + 0x198]
test eax, eax
je 0x100a61e9
push 0
push esi
push dword [ebx + 0x19c]
call eax
add esp, 0xc
cmp eax, 2
jne 0x100a622c
mov byte [ebp - 0xc5], 1
push dword [ebp - 0xc4]
push esi
push edi
call fcn.100a5b70
add esp, 0xc
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x100a6250
push esi
push edi
call fcn.100a5120
mov eax, dword [ebp - 0xcc]
add esp, 8
xor ecx, ecx
cmp eax, 1
cmove eax, ecx
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002f7bd
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x100a61e9
push esi
push edi
call fcn.100a5120
add esp, 8
mov eax, 0x2a
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002f7bd
mov esp, ebp
pop ebp
ret
push 1
push esi
call fcn.100c40d0
add esp, 8
call fcn.1009d040
cmp dword [edi + 0x1e4], 1
mov dword [edi + 0x1dc], eax
mov dword [edi + 0x1e0], edx
jle 0x100a6284
push dword [edi + 0x1e8]
push ebx
call fcn.100997b0
add esp, 8
cmp byte [ebp - 0xc5], 0
jne 0x100a6353
cmp dword [edi + 0x8c], 1
jne 0x100a6353
push dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x100a6334
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0xcc], eax
cmp eax, 0xb
je 0x100a6319
cmp eax, 0x2732
jle 0x100a62d6
cmp eax, 0x2734
jle 0x100a6319
push eax
push edi
call fcn.100b0630
push eax
lea eax, [ebp - 0x34]
push eax
push str.Immediate_connect_fail_for__s:__s_n
push ebx
call fcn.100a4be0
mov eax, dword [ebp - 0xcc]
push esi
push edi
mov dword [ebx + 0x8574], eax
call fcn.100a5120
add esp, 0x20
mov eax, 7
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002f7bd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xd0]
xor eax, eax
mov dword [ecx], esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002f7bd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xcc]
mov dword [ecx], esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002f7bd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xd0]
xor eax, eax
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.1002f7bd
mov esp, ebp
pop ebp
ret