Function at 0x41e0c0
Capabilities:
Connect socket

Disassembly:
sub esp, 0x1e0
mov eax, dword [0x4780c0]
xor eax, esp
mov dword [esp + 0x1dc], eax
mov eax, dword [esp + 0x1f0]
mov ecx, dword [esp + 0x1ec]
push ebx
mov ebx, dword [esp + 0x1e8]
push ebp
mov ebp, dword [esp + 0x1f0]
lea eax, [eax*4 + 0x150]
add eax, ebp
mov byte [esp + 0xa], 0
push edi
mov dword [esp + 0x14], eax
mov dword [eax], 0xffffffff
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
push eax
push ecx
push ebx
call fcn.0041d7a0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x41e3d3
movzx eax, word [esp + 0x38]
push esi
sub eax, 2
jne 0x41e37f
push 0x2e
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x48]
push eax
push 2
call fcn.00432fc0
add esp, 0x10
test eax, eax
je 0x41e37f
push dword [esp + 0x3e]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
lea eax, [esp + 0xc0]
push eax
push str.__Trying__s:_d...
push ebx
call fcn.0041c3c0
add esp, 0x10
cmp dword [esp + 0x2c], 2
jne 0x41e190
cmp dword [esp + 0x30], 1
jne 0x41e190
lea eax, [edi + 1]
jmp 0x41e192
xor eax, eax
mov esi, dword [esp + 0x14]
test eax, eax
setne al
mov byte [esp + 0x13], al
test al, al
je 0x41e1b6
cmp byte [ebx + 0x712], 0
je 0x41e1b6
push esi
push ebx
call fcn.0041e4e0
add esp, 8
push esi
call fcn.0041d700
add esp, 4
cmp byte [esp + 0x13], 0
je 0x41e1d9
cmp byte [ebx + 0x71b], 0
je 0x41e1d9
push esi
push ebx
call fcn.0041e3f0
add esp, 8
cmp dword [ebx + 0x1b8], 0
je 0x41e218
push 1
push ebx
call fcn.00410110
mov eax, dword [ebx + 0x1b8]
push 0
push esi
push dword [ebx + 0x1bc]
call eax
push 0
push ebx
mov dword [esp + 0x30], eax
call fcn.00410110
mov eax, dword [esp + 0x30]
add esp, 0x1c
cmp eax, 2
jne 0x41e25b
mov byte [esp + 0x12], 1
cmp dword [esp + 0x2c], 2
jne 0x41e274
lea eax, [esp + 0x3c]
push eax
call fcn.00405ec0
push eax
push dword [esp + 0x34]
push esi
push ebx
call fcn.0041daf0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x41e274
push esi
push ebp
push ebx
call fcn.0041cbc0
add esp, 0xc
mov eax, 7
cmp edi, 1
cmove edi, eax
mov eax, edi
jmp 0x41e3d2
test eax, eax
je 0x41e218
push esi
push ebp
push ebx
call fcn.0041cbc0
add esp, 0xc
mov eax, 0x2a
jmp 0x41e3d2
push 1
push esi
call fcn.00432f90
lea eax, [esp + 0x24]
push eax
call fcn.004226f0
add esp, 0xc
cmp dword [ebp + 0x274], 1
movdqu xmm0, xmmword [eax]
movdqu xmmword [ebp + 0x278], xmm0
jle 0x41e2c9
push 3
push dword [ebp + 0x28c]
push dword [ebp + 0x288]
push ebx
call fcn.0040fbf0
push 4
push dword [ebp + 0x294]
push dword [ebp + 0x290]
push ebx
call fcn.0040fbf0
add esp, 0x20
cmp byte [esp + 0x12], 0
jne 0x41e377
cmp dword [ebp + 0x58], 4
je 0x41e377
cmp byte [ebp + 0x26d], 0
jne 0x41e30d
push dword [esp + 0x38]
lea eax, [esp + 0x40]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x41e30d
test edi, edi
jne 0x41e373
mov eax, dword [esp + 0x18]
mov dword [eax], esi
mov eax, edi
jmp 0x41e3d2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0xb
je 0x41e36b
cmp edi, 0x2732
jle 0x41e32a
cmp edi, 0x2734
jle 0x41e36b
push 0x100
lea eax, [esp + 0xf0]
push eax
push edi
call fcn.00432380
push eax
lea eax, [esp + 0xcc]
push eax
push str.Immediate_connect_fail_for__s:__s
push ebx
call fcn.0041c3c0
push esi
push ebp
push ebx
mov dword [ebx + 0x954], edi
call fcn.0041cbc0
mov edi, 7
add esp, 0x28
mov eax, edi
jmp 0x41e3d2
mov eax, dword [esp + 0x18]
xor edi, edi
mov dword [eax], esi
mov eax, edi
jmp 0x41e3d2
mov eax, dword [esp + 0x18]
mov dword [eax], esi
jmp 0x41e3d0
mov byte [esp + 0xbc], 0
call fcn.0044387c
mov dword [eax], 0x273f
call fcn.0044387c
mov esi, eax
call fcn.0044387c
mov edi, eax
lea eax, [esp + 0xec]
push 0x100
push eax
push dword [esi]
call fcn.00432380
push eax
push dword [edi]
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.0041c2f0
push dword [esp + 0x30]
push ebp
push ebx
call fcn.0041cbc0
add esp, 0x28
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1e8]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043a7f3
add esp, 0x1e0
ret